Specifying views for related columns

I added a view to my app, which I only wanted to be accessible by an action - it is a table view. The action appears on a different, related table. I simply want the user to be able to click the action and have it take them to this view for the related items. It works perfectly, except, now the app is defaulting to this “inline” view on other areas of the app. I do not want that. To be specific, I have a “Jobs” table, which has a “Related Samples” column that shows the inline table view of the related samples in the job. If you expand that table, it used to take you to the correct inline view. Now that I have created another view for the purpose of previously mentioned action, the related table in Jobs is using the new view and not the original one. How can I dictate which view it uses for the related column?

This has been a long standing issue.

By default, for a datasource, appSheet will apply a custom created view before one of its auto-generated/system views

To solve this,

  1. remove the custom view you created to return all other areas back to normal.
  2. Create a Slice on the table for the related items of your customer action.
  3. Create your custom table view on the Slice
  4. Create your view navigation action but use the LINKTOFILTEREDVIEW() function and specify the view from above.
  5. In the action insert the filtering criteria - e.g. IN([ID], [Related Items])

The above creates the same action and will show the same related rows in your custom view but will not interfere with the system generated Inline views.

I hope this helps!!

1 Like

@WillowMobileSys Thank you again for your help!