Select to view content in your preferred language

ArcGIS Dashboards- URL Parameter to Force Dashboard Mobile View

553
3
Jump to solution
11-28-2023 01:02 PM
Labels (1)
Amanda__Huber
MVP Regular Contributor

Hello, 

We're looking to embed our ArcGIS Dashboard into a third-party product and would like to force the embed as the dashboard's mobile view. Currently when embedding with just the URL it results in a very "squished" dashboard: 

Amanda__Huber_0-1701205143683.png

 

Therefore we would like to use the mobile view that we created: 

Amanda__Huber_1-1701205190265.png

 

Is there a way through url parameters to force the dashboard into the mobile view? Example for how the WAB team did it: https://doc.arcgis.com/en/web-appbuilder/latest/manage-apps/app-url-parameters.htm#:~:text=html%3Flo... 

 

Thanks,

Amanda Huber

 

 

1 Solution

Accepted Solutions
JenniferAcunto
Esri Regular Contributor
  • The view=mobile parameter loads the mobile view.
  • The view=desktop parameter loads the desktop view.

URL Parameters

- Jen

View solution in original post

0 Kudos
3 Replies
ArmstKP
Regular Contributor

@Amanda__Huber I don't believe this is possible.  I would submit this as an idea.  It's a good one!

 

0 Kudos
JenniferAcunto
Esri Regular Contributor
  • The view=mobile parameter loads the mobile view.
  • The view=desktop parameter loads the desktop view.

URL Parameters

- Jen
0 Kudos
Amanda__Huber
MVP Regular Contributor

This is exactly what I was looking for! Gah sorry I missed this. 

 

Fyi for everyone else on this thread, the format for the parameter is 
#view=mobile not the traditional url param ?view=mobile

0 Kudos