Conditionally showing an action only in a specific view

Taylor
New Member

Data:
Inventory

Views:
Inventory (deck-style full inventory list)
Shrinkage list (table-style list of all items eliminated from inventory)
Shrinkage (dashboard-style view that shows the inventory and shrinkage list views together)

Actions:
โ€œshrinkโ€ (action that appears inline in the inventory and inventory_detail view, taking the user to a form view)

I want this shrinkage button to appear in the Inventory list, ONLY when that inventory list is being viewed inside the shrinkage dashboard, not when being viewed by itself.

Is there a conditional formula that tells the action to appear in the inventory list only when viewed through another view that references it?

0 4 336
4 REPLIES 4

Steve
Platinum 4
Platinum 4

As best as Iโ€™ve been able to determine, the action can only see the view itโ€™s immediately in; it cannot determine that itโ€™s in a dashboard.

Im trying to do as you describe here

I want the action to show on the Table in deck view but not in ex. Table_Detail

Hi Uffe,

To stop the action from showing in the detail view, set its โ€˜prominenceโ€™ to โ€˜Do not displayโ€™:

Then, to have the action show in the deck view, specify it directly in the UX deck view actions:


Another option you might try is setting the actions behaviour to not work when the ViewType is Detail:

Edit: the screenshot has the incorrect formula, it should be:

CONTEXT("ViewType")<>"Detail"

GREATโ€ฆ Exactly what i was looking forโ€ฆ Thanks a million

Top Labels in this Space