Select to view content in your preferred language

Access to spatial analysis tools in Experience Builder Developer Edition

271
3
07-18-2024 08:09 AM
Labels (1)
MalinEngelhardt
Emerging Contributor

Hi,

I have created an application with the developers version of the Experience Builder, but am very new to it. I want users to be able to use the spatial analysis tools I have chosen, but am I understanding it correctly that I need to implement authentication so that users are using their own credits when doing analyses?

From what I've read I need to implement user authentication and this site shows how to do it with the ArcGIS Maps SDK for Javascript:

https://developers.arcgis.com/javascript/latest/tutorials/implement-user-authentication/

How would I connect that to my Experience Builder application on my server?

And have I even understood the system correctly or is there a simpler way?

0 Kudos
3 Replies
WeiYing1
Esri Regular Contributor

Hi @MalinEngelhardt ,

How do you plan to deliver the final application? Deploy to your own web server? 

0 Kudos
MalinEngelhardt
Emerging Contributor

Hi, yes, I have it deployed on my own web server.

0 Kudos
WeiYing1
Esri Regular Contributor

Hi  @MalinEngelhardt 

Sorry for late response. I just got a feedback from team developer. 

After deployed to the custom web server, to allow end user accessing the analysis tools, you can modify the "portalURL" and "clientID" in the config.json, which is located in the root app folder (e.g. <.zip file root>/cdn/0/config.json). So the request of the tool will sending to the portal you set. End user login their own account to use their own credit. 

But only one portalURL is allowed. So your end users have to be the user on the same portal/AGOL organization. 

0 Kudos