Show / Hide Action I have 2 Detail Views com...

(Fabian Weller) #1

Show / Hide Action

I have 2 Detail Views coming from the same table. I want Actions only to be shown in one of the Detail Views. I know I can o this by creating a slice. But can’t this be done also via the CONTEXT() expression? In the Action --> Behavior --> “Only if this condition is true” I tried the formula

CONTEXT(“View”) = “DetailView1” to only show the Action in the DetailView1. But it doesn’t show up. Has anyone a solution?

(Aleksi Alkio) #2

It should work if your view name is correct. Have you created your own action or are you using system generated Edit action?

(Fabian Weller) #3

@Aleksi_Alkio I want to do this with the system generated Edit action AND with my own created Actions. But I think I’ve sorted it out: It is working in a Detail view. But not in a Dashboard View. I have to use the view name from the Dashboard and not from the Detail View.

CONTEXT(“View”) = “MyDashboard” But that leads to the same problem again, because the 2 Detail views are part of the same Dashboard. So the Action shows up in both Detail views again.