Access Web Maps and Web Scenes hosted on the Portal from the backend

311
3
11-23-2021 01:42 AM
Labels (3)
FUngerStrabag
New Contributor II

Hi folks,

We are looking for a way on how to access hosted web scenes and web maps (no feature, scene or map services - just the scenes and maps!) on the Portal - but from the backend!

Our goal is to create and access these programmatically in order to add (already hosted) content to them - e.g.

1. Creating a web scene

2. Adding content to it (simple building footprints hosted as a feature service)

3. Extruding it / assigning a color to it

 

The plan is that such a web scene gets automatically created whenever a project extent is defined (e.g. a button click after having a bounding box defined)

However, I could not find anything on the backend that is related to a mere web scene/web map.

Have you any experience of how to do this?

Many thanks!

Ferid

0 Kudos
3 Replies
David_Brooks
MVP Regular Contributor

@FUngerStrabag AGOL Assistant is great for configuring the JS on hosted layers in both AGOL and Portal. It's a web app you just log into through your browser. https://ago-assistant.esri.com/


David
..Maps with no limits..
0 Kudos
FUngerStrabag
New Contributor II

Really cool! Thanks for that!

Is there a way to actually create e.g. a new scene or map and add data to them via the agol assistant programmatically? Should be, right?

0 Kudos
David_Brooks
MVP Regular Contributor

Should be manageable with python or portalpy maybe?


David
..Maps with no limits..
0 Kudos