Newbie question about Map Viewer Template Gallery properties

572
2
Jump to solution
10-18-2022 06:47 AM
HanliePetoors
New Contributor III

Hi,

I created a Map Viewer app from the template (v5.4) in AppStudio and am struggling to get my maps to display in the Gallery.

I'm working in our AGOL organisation where we have a group and I want to display the content of this in the app's Gallery. The group contains two web maps.

Here is the URL to the group from a browser:

HanliePetoors_1-1666100385475.png

And here is the setting in AppStudio:

HanliePetoors_0-1666100073433.png

 

Maps to show in gallery is set to both:

HanliePetoors_3-1666100791096.png

 

But when I run the app, I get no content in the gallery:

HanliePetoors_2-1666100473178.png

The items in the group are shared with the group only, not the public.

Can anyone help me or point me in the right direction to figure out why none of my group content shows in the Gallery?

 

Thanks

Hanlie

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
TrevorFrame
Esri Contributor

Hi @HanliePetoors,

Thank you for reaching out. It sounds like because your maps are private to group members or owners only, you need to make sure when the user opens the app, they are authenticated to confirm they have authorization to access these maps. To do this, there is a "Support secured maps" setting inside the Gallery tab under where you entered the group id. Also, make sure to add a Client ID under the Licensing settings.

When the app is opened, the landing page should contain a Sign In option. Once an authorized user is logged in, they should be able to view the private maps.  

Screen Shot 2022-10-18 at 8.11.38 AM.png

Screen Shot 2022-10-18 at 8.06.07 AM.png

 

Best, 

Trevor Frame

View solution in original post

0 Kudos
2 Replies
TrevorFrame
Esri Contributor

Hi @HanliePetoors,

Thank you for reaching out. It sounds like because your maps are private to group members or owners only, you need to make sure when the user opens the app, they are authenticated to confirm they have authorization to access these maps. To do this, there is a "Support secured maps" setting inside the Gallery tab under where you entered the group id. Also, make sure to add a Client ID under the Licensing settings.

When the app is opened, the landing page should contain a Sign In option. Once an authorized user is logged in, they should be able to view the private maps.  

Screen Shot 2022-10-18 at 8.11.38 AM.png

Screen Shot 2022-10-18 at 8.06.07 AM.png

 

Best, 

Trevor Frame

0 Kudos
HanliePetoors
New Contributor III

Thanks, Trevor, this did the trick for me.

Regards

Hanllie

0 Kudos