Modifying the list control options

To modify the list control options, use the following steps:

  1. Right-click on the related list column header as shown in the following screenshot, and select Configure | List Control:
  1. This will bring us to the List Control New record form, where we can configure display properties, labels, and roles requirements for different controls available in the list. As shown in the following screenshot, the Related list field will be auto-populated with the sys_id of the related list added to the Booking Request form:
  1. Fill in the form with the following information and leave other fields unchanged:
    • Label: All booking request by same caller
    • Omit new button: Checked
    • Click on the button next to the Filter roles field, as shown in the following screenshot:
  1. This will open a modal window with a slush bucket list to select roles required in order to use the filter control. Bring in the admin role to the selected list, as shown in the following screenshot, and click on Done:
  1. Now, ensure that the form has been populated properly, as shown in the following screenshot, and click on the Submit button to create the list control:
  1. You will be brought back to the Booking Request record form. Scroll down to the bottom of the page to confirm that the New button is now hidden and the list has a new label, as was set in the List Control form. Furthermore, the advanced search filter will only be visible if you have the admin role:

Using the list control, we can modify different display settings of the related list that can prove useful when working on complex applications with tables having varying requirements. In our Travel Booking Application, we are already aware that we do not allow a new request to be opened by a user if there is already one in a pending or work in progress state.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.224.197