Skuid Docs
    Skuid Docs
  • Concepts
  • Reference
  • Site Administration
  • Tutorials
  • Release Notes
v12.4.5
2
https://docs.skuid.com/v12.4.5/v2/en/
False
  • Concepts
    • Data
      • Authentication Providers and Data Sources
      • Authentication and Skuid
      • Callback URLs/Redirect URIs
      • Data Source Objects
      • Box
      • DocuSign
        • How to Add a Signer with a Custom Email in DocuSign
      • Google
        • Google Calendar
        • Google Drive
      • Marketo
      • Microsoft
        • Dynamics CRM
        • Excel
        • OneDrive
        • Outlook
        • Sharepoint
      • Salesforce
      • SAP
      • Slack
      • SQL
      • REST
        • REST API Use Case: Create, update and delete records from Oracle
        • URL Merge Condition Example
      • OData
        • Create, update, and delete records from SQL Server
      • Troubleshooting
    • Build
      • The App Composer
      • Pages
        • API Versioning in Skuid
        • Create and Customize Skuid Pages
        • Create a Master and Child Page
        • Page Revisions
        • Optimize Pages
        • Page Packs
        • Modules
        • Page Parameters
      • Models
        • Create and Configure Models
        • Model Conditions
          • Limit Records with a Subquery Condition
        • Model Actions
        • Include Child Fields in a Parent Object
        • Aggregate Models
          • Aggregations in Table and Chart Components
          • An Aggregation Case Study
        • Using Fields
          • UI-Only Fields and Models
            • UI-Only Field Use Cases
          • Field Metadata Overrides
      • Components
        • Layout
          • Accordion
          • Button Set
            • Create a Show/Hide Toggle Button
          • Masthead
          • Navigation
          • Responsive Grid
          • Search
          • Tab Container
          • Tab Set
          • Vertical Navigation
          • Wizard
            • Create a New Account Wizard
          • Wrapper
        • Data
          • Deck
          • File Upload
          • Filter Set
          • Form
          • Header
          • Image
            • Add a Record-Sensitive Image
          • List
          • Message Area
          • Table
            • Add Drawers to a Table
          • Text
        • Advanced
          • Chatter Feed
          • Page Include
        • Visualizations
          • Before You Chart
          • Chart
          • Geochart
          • Enhancing Charts with Actions
        • Component Accessories
          • Modals
            • Use a Modal to Create New Records
          • Sliding Panels
        • Display Logic
          • Create a Render Condition
      • Best Practices
        • Page Performance Guide
        • Skuid and Salesforce Lightning Performance Tips
        • One Save Button Per Page
        • Styling Best Practices
      • Debugging Skuid in the Console
      • Logic
        • Filters
          • Filter on Date Ranges
          • Filter on Numeric Ranges
          • Create a Selectable Filter
            • Use Select Option to Filter on Date Ranges
            • Use Select Option to Filter on a Number Range
            • Use Select Option with Builder-generated Options
            • Use Select Option with Multiple Conditions and Fields
          • Create a Toggle Filter
          • Filter by Related Objects
        • Action Framework
          • Actions Reference
            • Visual Navigation
            • Logic Actions
            • Model Conditions / Querying Actions
            • Model Data Changes Actions
            • Data Source Specific Actions
            • Advanced and Additional Actions
            • Geolocation Actions
            • Platform Actions
            • Native Mobile Actions
          • Action Sequences
            • Inputs How-To: Activate and Set a Condition and Requery Model
        • Merge Syntax
          • Global Merge Variables / Functions
          • Row Merge Variables
          • Data source Merge API Reference
    • Style
      • Design System Studio
        • Property Reference
      • Label Localization
    • Deploy
      • Salesforce Lightning
      • Salesforce Classic
        • skuid:page Visualforce component
        • Salesforce Dashboards
        • Force.com Sites
      • Page Assignments
      • Salesforce Communities
      • Sandboxes and Connected Orgs
      • License and Permission Assignments
      • ISV and Managed Packages
    • Extend
      • Skuid and Code
        • Skuid and Analytics
        • <no title>
      • <no title>
      • Skuid and Apex
        • Apex Triggers
        • Invocable Methods and the Apex Data Source Action
        • Remote Actions
        • Access Apex as a REST data source
        • Access Web Services using the AJAX Toolkit
      • Dynamic Creation of Models and Components
      • CI/CD with Skuid
      • <no title>
      • Automated Testing
        • Example Automated Test with Node.js, Selenium, and Jasmine
  • Reference
    • API Reference
      • skuid.debug
      • skuid.runtime
        • skuid.$
        • skuid.actions
        • skuid.ajax
        • skuid.builder.core
        • skuid.builder.core.coreProps
        • skuid.calendar
        • skuid.collaboration
        • skuid.component
        • skuid.componentType
        • skuid.events
        • skuid.formula
        • skuid.hotkeys
        • skuid.label
        • skuid.lightning
        • skuid.load
        • skuid.model
        • skuid.model.Model
        • skuid.mustache
        • skuid.page
        • skuid.sfdc
        • skuid.snippet
        • skuid.time
        • skuid.utils
        • skuid.version
        • Component-Specific APIs
        • Skuid Model Metadata Object
        • Skuid Model Child Relationship Metadata Object
        • Skuid Model Condition Metadata Object
        • Skuid Model Field Metadata Object
        • Skuid Model Record Type Metadata Object
    • Page XML API
    • skuid-sfdx
    • Skuid Metadata Object Reference
      • Authentication providers
      • Data sources
      • Design Systems
      • Files
      • Pages
      • Profiles
      • Sites
      • Themes
    • Skuid Glossary
    • Formula and Function Reference
    • Open Source Software Attributions
  • Site Administration
    • Install and Upgrade Skuid on Salesforce
      • Upgrading Skuid on Salesforce
    • Upgrading Skuid on Salesforce
    • Deprecated in Skuid
    • Supported Browsers
    • Using the Keyboard: Shortcuts, Hotkeys, and Accessibility
    • Skuid VPAT for v2
  • Tutorials
    • Skuid Page Tutorials
      • Add Related Lists with the Table Component
      • Build an Activities Related List Tab
      • Build a Custom “Create New Record” Page
      • Build a Custom Detail Page
      • Build a Custom List Page
      • Compose a Branded Header and Navigation
      • Compose a One-Page App Using Tab Actions and Conditional Rendering
      • Conditionally Display Fields
      • Create a Custom Clone Page
      • Create a Custom “Clone Account” page
      • Highlight Critical Data: Wrappers, Rich Text, and Ui-Only Fields
      • Mass Create Records
      • Show Products in an Opportunity Page
      • Skuid Pages for standard Salesforce CRM
    • Salesforce Tutorials
      • Add Product Line Items to Opportunities with a Popup
      • Add Gmail to Salesforce functionality in your email fields
      • Create a Custom Edit Page and Set Visualforce Overrides
      • Getting Help: Grant Skuid Login Rights to your Org
      • Reclaim the Salesforce Home Page
      • Redirect to Salesforce Processes
      • Skuid for Sales: A Turn-Key Template to Augment Lightning Sales Cloud
    • JavaScript Tutorials
      • Progress Indicator Component
      • Simple Map Component
      • Use a Snippet as a Filter Item Source to create “Dependent Filters”
      • Use Inline Javascript to Create a Slider Field Renderer
  • Legal terms and conditions
  • Skuid for Salesforce Evaluation Guide
    • Overview​
      • What Is Skuid?
      • What are the benefits of Skuid?
      • How does Skuid maximize my Salesforce investment?
      • When is Skuid a good fit?
      • When is Skuid not a good fit?
      • Who uses Skuid?
      • What do customers say about us?
      • What steps does Skuid take to ensure compatibility with future Salesforce releases?
    • Developing Apps with Skuid​
      • The Scalable Kit for User Interface Design (Skuid)
        • Models
        • UI components
        • The Action Framework
        • Display Logic
        • Event System
        • Design System Studio
        • Code Extension
      • The Salesforce Ecosystem​
        • Does Skuid work with Lightning?
        • Does Skuid work with Salesforce Communities?
        • Is Skuid compatible with other AppExchange apps?
        • What Salesforce products and services does Skuid support?
      • Mobile
    • App Lifecycle Management​
      • Can I build with Skuid in different production environments?
      • Can my entire team develop with Skuid?
      • How does Skuid fit into my company’s CI/CD practices?
      • Analytics​
        • Does Skuid work with my third-party analytics software?
        • Does Skuid work with Einstein Analytics?
        • Build your own analytics tracker with Skuid
    • Architecture​
      • Skuid on Salesforce Architecture
        • How does Skuid work?
        • How does Skuid get data and does Skuid consume API calls?
        • Is Skuid limited to one sObject or Record Type per page?
        • Does my Salesforce application have to be built completely from Skuid?
        • How does Skuid work with Salesforce Process automation and validation?
      • Lightning​
        • How do Skuid pages work in Lightning?
        • Where else in Lightning can I use Skuid?
        • Can I use Lightning components in Skuid pages?
      • Salesforce Classic​
        • How do Skuid pages work in Salesforce Classic?
        • Where else in Classic can I use Skuid?
        • What happens if I need to migrate to Lightning after building with Skuid in Classic?
    • Data​
      • Skuid and the Salesforce data model
      • Can Skuid Access…​
        • Objects?
        • Object Relationships?
        • Salesforce field types?
        • Custom settings?
        • Custom metadata?
        • Big Objects?
        • External Objects?
        • Other Salesforce Orgs?
    • Security​
      • Does Skuid store my Salesforce or third-party data?
      • How does Skuid work with Salesforce permission sets, sharing rules, field-level security, and profiles?
      • Does Skuid override Salesforce validation rules and error messages?
      • What security certifications does Skuid have?
    • Performance​
      • Does Skuid have data limits?
      • How can Skuid builders optimize for page performance?
  • Add Related Lists with the Table Component
    • Goal: Include a searchable table of related records with inline editing.
    • Step 1: Click Compose and open a detail page.
    • Step 2: Add a model on a related object.
    • Step 3: Choose the fields to include in the Cases Model.
    • Step 4: Add a Condition to include only records related to your primary page object.
      • Edit the Condition’s properties.
    • Step 5: Click Components and add a Table Component into the page.
    • Step 6: Add Fields from your Cases Model.
    • Step 7: Click Save, then click Preview to open your new page in a new tab.
      • Choose the Account whose Detail Page you want to preview.
    • Result: This page now has a table of related Cases.

In This Section

  • Concepts
    • Data
      • Authentication Providers and Data Sources
      • Authentication and Skuid
      • Callback URLs/Redirect URIs
      • Data Source Objects
      • Box
      • DocuSign
        • How to Add a Signer with a Custom Email in DocuSign
      • Google
        • Google Calendar
        • Google Drive
      • Marketo
      • Microsoft
        • Dynamics CRM
        • Excel
        • OneDrive
        • Outlook
        • Sharepoint
      • Salesforce
      • SAP
      • Slack
      • SQL
      • REST
        • REST API Use Case: Create, update and delete records from Oracle
        • URL Merge Condition Example
      • OData
        • Create, update, and delete records from SQL Server
      • Troubleshooting
    • Build
      • The App Composer
      • Pages
        • API Versioning in Skuid
        • Create and Customize Skuid Pages
        • Create a Master and Child Page
        • Page Revisions
        • Optimize Pages
        • Page Packs
        • Modules
        • Page Parameters
      • Models
        • Create and Configure Models
        • Model Conditions
          • Limit Records with a Subquery Condition
        • Model Actions
        • Include Child Fields in a Parent Object
        • Aggregate Models
          • Aggregations in Table and Chart Components
          • An Aggregation Case Study
        • Using Fields
          • UI-Only Fields and Models
            • UI-Only Field Use Cases
          • Field Metadata Overrides
      • Components
        • Layout
          • Accordion
          • Button Set
            • Create a Show/Hide Toggle Button
          • Masthead
          • Navigation
          • Responsive Grid
          • Search
          • Tab Container
          • Tab Set
          • Vertical Navigation
          • Wizard
            • Create a New Account Wizard
          • Wrapper
        • Data
          • Deck
          • File Upload
          • Filter Set
          • Form
          • Header
          • Image
            • Add a Record-Sensitive Image
          • List
          • Message Area
          • Table
            • Add Drawers to a Table
          • Text
        • Advanced
          • Chatter Feed
          • Page Include
        • Visualizations
          • Before You Chart
          • Chart
          • Geochart
          • Enhancing Charts with Actions
        • Component Accessories
          • Modals
            • Use a Modal to Create New Records
          • Sliding Panels
        • Display Logic
          • Create a Render Condition
      • Best Practices
        • Page Performance Guide
        • Skuid and Salesforce Lightning Performance Tips
        • One Save Button Per Page
        • Styling Best Practices
      • Debugging Skuid in the Console
      • Logic
        • Filters
          • Filter on Date Ranges
          • Filter on Numeric Ranges
          • Create a Selectable Filter
            • Use Select Option to Filter on Date Ranges
            • Use Select Option to Filter on a Number Range
            • Use Select Option with Builder-generated Options
            • Use Select Option with Multiple Conditions and Fields
          • Create a Toggle Filter
          • Filter by Related Objects
        • Action Framework
          • Actions Reference
            • Visual Navigation
            • Logic Actions
            • Model Conditions / Querying Actions
            • Model Data Changes Actions
            • Data Source Specific Actions
            • Advanced and Additional Actions
            • Geolocation Actions
            • Platform Actions
            • Native Mobile Actions
          • Action Sequences
            • Inputs How-To: Activate and Set a Condition and Requery Model
        • Merge Syntax
          • Global Merge Variables / Functions
          • Row Merge Variables
          • Data source Merge API Reference
    • Style
      • Design System Studio
        • Property Reference
      • Label Localization
    • Deploy
      • Salesforce Lightning
      • Salesforce Classic
        • skuid:page Visualforce component
        • Salesforce Dashboards
        • Force.com Sites
      • Page Assignments
      • Salesforce Communities
      • Sandboxes and Connected Orgs
      • License and Permission Assignments
      • ISV and Managed Packages
    • Extend
      • Skuid and Code
        • Skuid and Analytics
        • <no title>
      • <no title>
      • Skuid and Apex
        • Apex Triggers
        • Invocable Methods and the Apex Data Source Action
        • Remote Actions
        • Access Apex as a REST data source
        • Access Web Services using the AJAX Toolkit
      • Dynamic Creation of Models and Components
      • CI/CD with Skuid
      • <no title>
      • Automated Testing
        • Example Automated Test with Node.js, Selenium, and Jasmine
  • Reference
    • API Reference
      • skuid.debug
      • skuid.runtime
        • skuid.$
        • skuid.actions
        • skuid.ajax
        • skuid.builder.core
        • skuid.builder.core.coreProps
        • skuid.calendar
        • skuid.collaboration
        • skuid.component
        • skuid.componentType
        • skuid.events
        • skuid.formula
        • skuid.hotkeys
        • skuid.label
        • skuid.lightning
        • skuid.load
        • skuid.model
        • skuid.model.Model
        • skuid.mustache
        • skuid.page
        • skuid.sfdc
        • skuid.snippet
        • skuid.time
        • skuid.utils
        • skuid.version
        • Component-Specific APIs
        • Skuid Model Metadata Object
        • Skuid Model Child Relationship Metadata Object
        • Skuid Model Condition Metadata Object
        • Skuid Model Field Metadata Object
        • Skuid Model Record Type Metadata Object
    • Page XML API
    • skuid-sfdx
    • Skuid Metadata Object Reference
      • Authentication providers
      • Data sources
      • Design Systems
      • Files
      • Pages
      • Profiles
      • Sites
      • Themes
    • Skuid Glossary
    • Formula and Function Reference
    • Open Source Software Attributions
  • Site Administration
    • Install and Upgrade Skuid on Salesforce
      • Upgrading Skuid on Salesforce
    • Upgrading Skuid on Salesforce
    • Deprecated in Skuid
    • Supported Browsers
    • Using the Keyboard: Shortcuts, Hotkeys, and Accessibility
    • Skuid VPAT for v2
  • Tutorials
    • Skuid Page Tutorials
      • Add Related Lists with the Table Component
      • Build an Activities Related List Tab
      • Build a Custom “Create New Record” Page
      • Build a Custom Detail Page
      • Build a Custom List Page
      • Compose a Branded Header and Navigation
      • Compose a One-Page App Using Tab Actions and Conditional Rendering
      • Conditionally Display Fields
      • Create a Custom Clone Page
      • Create a Custom “Clone Account” page
      • Highlight Critical Data: Wrappers, Rich Text, and Ui-Only Fields
      • Mass Create Records
      • Show Products in an Opportunity Page
      • Skuid Pages for standard Salesforce CRM
    • Salesforce Tutorials
      • Add Product Line Items to Opportunities with a Popup
      • Add Gmail to Salesforce functionality in your email fields
      • Create a Custom Edit Page and Set Visualforce Overrides
      • Getting Help: Grant Skuid Login Rights to your Org
      • Reclaim the Salesforce Home Page
      • Redirect to Salesforce Processes
      • Skuid for Sales: A Turn-Key Template to Augment Lightning Sales Cloud
    • JavaScript Tutorials
      • Progress Indicator Component
      • Simple Map Component
      • Use a Snippet as a Filter Item Source to create “Dependent Filters”
      • Use Inline Javascript to Create a Slider Field Renderer
  • Legal terms and conditions
  • Skuid for Salesforce Evaluation Guide
    • Overview​
      • What Is Skuid?
      • What are the benefits of Skuid?
      • How does Skuid maximize my Salesforce investment?
      • When is Skuid a good fit?
      • When is Skuid not a good fit?
      • Who uses Skuid?
      • What do customers say about us?
      • What steps does Skuid take to ensure compatibility with future Salesforce releases?
    • Developing Apps with Skuid​
      • The Scalable Kit for User Interface Design (Skuid)
        • Models
        • UI components
        • The Action Framework
        • Display Logic
        • Event System
        • Design System Studio
        • Code Extension
      • The Salesforce Ecosystem​
        • Does Skuid work with Lightning?
        • Does Skuid work with Salesforce Communities?
        • Is Skuid compatible with other AppExchange apps?
        • What Salesforce products and services does Skuid support?
      • Mobile
    • App Lifecycle Management​
      • Can I build with Skuid in different production environments?
      • Can my entire team develop with Skuid?
      • How does Skuid fit into my company’s CI/CD practices?
      • Analytics​
        • Does Skuid work with my third-party analytics software?
        • Does Skuid work with Einstein Analytics?
        • Build your own analytics tracker with Skuid
    • Architecture​
      • Skuid on Salesforce Architecture
        • How does Skuid work?
        • How does Skuid get data and does Skuid consume API calls?
        • Is Skuid limited to one sObject or Record Type per page?
        • Does my Salesforce application have to be built completely from Skuid?
        • How does Skuid work with Salesforce Process automation and validation?
      • Lightning​
        • How do Skuid pages work in Lightning?
        • Where else in Lightning can I use Skuid?
        • Can I use Lightning components in Skuid pages?
      • Salesforce Classic​
        • How do Skuid pages work in Salesforce Classic?
        • Where else in Classic can I use Skuid?
        • What happens if I need to migrate to Lightning after building with Skuid in Classic?
    • Data​
      • Skuid and the Salesforce data model
      • Can Skuid Access…​
        • Objects?
        • Object Relationships?
        • Salesforce field types?
        • Custom settings?
        • Custom metadata?
        • Big Objects?
        • External Objects?
        • Other Salesforce Orgs?
    • Security​
      • Does Skuid store my Salesforce or third-party data?
      • How does Skuid work with Salesforce permission sets, sharing rules, field-level security, and profiles?
      • Does Skuid override Salesforce validation rules and error messages?
      • What security certifications does Skuid have?
    • Performance​
      • Does Skuid have data limits?
      • How can Skuid builders optimize for page performance?

In This Topic

  • Add Related Lists with the Table Component
    • Goal: Include a searchable table of related records with inline editing.
    • Step 1: Click Compose and open a detail page.
    • Step 2: Add a model on a related object.
    • Step 3: Choose the fields to include in the Cases Model.
    • Step 4: Add a Condition to include only records related to your primary page object.
      • Edit the Condition’s properties.
    • Step 5: Click Components and add a Table Component into the page.
    • Step 6: Add Fields from your Cases Model.
    • Step 7: Click Save, then click Preview to open your new page in a new tab.
      • Choose the Account whose Detail Page you want to preview.
    • Result: This page now has a table of related Cases.

Add Related Lists with the Table Component¶

This lesson shows you how to include related records (i.e. related lists) on a detail page using the Table Component.

Goal: Include a searchable table of related records with inline editing.¶

image0

Skuid tables are inline editable and searchable by default. You can also create custom filters to search a list of records with ease. This helps make your organization more productive because it reduces clicks: users will spend less time trying to find relevant information and more time interacting with it.

Step 1: Click Compose and open a detail page.¶

image1

In this tutorial, we’ll be working with the Account Detail page, but you can also use the Detail page for a Custom object. If you haven’t built a Detail page yet, check out the tutorial Build a Custom Detail Page for instructions.

  1. Click Compose to view the Pages list.
  2. Click on the page you want to open.

Note

You can use the filters at the top of the table to quickly find the page you’re looking for.

Step 2: Add a model on a related object.¶

image2

For this example we’re going to choose the Cases object, but you can choose any object that’s related to the main object on your page. For objects with many to many relationships, choose the junction object (e.g. AccountCaseAssociation__c). Check out the Opportunity Products tutorial for more information on this. (Note: You can also use include data from unrelated objects on the same page. Follow these same steps, but don’t add the condition in Step 4.)

  1. Click Models.
  2. Click to add a model.
  3. Name this model something useful to you (e.g. Cases).
  4. Start typing the object’s name in the SObject field and select it from the dropdown list.

Note

You can also set other Model properties, such as determining how to order records on this model and the max number of records which will be displayed on this page at one time.

Step 3: Choose the fields to include in the Cases Model.¶

image3

  1. Click Fields
  2. Check the fields you’d like to include in the Model (to be used with your Table – for this example we’ll use Case Number, Created Date, Status, and Subject)

Step 4: Add a Condition to include only records related to your primary page object.¶

image4

Note

If this object is unrelated to your main page object, you can skip this step.

  1. Click Conditions
  2. Click the [+] button to add a new Condition.

Edit the Condition’s properties.¶

image5

  1. For Field, choose the Salesforce Id field of the main page object. For standard objects, this will look like AccountId. For custom objects, it looks like ParentObject__c (the lookup field to the parent object).
  2. Click Value.
  3. For Content, choose Field from another model, and the Id field from your Parent Object model will automatically appear.

This condition will only pull in records related to the Account in the first row of the Account model. To create an Account model with only one row (that users specify) see Build a custom Detail page.

Note

If you use the Field from another model condition, your child model MUST come beneath your parent model within your Models panel, as illustrated in the above image.

Your models will load in the sequence in which they are arranged within your Models panel. Hence your child model condition will not have values to compare against unless your parent model loads comes first.

To avoid this, you may also use a URL parameter condition on your child object. Apply the condition to the parent object ID within your child object, and it will look very similar to the URL parameter condition on your parent object.

Step 5: Click Components and add a Table Component into the page.¶

image6

  1. Click Components
  2. Double click the Table Component (or drag and drop) to add it into the page below the Field Editor Component. (The orange strip lets you know where you can add components.)

Step 6: Add Fields from your Cases Model.¶

image7

  1. Make sure that the correct Model is selected. In this example, we want the Cases Model selected.
  2. Click the Add Field(s) button.
  3. Click Model Field(s).

image8

  1. Select the Fields you want to display in the Table.

    Note

    To add more fields to the model, click All Fields at the top of the popup.

  2. Click Apply.

Step 7: Click Save, then click Preview to open your new page in a new tab.¶

image9

Choose the Account whose Detail Page you want to preview.¶

image10

  1. Enter all or part of the name of the Account.
  2. Select the desired Account from the list. This Account’s Id field will be used to populate the Id URL Parameter when previewing our Account page.
  3. Click Go.

Result: This page now has a table of related Cases.¶

image11

  • Notice that you can easily search in this list and add, edit or delete records inline. Click on a Case Number to go to that Case’s page.
  • For more information about the table component, check out the component tutorial for Table and the Action Framework section on Action Trigger Areas.
  • Learn how to consolidate the Save actions on this page into one button.

Back to top

Last updated on Jul 07, 2022.

Documentation

  • Concepts
  • Reference
  • Site Administration
  • Tutorials
  • Release Notes

Resources

  • Skuid Skool
  • Community
  • Support
  • Contact
  • Skuid
Start building for free

© 2022 Skuid, Inc.

Terms of Use | Privacy Policy | Legal Terms and Conditions