That is essentially the expression, CONTEXT(“View”)=“This View” (I have triple checked the view name)
Since this works in the emulator and the mobile app, I’m certain this is correct.
The expression to determine whether to display the action is set within the action’s “Only if this condition is true” field.
In the browser location bar, see if you can find the part of the location that begins control=. There should be some text between it and a following ampersand (&). What is that text?
I think you’ve narrowed it down: Because this view is in fact a Map view and although I have clicked on an item displayed on the map which in turn displays a Detail_view to the left of the map, the CONTEXT is not picking up on the detail_view. I have tried changing the CONTEXT("view)=“Map view” to no avail.
No @Fabian, it wasn’t a dashboard view either. Just a standard map view with location points. When viewing a map in the mobile app or in the emulator, if you click on a point you are shown a deck view. Clicking this deck view then takes you to a detail view. It’s here on this detail view that I used the CONTEXT(“View”)=“My Detail View” expression. The problem seemed to be, when viewing the map in a browser and clicking a point, the detail view is shown on the left, the user is not taken to a new detail view. I believe because of this, the CONTEXT expression when evaluated with result in false as the view would return as “My Map View”. In any event, I think I may have fixed it by using an OR expression:
@Michael perfect solution!
I had the same issue in a dashboard view. When you want to hide Actions in a Detail view that’s part of the dashboard view, you have to say: CONTEXT("ViewType") <> "Dashboard"
instead of CONTEXT("ViewType") <> "Detail"