Set up a [Tabs] layout element

PDF
Products
All Creatio products

Use Tabs layout elements to group Freedom UI elements by multiple criteria, for example, general record information, approvals, attachments, timeline, and feed.

Example. Add the Tabs layout element that includes tabs for request info, approvals, attachments, timeline, and feed to the request page. Add icons to tabs.

Fig. 1 Set up a Tabs layout element
  1. Drag a Tabs layout element to the canvas and open the element setup area.
  2. Modify the existing tabs. To do this:
    1. Click the title of a tab in the Tabs block.
    2. Enter “Request info” in the Title parameter. You can click the set_title_field_localization.png button to the right to localize the title to other languages you are going to use in the app. Learn more about localizing Freedom UI elements in a separate article: Localize a Freedom UI element.
    3. Click the Use icon toggle to add an icon to the tab.
    4. Select the icn_info_tab.png icon in the Icon parameter.
    5. Select whether to display the icon to the left or the right of the title in the Position parameter. For this example, leave the icon displayed to the left.
    6. View the unique tab code in the page schema in the Element code parameter. The parameter is populated automatically and non-editable.
    7. Repeat the steps for the Approvals tab. Add the icn_approvals.png icon to the tab.
  3. Add and set up new tabs. To do this:
    1. Click the scr_add_menu_item_button.png button to the right of the Tabs block title. This adds a tab and opens its setup area.
    2. Repeat the substeps b–f from the previous step for each tab. Name the tabs Attachments, Timeline, and Feed. Add icn_attachments.png, icn_timeline.png, and icn_feed.png icons to the tabs, respectively.
  4. Click the btn_visible.png or btn_not_visible.png button in the Visibility group to make the layout element visible or invisible by default on the page, respectively. For this example, leave the layout element visible.
  5. Click Setup conditions in the Visibility group to set up element business rules. For this example, do not add business rules. Learn more about setting up business rules in a separate article: Set up business rules.
  6. Select the tab panel style in the Style parameter. For this example, select “Partially colored.”
  7. Select the background colors of tabs and tab panel in the Tab panel colors parameter. For this example, leave the body color white, set the header to blue, and set the tab underline color to red.
  8. Select the color of tab titles in the Tab title color parameter. For this example, set the selected color to blue and unselected color to gray.
  9. View the unique tab code in the page schema in the Element code parameter. The parameter is populated automatically and non-editable.

As a result, Creatio will add the Tabs component that includes tabs for request info, approvals, attachments, timeline, and feed to the request page. The tabs will have icons to the left of titles.