The list with tabs screen template is a no-code screen. It enables you to add tabs to your LFD (List from data source) detail view, similar to what you can find if you use our Directory Solution.
This article explains the steps required to add the tabs using the LFD settings.

This article assumes you understand how to create an LFD and configure the data view settings. For more support on configuring your LFD see here.

Get Started

  1. Add the screen template
  2. Add the tabs to the LFD
  3. Test the tabs

Step 1 – Add the screen template

  1. Add the “LFD with tabs” screen template to your app using the “Add screen” button
  2. Click on the LFD to open the settings on the right-hand side
  3. If you need to create the data, select view data source and update the sample data and click save changes
  4. If you already have a data source, select “change” and choose the relevant data source from the list

Step 2 – Add the tabs to the LFD

To add a tab with data inside your LFD detail view:

  1. Click your LFD and select “data view settings” from the settings panel on the right
  2. Scroll down to “Detail view fields”
  3. Each field that you want to display a tab in will require at least 4 data fields.
    1. The first item will be the list of tabs to add to the LFD
    2. The second will be the tab start
    3. Underneath the start tab as a third field, you can add the field name (or names) to add the data to a specific tab
    4. The fourth field will be the tab end.
    5. The below example demonstrates the list of tabs to show using comma-separated values {{{createTab "Contact, Background, Skills"}}} and the fields “Bio” and “Telephone” being added to the “Contact” tab:
      LFD Data view settings
  4. To add the tabs to your LFD select “Add new field” as required:
    Add 2 new fields
  5. Data field one will require the Field Name set to “Custom”, the Field type as “Plain text” and the Field label as “Column name as label”
  6. You will now see an additional “Custom field” option. Enter the following text, using comma-separated values update the words “Test” “Test 2” and “Test 3” to the name of the tabs that you want to display in the detailed view: {{{createTab "Test, Test 2, Test 3"}}} 
    1. Note: you can add as many tabs as you’d like but please be mindful of the space these tabs will take, especially on smaller screens.
  7. Data field two would be your first tab, this could be “Test” for example, please note that you need to add the exact word that was added to the “createTab” option on the start tab: {{{startTab "Test"}}} 
  8. Then add the data fields you wish to display on this tab, to learn more about the LFD and displaying data in the LFD see here.
  9. Repeat this step for the data fields you want to display inside a single tab. If you want to display multiple fields inside a tab, you should add an additional data field for each one and ensure they are inside the tab fields.
  10. The next data field is the end tab, this will require the Field Name set to “Custom”, the Field type as “Plain text” and the field label as “Column name as label”
  11. You will now see an additional “Custom field” option. Enter the following text, updating the word “Test” to the exact name of the tab, it needs to match the “startTab” option exactly: {{{endtTab "Test"}}}
  12. Repeat the above steps to add more tabs to your LFD.
  13. Click Save & Close

Step 3 – Test the tabs

  1. Click Preview in the top right corner
  2. Click on an LFD item to test
  3. The detail view should open
  4. Check if your data is inside the relevant tabs, if you have multiple tabs click on each one individually. 
Was this article helpful?