Loading...

We're setting up your new app...

Template

Deep links

How to link between different parts of an app

Industry: n/a
Function: Other
This app shows how to use AppSheet's deep link functions. Deep links are used to create a link from one part of your app to another part. In this app, we've created five actions that demonstrate the different types of deep links. The actions show up as buttons in the detail view of the app. - App Gallery: This action uses a LINKTOAPP formula to link to the App Gallery app that every AppSheet user has access to. Clicking on the button will switch from this app to the App Gallery app. - Map View: This action uses a LINKTOVIEW formula to link to the map view within this same app. Clicking on the button will switch the view from The Detail View to The Map View. - Next Row: This action uses a LINKTOROW formula to link to another row in the same app. It goes to the row that has an Id equal to the current row's Id plus one. - Add Comment: This action uses a LINKTOFORM formula to link to a form view and initialize its value. When you click on this button, it opens up a comment form and initializes the [Ref] column to point to the row that you came from. - Other Red/Yellow/Blue Rows: This action uses a LINKTOFILTEREDVIEW formula to link to a table view of related rows. Clicking on the button will go to a view that lists all the other rows that have the same color as the current row.
Loading...

How we built this app

We've got two tables in this app: - Data: A list of people, each with a name, color, and location - Comments: A table that contains comments about the people in Data, with a Ref column pointing to Data Each button corresponds to an action in the app definition. The actions are either "go to another view" or "go to another app" type actions. The deep link formulas go into the Target part of the action definition. Here are the formulas used: - App Gallery: LINKTOAPP("AppGallery-10305") - Map View: LINKTOVIEW("The Map View") - Next Row: LINKTOROW([Id] + 1, "The Detail View") - Add Comment: LINKTOFORM("The Comment Form", "Ref", [Id]) - Other Rows: LINKTOFILTEREDVIEW("The Table View", [Color] = [_THISROW].[Color])
This is a preview of the data sets used in the app.

Data

This is a high-level model of both the data entities and the UI elements in the app.
Loading...
Start for free