Data Adapter and Menu Component
Developers can create a Data Set using a Workspace Assembly or Business Rule to populate a Data Adapter that's used by Menu Component Items.
Data Table
The Data Table within a Data Adapter displays the Items and Relationships in your Menu Component.
Items
The Menu Component Data Adapter contains the following fields and displays them in a table format:
Field | Description |
UniqueName | Unique Id |
HeaderText | Menu Item Name (text that displays) |
Foreground | Foreground color of Menu Item (this displays the text color) |
Background | Background color of Menu Item (this displays the background color behind the text) |
IsBold | Determines if HeaderText is Bolded (True or False) |
IsItalic | Determines if HeaderText is Italicized (True or False) |
IsEnabled |
Determines if the Menu Item is selectable (True or False) NOTE: IsEnabled is different from IsVisible. When IsEnabled is False, the Menu Item will still be visible but you cannot select the item. isVisible determines if the Menu Component is visible. |
IsSeparator | Determines if the Menu Item is a Separator (True or False) |
Width | Width of menu item label |
Height | Height of menu item label |
PaddingLeft | Amount of padding added between the HeaderText and left border of the menu item |
PaddingTop | Amount of padding added between the HeaderText and top border of the menu item |
PaddingRight | Amount of padding added between the HeaderText and right border of the menu item |
PaddingBottom | Amount of padding added between the HeaderText and bottom border of the menu item |
ImageFileSourceType | Source of the Image such as Dashboard, File Explorer, and more |
ImageNameOrPath | Name of Image |
ImageColumnWidth | Amount of width added to the column of the image |
Tooltip | Displays text when hovering over the menu item |
ParameterValue | Parameter value of the menu item |
Relationships
-
ParentName: This is the name of the parent menu item of a menu item.
NOTE: Top-Level Menu Items will be blank or display Empty for the ParentName field.
-
ChildName: This is the name of the child menu item.
-
SortOrder: This number specifies the numerical order of the menu item in the parent-child relationship.
NOTE: The first menu item in the parent-child relationship will have a SortOrder value of 0.
To view the data of an existing Data Adapter, follow these steps:
-
Expand the Workspace > Maintenance Unit > Data Adapter node, and then select an existing Data Adapter.
-
Click the Test Data Adapter toolbar button.
-
If a Parameter dialog box appears, input valid arguments for the Parameters, then click the OK button.