basemap.set
Stuck on the formatting for the argument in WF for basemap.set.
In my web app I use:
[
{
"name": "basemap.set",
"arguments": "item://basemap-extension/xxxxx-xxx-xxxx-xxxx-xxxxxx"
}
]
but it's obviously different in workflow using Run Command → basemap.set but I can't get the argument right even though I'm staring at the command reference. Thanks in advance.
-
Hey Bobbi,
I've been trying to figure this out too and finally got it. I downloaded the code for my web app and combed through it for the ids. It finally worked with the id for the layer as a basemap. It's in there twice as a basemap and a layer. So it was a value like “d3d39a0a-bf41-4674-bb70-698a917d88d2” for me.
{
"id": "d3d39a0a-bf41-4674-bb70-698a917d88d2",
"iconUrl": "https://URLHERE.png",
"basemap": {
"title": "language-designer-gen-d3d39a0a-bf41-4674-bb70-698a915d86d2-title-9r4pt2",
"baseMapLayers": [ ………………1 -
Thanks for replying! I'll give that a shot!
0
Please sign in to leave a comment.
Comments
2 comments