Hi Jeffrey,
Thanks again for your reply, and sorry I haven't replied back earlier. I have been working with your details and with another fella at work who is good with coding (python etc), but we still couldnt get the code to do specifically what I am needing.
So, I apologise if this message is long, but I do have a couple questions and maybe I'll layout my requirements and hopefully it'll help with development of this code. I really hope you don't mind all this details; but if we get the result, I'll owe you big time!! 😄
For starters, and sorry for my ignorance, but what is the Javascript/React of Developer Edition? Is this possibly a different level of access/program that I may be using which affects the coding options? If so, I can look into upgrading my subscription through work.
Hopefully the following information and screenshots will provide some insight to what I am working with...
Above is my webmap layout.
1. In red is the option I have for adding an expression. I see in your screenshot you have 'Manage expressions' whereas I have 'Attribute Expressions'. This doesn't change even when an expression is added; still says Attribute expressions. Is this because of the React of Developer Edition?
2. In Green is where I can add an Arcade expression. We did add an expression and some info was displayed where the Green star is, which is what I wanted. However the code for the intersect/impact areas didnt work.
3. The Blue sections kind of show what I'd like to produce in Experience Builder. Basically the big brown sections are the Indigenous Protected Areas (IPA), and we want to see how much of a percentage sit in the IBRA areas (dark brown boundaries). For example in the blues; dark blue shows 48% of the IPA sits in the IBRA area in the north, and 52% of it sits in the IBRA area to the south.
Below is my next step where I bring the Webmap into Experience Builder....
1. In the search section (circled in red) is the IBRA area - which is highlighted in aqua and pointed by red arrow.
2. I have then connected the search function to the query list below which shows how many of the others layers are found in the IBRA area. For example, in orange, it states that there is 3 IPAs found in the search IBRA area. Then when the user clicks on the specific IPA they want to view details for, the info is displayed and I am wanting it to show how much of a percentage this polygon is found in the IBRA boundary (bright green example). If users click on a different IPA (Ngadju or Yalata etc which are the other purple boundary areas) it will show full details including the percentage found in the IBRA.
So that's what I am doing, have done and hope to achieve. Does this make any sense, or help with what the Arcade coding should be?
Again sorry it's so long 🙂
Matt.