Dear all,
I am trying to do a dashboard in AGOL. Using the example 2 of this link:
However, to work I have to do something that I really don't know.
I need to to clean the "name" from unnecessary code, using this:
Trim(Split(DomainName($feature, 'name'), '_')[-1])
However, it does not accept global variables... therefore $feature - does not work. so after some changes
I end up with this:
var fs = FeatureSetByPortalItem(Portal('https://xyz.maps.arcgis.com'), 'a73a2a04e8b24aa7a5a514193a3057a0', 0, [Trim(Split( 'name', '_')[-1]),'DELIV_DATE','sqKm'], false);
But I have no idea how this can work for the remaining code of that link.
Can someone suggest me some fixing.
cheers
PS