How to go to a dashboard view of a specific r...

ux
(Jason Spicer) #1

How to go to a dashboard view of a specific row?

I have a property view that has many related tables and would like to be able to click on a property in a list view and go to a dashboard view of the selected property.

Thank you for your help with this

(Dinh Nguyen Nguyen) #2

@Jason_Spicer Hi Jason, perhaps I’m not understanding your question correctly, but navigating to a dashboard view of a particular row seems like an “anti-pattern”.

Normally, a dashboard view is used to display multiple nested views, and nested views inside a dashboard view are often table views, deck views, or map views, which can contain data from more than one row. As such, a dashboard view cannot be tied to a specific row, and thus I’m afraid it’s not possible to navigate to a dashboard view of a specific row.

If this does not accurately describe what you have in mind, please elaborate on your use case.

(Jason Spicer) #3

@Harry Hi Dinh, when you are in the dashboard view and select a row, then only the related items of the selected row are shown in the dashboard views containing multiple views (which are the views of the related items. When you open up the dashboard, you see all the possible rows to select and also see the related items of all the possible rows. When you pick a row, it just shows the related items and doesn’t go to a new view. What I would like to do is be able to just go to the view of the rows (non-dashboard but table view) and when I select a row, go to a dashboard view just showing the related items for that selected row.

(Jason Spicer) #4
(Jason Spicer) #5

I was able to get the expression to work using this. LINKTOROW([Property ID], “Dashboard”)

Now it will go to the dashboard view of the selected row (property) and the views in the dashboard view only show the related items for that property.

(Dinh Nguyen Nguyen) #6

@Jason_Spicer Hi Jason, based on your description, I believe you will need to use a deep link. However, since there’s no built-in expression for this purpose right now, you will need to manually create the link.

If you use the link in a navigate action, its overall format should be something like this:

MyApp-123#view=DashboardView&table=TableName&row=RowKey

To manually construct the link, you can use the CONCATENATE expression:

CONCATENATE(“MyApp-123#view=DashboardView&table=TableName&row=”, ENCODEURL([KeyColumn]))