Auto Prefix a unique id in AGOL Web App

241
1
10-28-2019 10:33 AM
DavidWyatt
New Contributor III

We have several web apps running on AGOL that were built with Web App Builder of the Developer published to AGOL.  The Web Apps have the typical incremental numeric unique ID that auto populates 101, 102, etc..  Several Departments use these app and they get confused which unique ID go with what Service, Application or Site.  We looked at date time ID's and GUID's but that's just too big of a ID.  There is a single person that starts these applications, so we are not worried about 2 sites being entered at same time.  Each person is responsible for their web app.

Our users would like each web app to prefix the ID with an 2 letter based on what it is.  Such as Intake Application for services IDs look like IN101, IN102,etc.  Survey applications = SV101,SV102,etc.  New House Site Assessment Review= SR101, SR102.

Any help would be appreciated

David

0 Kudos
1 Reply
Peter_Klingman
Esri Regular Contributor

Hi David Wyatt‌,

When you mention that the Web Apps were built with Web AppBuilder Developer Edition then published to ArcGIS Online, do you mean they are hosted on a local web server and added to ArcGIS Online as an item (this workflow)?

In this case, when the app is added to ArcGIS Online the item name can be changed; you could change the name of the app on the web server too, but that would alter the URL. 

If I've misunderstood the question would you be able to include a few screen shots to illustrate?

Thanks,

-Peter

0 Kudos