Can I use Arcade to 'append' two feature layers to use as a data source in a Dashboard?

426
2
Jump to solution
09-19-2022 08:28 AM
Labels (1)
tigerwoulds
Occasional Contributor III

I'm a complete novice with arcade and would like to know if what I'm envisioning is possible.

I have 2 hosted feature layers with slightly different schemas. What I want is to 'append' these into a single layer/data source that I can use in my dashboard. 

Rather than using the ArcGIS Python API to handle creating a new hosted layer, the append, and field mappings, can I use arcade to create a FeatureSet (?) to use as a data source in my dashboard? 

Layer One Fields: Name_1, Color_1, Type

Layer Two Fields: The_Name, The_Color, Type

Appended Layer: Name, Color, Type

 

1 Solution

Accepted Solutions
ArielLow2146
Occasional Contributor II

You could use a data expression in Dashboards to do this. You can find an example here. You're essentially using Arcade to return a feature set of both layers which can then be used in a variety of Dashboard elements.

View solution in original post

2 Replies
ArielLow2146
Occasional Contributor II

You could use a data expression in Dashboards to do this. You can find an example here. You're essentially using Arcade to return a feature set of both layers which can then be used in a variety of Dashboard elements.

tigerwoulds
Occasional Contributor III

Well, it took me about a day but I figured it out! Thanks so much!

0 Kudos