Use JSAPI ESM with Experience Builder?

533
4
05-18-2022 08:49 AM
esride-nik
New Contributor III

Hey all,

is there a way to use Experience Builder with the JSAPI ESM

We have quite a lot of customers who use ExB in an "offline" (meaning DMZ) scenario. Usually we set up a self-hosted CDN and point the ExB to it, which is documented. But using ESM instead of CDN would actually be pretty great, as it could just be installed with the packages we need to install anyway for the Dev Edition, and we'd get rid of the CORS issues, server requirements and everything else about the installation of the self-hosted CDN JSAPI.

Has anyone tried? Is there anything on the timeline?

Thanks, Nik

@Jianxia 

Tags (3)
0 Kudos
4 Replies
Junshan_Liu
Occasional Contributor

As ExB is a configurable app, so we don't know which modules will be used in the app so we don't have a plan to switch to ES modules.

0 Kudos
esride-nik
New Contributor III

Hi @Junshan_Liu,

thanks for your quick response. I understand that one central advantage of ESM is to only import what's needed (limiting the delivery package size) and that this advantage would not come to play with ExB, as you explained above.
However, the fact that we'd be able to deliver the whole app in one package and put it on one server (without having to deploy our own CDN version of JSAPI) would be another massive advantage. This is feedback from real customer scenarios we're currently dealing with. So hopefully this is something you'll think about.

Cheers, Nik

0 Kudos
Jianxia
Esri Regular Contributor

Hi Nik, per discussion with @Junshan_Liu , currently the jimu-arcgis library loads JSAPI as a whole but modules. There is no plan to break it down based on JSAPI modules for deployed apps. You may submit an enhancement request to Esri Support or Ideas site.

0 Kudos
esride-nik
New Contributor III

Done! => Idea

0 Kudos