Format rule for row and viewtype

Ugh, I think I’m having a syntax issue. I have a rule that creates a highlighted purple pin if the city column = “cityP”. I only want this rule applied in the Maps View (not in the table or card view). When I use, CONTAINS([City], "cityP") for the format rule, everything works as expected. Then I try to limit the ViewType with
AND (CONTAINS([City], "cityP"), CONTEXT("ViewType")=“Map”) and the format rule no longer applies. What am I doing wrong?

0 1 144
  • UX
1 REPLY 1

Steve
Platinum 4
Platinum 4

Please post screenshots of the following:

  1. The view where the format rule (without CONTEXT()) works as expected.

  2. The complete expression of the format rule (with CONTEXT()) that doesn’t work.

  3. The view where the format rule (with CONTEXT()) doesn’t work.

Top Labels in this Space