Experience Builder: How to change arcgis js api version

179
4
Jump to solution
a week ago
Labels (1)
Saxina
by
New Contributor II

I am using EXB dev edition version 1.12 which is currently pointing to the JS API version 4.27. 

I would like to refer to the latest version 4.29 instead.

 

How can I achieve this?

 

 

Thanks

0 Kudos
1 Solution

Accepted Solutions
JeffreyThompson2
MVP Regular Contributor

Did you run npm ci in the server and client folders?

GIS Developer
City of Arlington, Texas

View solution in original post

0 Kudos
4 Replies
JeffreyThompson2
MVP Regular Contributor

https://developers.arcgis.com/experience-builder/guide/release-versions/

Each version of Experience Builder is built on the next version of the Javascript API. Upgrade to 1.14 and you will be using 4.29 of the API.

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

Hi @JeffreyThompson2 

I tried the upgrade approach, I copied the app folder from 1.12 to 1.14. But the app I am working with contains custom widgets built with version 1.12. I am getting the issues below

 

Saxina_0-1714374394427.png

 

0 Kudos
JeffreyThompson2
MVP Regular Contributor

Did you run npm ci in the server and client folders?

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

I did run npm ci at /client and /server folders during the initial installation of version 1.14. But after I pasted my app folder from version 1.12, I did not run the command.

It is working now after running the command again.

Thanks, that solved my issue.

0 Kudos