Hello!
For example, I have a collection of Orders. I created a list (table) of Order records in the frontend and configured the opening of information for each individual Order (when clicking on the View button) as a separate page (instead of a Drawer or Dialog mode). The resulting URL looks like this:
…/admin/7a6p9ygl4qi/popups/9bosivyfr61/filterbytk/339240919695360/tab/tab1
I also have a Transportation collection that has a Many-to-One relationship with the Orders collection. In other words, a field linking to a specific Transportation is displayed on a separate Order page. I also created a View on a separate page for Transportation.
( …/admin/7a6p9ygl4qi/ popups/9bosivyfr61/filterbytk/339240919695360/tab/2hpjjdyohci/popups/bf87ckb4buq/filterbytk/339242805035008/sourceid/339240919695360 )
Now I want to click on the Order link field (the same link field), for example on a separate Transport page, to be taken to a separate page for that Order. I don’t see in the settings how to specify the existing path to an already created separate Order page (i.e. at the address …/ admin/7a6p9ygl4qi/popups/9bosivyfr61/filterbytk/339240919695360/tab/tab1), instead of building a new separate Order page again. I see that in this case, you can only create a new instance of the Order page (a page is like a “modification” of a Drawer or Dialog details mode). So it will be confusing if you configure new instances of pages every time, instead of switching to ready-made/built ones.
How can I get the URL of a ready-made page to go to it? Maybe there are some tricks or ways (for example, somehow substituting the dynamic part of the record ID so that it looks like …/admin/7a6p9ygl4qi/popups/9bosivyfr61/filterbytk/{{ID.orders}}/tab/tab1) ? At the same time, if there are tabs, then, for example, go to the first tab, which is located on the left on a single page, or something else…
I would appreciate any ideas.
Thank you for the information in the Documentation, it may help, but I had something slightly different in mind.
I assumed that it would be possible to “return back” to an already created page with a configured setup, instead of recreating (duplicating, even using a template) it from scratch.
That is, if, for example, there is a created block with details of a single record in the form of a page, and it is located at the URL “…/orders/order_1”, then I want to get this link to the existing page so that I can then go to it from another location.
For example, I moved to the details of the nested Product in the Order: “…/orders/order_1/products_in_order_1/product_1_1”, where on a separate Product Details page there is a link field to this Order 1. When I click on this field, I don’t want to go deeper into the path “…/orders/order_1/products_in_order_1/product_1_1/order_1”, because I already have a special separate page “…/orders/order_1”. Why create another (duplicate) page, even with a template—it’s still an extra page.
The idea here is to go to the existing page, not to “go deeper” every time, adding duplicate pages (details component in page view).
I hope I have explained my question in detail and clearly (I will repeat once again that the idea is not to create a new version of the page detail in another place, but to go to the existing page detail, for which it is necessary to somehow “take” the existing URL of this page, taking into account the dynamic features of data substitution - from the ID of the record). Of course, I can assume that it is possible to find a “workaround” somehow, for example, by using the URL collection fields and/or Formula (string) to build a query expression there, so that the result is a string in the form of the desired link… But still, I would like this to be a built-in function in the Platform core.
This is probably something similar to the topic with breadcrumbs Is it possible to add breadcrumbs (path)?.