Build a Custom List Page¶
Goal¶
For this tutorial, you’ll build a custom list page that will allow you to view, search, and edit a list of records. To do this, you’ll use a Salesforce Account object to populate a Table component in Skuid.
Example¶
This is an example page. Its data resets each time the page is loaded.
Concepts covered¶
This tutorial uses Skuid features to create a custom list page. For more information about these features, see the following:
Create a page¶
- From Pages, click Create. A modal appears.
- Give your page an appropriate name like AccountsList.
- Click Create. The Composer opens.
Create a model¶
Models allow you to pull data into your page from your data source’s existing objects.
Click the
Models tab.Click
Add Model.Enter the following model properties:
- Model ID: Account
- Data source type: Salesforce
- Data source: Current Salesforce Org
- Salesforce object name: Account
Choose fields¶
Click on Fields under your new model.
Check which fields you want to use for this page, including related objects and fields. For the Account list page, choose fields like:
Account Name
Account Description
OwnerID
Full NameNote
Clicking Adding related objects/entities to learn more.
allows you to access fields and records of related objects, like the account owner’s name for any given account. SeeWhatever else your users would expect to see in a list of accounts
Add components¶
Components are the building blocks that give your page its functionality.
To get started with components, click the
Component tab.Add a Header component¶
Under Data, click Header.
Drag and drop the Header component onto the canvas.
Set your Header component’s properties:
Model: Account
Title: {{Model.labelPlural}}
Note
This template ensures that the correct object name is displayed even if you change it in Salesforce later or translate the interface to other languages (in this case, Accounts will display).
Subtitle: List
Add a Table component¶
Under Data, click Table.
Drag and drop the Table component below the Header component.
Set your Table component’s properties:
- Model: Account
- Default mode: Read with inline-editing
- Show save and cancel buttons: Selected
Add fields to the Table¶
- Click the Table component in the canvas.
- Click Add fields. A dropdown appears.
- Click Model fields.
- Select the fields you want to add to the table. For this tutorial, add Account Name, Account Description, OwnerID Email.
- Click Apply.
Add search and sort to the Table¶
- Click the Table component in the canvas.
- In the Properties pane, select the Search tab.
- Check the box for Show search box.
- In the Properties pane, select the Sort tab.
- Check the box for Show Sort Builder.
Preview the page¶
- Click Save.
- Click Preview. The Accounts list page opens in a new tab.
Deploy the page¶
After you’ve previewed your page and ensured it’s working properly, it’s time to deploy it to your end users. See our deployment docs for more information.
Keep building¶
After you’ve created your custom list page, you can explore more advanced Table customization—like dynamically filtering data, adding actions, creating detail drawers, and more. Also, see Build a Custom Detail Page for more about creating pages for individual records.