Address icon in deck but not viewable if map attached

How do I keep the map icon on the deck view:
3X_c_8_c81354783327642373b1b52800f5f3844af0d82c.png

But remove it from the deck if viewing along with a map?

I tried variations of CONTEXT(ViewType)<>"map" and CONTEXT(“View”)<>“Map”` but no go.

0 8 228
  • UX
8 REPLIES 8

Hi ,

I could do the needful by using the CONTEXT(“View”) function. In my case the map view name is “Customer Map” as shown in the bottom in editor.

You may wish to reconfirm the map view name at your end and if the name is simply"Map" , you may try it with little variation such as say “MapView”

I tried “MapView”, no go.

Where are you trying the expression? Could you please share the screenshot if possible?

It’s the view that gets pulled from the specific row. When you click the map icon in the deck view.

I’m using NOT (CONTEXT("View")="MapView")
I want to remove the map icon from the above but keep it in the view below. 3X_0_b_0bd5cb6a9ffaf7a7f0bb64b0d2327bcc8a50bcf8.png

Could you please update where are you using this expression?

In the data show if filter

Please use it in the system action called something like

ViewMap (Address Column Name)

under the list of actions for that table.

The action will have probably the following condition expression

NOT(ISBLANK([Address column Name]))

Please make it something like below

AND(NOT(ISBLANK([Address column Name])), CONTEXT(“View”)<>" Your MapView Name")

Ah, yes. Got it. Thanks!

Top Labels in this Space