Dynamic page linking in Jitterbit App Builder
When you have a panel (whether it's a grid, form, or tile), you can make individual records in it link to different pages within the same app. For instance, if you have a panel that lists a user's tasks, and each task is completed in a different page, the links on each item have to be different. This can be accomplished through dynamic page linking, which works with lists, icon, and button controls. This page describes how to configure this behavior in App Builder.
Note
To dynamically link pages from different applications, there are two possible paths:
-
Manually configure the page(s) from the other app as Public/Shared, from each page's Edge Case settings.
-
Hard-code the pageID GUID as the Dynamic New Page value.
How to configure dynamic page linking
-
Generate the panel (Grid, Form, or Tile) that will display the dynamic links. Don't build out the List control yet.
-
For the source table used by the desired panel, add an additional column for LinkToPage and define the Data Type storage as Unique ID/UUID.
- Alternatively, you could add the LinkToPage column to an intermediary table. In this example, we are showing the user task instances assigned to them. There is a table of template tasks (for example, Task) so that each task type on a given panel can be associated with a different one, and a join can be used to relate each task instance to the appropriate page.
-
Generate a configuration panel to manage the links in your configuration area:
-
Build a grid using the Source business object that references the PK and the new LinkToPage columns. In this case we use the Task table, which defines task types.
-
Use a List control for PK using your preferred Title.
-
Use a List control for LinkToPage and use the source App_Page_List with the key ControlId and the title Name.
Note
To do this, you must add App Builder (Sealed) as one of your application's data sources:
-
Go to Workbench > Data Sources.
-
Click + Source.
-
Select Link to existing source and click Next.
-
Select the App Builder data source, and click the Link 1 Source button.
-
Click Done.
-
-
-
Now, run the page that you built the configuration panel on. For each record, edit the LinkToPage value to reflect the desired target pages.
-
Once this is complete, go back to designing the page with the intended dynamic linking.
-
Create a List control that will create the dynamic link.
-
Set the Business Object and Title to a desired field containing the button's label.
-
In the Edge Case tab, open the Rare List Properties accordion and set the Dynamic Page (Column) to LinkToPage.
-
-
Test from the app's UI Layer. When configured correctly, each record will now target the configured page(s).