Hi all,
I'm new here, so I apologize if the question is due to me using the platform in a wrong way.
So I have an hierarchically organized nomenclature system: Categories, Subcategories, Product groups, and SKUs. I created tables and filled them with data for each of these levels. These tables are related via Ref columns. Then I created the views, and that's where I got stuck.
What I aim to build: Starting from the "deck" view for categories table, I would like to navigate to deeper levels. So, clicking on a name of a category should lead to the "deck" view of the content of this category (the relevant subcategories), and clicking on a name of a subcategory should lead to the "deck" view of the relevant product groups. Clicking on a name of a product group should lead to the "deck" view of the relevant SKUs. Finally, clicking on SKU should open the "detail" view of the SKU.
Seems pretty straightforward, doesn't it? However, I cant figure out how to do this.
It starts smoothly at the Categories "deck" view (for the slice of a Categories table). When I click the name of a category, the (custom) "detail" view opens and it contains only the relevant subcategories, which I can swipe left/right. I can't make it a "deck" type though (if it's not a "detail" view the system defaults to the automatically created "detail" view which I want to avoid). This custom "detail" view has system-generated inline previews for each of the columns with the reverse references. E.g., it has the preview of the table Subcategories, and under this preview there is a clickable "View" link. And this link leads to the system-generated inline view, and I just cannot make it open a custom view.
I tried slices, actions, virtual columns, different combination of view types and everything else that Gemini, ChatGPT and Claude had to offer for the last couple of days.
I ran out of options and I seek your help. Please tell me what am I doing wrong and (or) what is the right way to do this, if any.
Thank you in advance!
Oleksandr
In a Deck view there are a few ways to navigate to the "next"view.
1) Tap a row - by default this navigates to the system Detail view for that data table. But you can customize this by changing the "Row Selected" behavior you can find further down in the Deck view configuration where you can specify that it uses your own custom action.
2) Action button - Deck views have an action bar and use can add your own custom actions. You can create a custom navigation action button to go to your desired view.
3) Swipe Left/Right - These too are customizable in behavior section and again you can assign your own custom action.
The common occurrence in all of these is a "custom action button". From the Action tab, create a new action of type "go to another view in this app" and set the target using the LINKTOROW() function. Then customize your Deck view to use custom action in one of the 3 options outlined above. Repeat for all of you navigation levels. Once you get the SKU Deck view allow it to use the default behavior.
I hope this helps!!
User | Count |
---|---|
35 | |
11 | |
3 | |
3 | |
2 |