Get Layer URL
Is it possible in a workflow running in Mobile, to get a layer URL? By converting the layer object to JSON, I can see the URL exists, but Get Layer Property always returns null for property 'url'. Other properties such 'id' or 'name' do work.
-
Hi Berend,
It should work to use the Get Layer activity, and then use the layer.url property path on the result of that activity. To be sure, I just tested this and it worked fine.
What is the layer type you're trying to get the url for? In my example, I used a feature layer. Also note, that you won't be able to get the url of an offline layer, since it doesn't have a url.
?
Jeff
0 -
Hi Jeff,
So that's where it is! I was using the Get Layer Property activity, but that doesn't work for the Url.
It would be nice if autocomplete on the layer object showed 'url' as a suggestion too.
Berend
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer