It would be extremely useful to be able to access webmap information (title, itemID etc.) via arcade, in much the same way as you can access layer information.
e.g. via the GetFeatureSetInfo function
This would allow data and attributes within the map to utilise this information.
I cannot currently see a way to do so.
Use case from one of my users was asking why they needed to enter a Project number in a form when the map title already contained it, which I thought was a very fair question!
Still struggling with this.
Any advice @BernSzukalski
Sorry for a late response, just back from travel... I can't think of way to get the map or layer ID directly in Arcade but will check for you.
Were it me, I might cheat and use an Arcade expression to set the project number in the map then just use that expression wherever you need to retrieve the project number (e.g., in text elements, pop-up title, etc).
I am thinking the layer ID isn't specifically what you are after, rather some other information about the layer.
I'd suggest posting these as ideas in the ArcGIS Online ideas section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.