Select to view content in your preferred language

Deploying experience to Apache

361
4
04-03-2024 05:48 AM
MikeSousa
New Contributor II

Hi

I've created an experience in Experience Builder Developer Edition, it works fine in the builder. I've published it and downloaded it. I then installed Apache (on Windows 11). I tested the Apache installation and it works. I copied the experience over to the area of Apache to display webpages. When trying to view it, it give a box

MikeSousa_0-1712148230521.png

asking to Sign in.  This did not happen in Experience Builder.

When I click OK, it tells me this:

MikeSousa_1-1712148340330.png

Looks like it's trying to get to the data at Esri

I did fill in config.json with my Esri data:

"attributes": {
"portalUrl": "https://<my company>.maps.arcgis.com",
"isWebTier": false,
"clientId": "#$#$##$$$$",
"title": "feature_info_demo",
"description": "",
"type": "Web Experience",
"thumbnail": null
},

 

Any suggestions?

 

Thanks...

 

Tags (3)
0 Kudos
4 Replies
JeffreyThompson2
MVP Regular Contributor

When you were installing Experience Builder did you go through all the steps involving creating your credentials? Check that they are properly configured.

https://developers.arcgis.com/experience-builder/guide/install-guide/#create-client-id-using-arcgis-...

GIS Developer
City of Arlington, Texas
0 Kudos
MikeSousa
New Contributor II

Hi Jeffrey,

I originally went through this inorder to do development with Experience Builder Developer Edition. I'm not sure if I now need to add anything to it, but that may be it, although I don't know what that would be. I was able to run npm ci/start for both the client and server while doing development.

 

Thanks...

0 Kudos
JeffreyThompson2
MVP Regular Contributor

The credentials wouldn't have anything to do with the npm commands, but if you were able to get past the select your portal/log-in screen, they probably aren't the problem.

Are all of your maps and data layers shared correctly?

GIS Developer
City of Arlington, Texas
0 Kudos
MikeSousa
New Contributor II

I think this solved my issue, I needed to add the additional redirect URL:

MikeSousa_0-1712153644698.png

 

Now I see my webapp 🙂

MikeSousa_1-1712153706786.png

Thanks...

 

 

0 Kudos