SetVisibilityMyPreferences method: Banner class

Syntax

SetVisibilityMyPreferences(Visible)

Description

Use the SetVisibilityMyPreferences method to set the visibility of the My Preferences link in the Actions menu. This method is ignored and has no effect in any of the following conditions:

  • If the user does not have permission to perform the action or access the target.

  • If the component is rendered in a context that does not allow access to the fluid banner and Actions menu (that is, in an activity guide, in a modal window or in a modeless window, when executing as a grouplet request, or when executing as a component interface).

Note:

Because the PT_HEADERPAGE page also performs an operation equivalent to this method in its page Activate event, you should invoke this method after that event to ensure that your changes are not overwritten.

Parameters

Parameter Description

Visible

Specifies a Boolean value indicating whether the My Preferences link is visible.

Returns

None

Example

(create PT_PAGE_UTILS:Banner()).SetVisibilityMyPreferences( False);