Select to view content in your preferred language

How does one find the app id for an app in WAB?

3132
13
07-29-2022 09:35 AM
BryanPreston
Occasional Contributor

Exceedingly simple question from a new WAB user.

I created and modified an app. Where do I find the "app item id" for it in Web AppBuilder? 

I'm looking at this part of the documentation:

BryanPreston_0-1659112433824.png

 

My main goal is to share this on a public website, so I understand I can't use the url for the app that is tied into my actual machine.

cheers

Tags (2)
0 Kudos
13 Replies
SteveCole
Honored Contributor

When you register your app inside of your Portal or with AGOL, it generates the App ID and that's what you're seeking. You can see the App ID in this screenshot:

addAppToPortalExample.jpg

The Data Source URL and the Redirect URI should be the same URL and that would be the URL to your application, installed on your server (i.e "https://someLocalAgency.gov/parcelViewer" or whatever you determine it to be)

0 Kudos
BryanPreston
Occasional Contributor

Thank you, but I may be misunderstanding something. That app id in your screenshot is for the WAB app. Isn't there a separate id for a particular web app that I created within WAB? 

e.g. what if I've created 10 app in my WAB content, how would that 1 app id distinguish between them?

0 Kudos
SteveCole
Honored Contributor

Unfortunately, I don't know that answer since my WAB experience has been extremely limited (working on an app on the side but nowhere near actually implementing it). Hopefully someone else will chime in but what I posted is generally what I understand when I hear ESRI mention an App ID.

0 Kudos
BryanPreston
Occasional Contributor

Thanks for taking time to respond! Maybe I should be referring to what I need as the "app item id" for clarity.

0 Kudos
KenBuja
MVP Esteemed Contributor

The appId is in the signininfo.json file found in server directory of your WebAppBuilder installation

0 Kudos
BryanPreston
Occasional Contributor

Thank you -- these responses are clarifying for me that I'm not asking the question correctly. The WAB app id isn't what I thought I was looking for.

I'm trying to make public an app I created in WAB. Isn't this possible w/o hosting on my machine? This part of the documentation is what I thought was relevant:

If the app is shared to the public and references public items, it can be viewed through your organization URL or the public URL. The URL pattern to access the app by public is as follows:
www.arcgis.com/apps/webappviewer/index.html?id=<app item id>

What is this "app item id"?

0 Kudos
KenBuja
MVP Esteemed Contributor

That will be the ID for the item in your contents folder. For example, for a WebApp I built in my organizational instance of AGOL, the item description page is 

https://noaa.maps.arcgis.com/home/item.html?id=03daf1d686c84ece8172ed394e287c78

and the actual WebApp is

https://noaa.maps.arcgis.com/apps/webappviewer/index.html?id=03daf1d686c84ece8172ed394e287c78

 

0 Kudos
BryanPreston
Occasional Contributor

I understand how to find the ID for an app built in AGOL, but not for an app built in WAB.

Here is my main concern: I created an app in WAB, and I would like to share it publicly. I was referring to this doc:

https://doc.arcgis.com/en/web-appbuilder/latest/manage-apps/view-and-edit-app.htm

0 Kudos
KenBuja
MVP Esteemed Contributor

Did you build this in WAB Developer Edition?

0 Kudos