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 -
I am having trouble as well with the basemap.set command in VertiGIS Studio Workflow and what exactly the command parameter should be for the basemap I need to make visible.
If anyone can tell me explicitly what should be in the command parameter for our 2024 Imagery SP based on the below configuration info for the web app, I would be very appreciative. I have tried all sorts of combinations of ids and types that I could think of.

Note: The Url in the above is a public facing web server but the Studio Web app/Portal are not public facing.
Thanks,
Carmen
0 -
Hi,
Were you able to figure out the command parameters required for running the basemap.set command from workflow? I tried using the url for my Imagery directly as a string and also used the basemap parameter with the Imagery Url, but no luck. Appreciate any direction on the command parameters that need to be passed.
Thanks!
0 -
Surya Rathanlal First add the desired basemap to the basemap picker widget in the application, then download the code for the application, and then find the ID that corresponds to that basemap you've added. That will be your input to the basemap.set command.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare