Dynamic content in configuration panel of configurable web app

264
2
03-04-2019 12:10 AM
DanielChristensen1
New Contributor II

Hello,

I wish to have some dynamic content in the configuration panel of a configurable web application.

In specific I would like to show the current categories of the Portal.

Is there any way in which this is possible?  I'm open to any suggestions.

0 Kudos
2 Replies
Rasmus_BloustrødLind
New Contributor II

i think a costum widget could do the trick: 

If you look at the:

Portal | API Reference | ArcGIS API for JavaScript 4.10 

you will find:

hasCategorySchema

that will tell if there are any categories on the portal

and then with:

fetchCategorySchema()

you would be able to get the categories 

and then use html to order the information with JS

0 Kudos
DanielChristensen1
New Contributor II

Getting categories in a widget is not a problem. I would like to have it in the configuration panel when configuring a custom web application template. 

The reason is that I need to configure a widget. What I mean by the configuration panel is as shown here:

For reference, this is what I mean as described here: https://doc.arcgis.com/en/arcgis-online/create-maps/create-app-templates.htm#GUID-12539044-708B-4FB0...

0 Kudos