Salesforce

How Do I Dynamically Define the Tab Order and Visibility for a Tab Control (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Dynamically Define the Tab Order and Visibility for a Tab Control (Magic xpa 4.x)

Tab Folder controls consist of two major parts:

  • The Items List, which is the actual variable value that will be stored when the tab is selected, and

  • The Display List, which is the value that shows to the end user.

However, these values are not easy to change dynamically when data is linked to one tab. Therefore, if you need to dynamically change the order of Tab folders, or change which ones display, there is a third property, the Visible Layers List property.

The Visible Layers List is a string of numbers. Each number corresponds to one entry in the Items or Display List. In this example, Name corresponds to item 1, while Phones corresponds to item 3.

Using this property you can easily define the visibility and order of the tabs.

See also

The Online and Rich Client Samples projects (program HG38 and RHG38)

Reference
Attachment 
Attachment