Select to view content in your preferred language

What is <mapWidgetID> in the document and where to find it?

1490
4
Jump to solution
03-05-2024 01:22 AM
GeeteshSingh07
Frequent Contributor
0 Kudos
1 Solution

Accepted Solutions
Shen_Zhang
Esri Contributor

Hi @GeeteshSingh07 

I'm afraid you cannot find the <mapWidgetID> from the builder. But there's way to find it at run time:

  • Go to Experience settings -> Manage URL status.
  • Turn on the toggle of the map widget that you wish to find <mapWidgetID> from. Make sure at least one option in the popper is enabled.

Screenshot 2024-03-05 at 17.36.22.png

widget_1 is the <mapWidgetID> of this map widget. The reason that the <mapWidgetID> is not available

to users in the builder is that this ID is not very readable. 

Shen Zhang

View solution in original post

4 Replies
Shen_Zhang
Esri Contributor

Hi @GeeteshSingh07 

I'm afraid you cannot find the <mapWidgetID> from the builder. But there's way to find it at run time:

  • Go to Experience settings -> Manage URL status.
  • Turn on the toggle of the map widget that you wish to find <mapWidgetID> from. Make sure at least one option in the popper is enabled.

Screenshot 2024-03-05 at 17.36.22.png

widget_1 is the <mapWidgetID> of this map widget. The reason that the <mapWidgetID> is not available

to users in the builder is that this ID is not very readable. 

Shen Zhang
GeeteshSingh07
Frequent Contributor

@Shen_Zhang this helps, thank you for sharing this. 

ODWC_GIS
Frequent Contributor

@Shen_Zhang 

I never would have found it without your post!

0 Kudos
Nicholas_I_Seigal
Occasional Contributor

The method from @Shen_Zhang works, but it can be hard to find the correct widget in the URL if there are several listed. Here's another way...

Using the Developer Tools feature in the Chrome browser, you can search the page source and find "widgetid". The widget ID values will be to the right after the "=". The widget will also be highlighted on the web page and you can use that to figure out which widget has which ID.

Nicholas_I_Seigal_1-1733970024377.png

Nick Seigal