Select to view content in your preferred language

Problem with conditional visibility in Field Maps App

6764
10
12-22-2020 02:50 AM
PeterMcDonnell
Emerging Contributor

Hi all,

I am having some difficulty with conditional visibility in the form created with the Field Maps app.  Basically I can't get it to work as I thought it would.

I have read the available documentation that I could find.

Basically if the answer to one of the first questions is no then no more of the form should be visible as the questions are irrelevant.

The screen shots show what I have attempted using arcade code. The expression I applied to the group was $feature.SeaBirdsPresent ! = "No".  My understanding is that if 'No' is given as the answer to that question then this group will not be visible in the form.

I have never used this code before and this is the first week of using the Field Maps App so apologies for any rudimentary mistakes.

Thanks for your time.

Peter

10 Replies
SueEnyedy
Occasional Contributor

 Hi Aaron - I'm also having trouble getting a condition to work on a table with a domain in my Enteprise 10.8.1 - it's just our Naperville Electric dataset. I'm trying to do something super simple, it's the Animal protection attribute that I'll hide if the Orientation is underground. I've tried this (the code 61 is for the underground orientation):  DomainName($feature,"Orientation") != "61" ...  nothing happens to hide the field no matter what I choose for the Orientation.  Feel like i'm missing something very obvious ... as I've used the same expression just fine with a simple layer in ArcGIS Online. Thanks for any advice! Sue

Tags (2)
0 Kudos