Working on a simple custom pop-up using Text in a new web map. See the code below:
{BUSINESS_LEGAL_NAME}
Business Registered as {COMPANY_REGISTER_FOR}
Address: {BUSINESS_STREET}
Suite: {BUSINESS_SUITE}
City: {BUSINESS_CITY}
State: {BUSINESS_STATE}
Zip: {BUSINESS_ZIP}
Email: {EMAIL_ADDRESS}
Business Scope: {DESCRIPTION}
Business Category: {expression/expr0}
The last item uses an expression that displays the field alias name if there is a value of 1 or more in the record.
It all works well ONLY if, in the Fields list, the field is checked (visible). However, the whole point of building a custom script is to display the data in a certain way. If I uncheck the field, I don't get the desired results. Is anyone else having this same issue?
Any Suggestions?
Solved! Go to Solution.
Resolved. The issue was in the expression. We removed the array command and it works.
Resolved. The issue was in the expression. We removed the array command and it works.