Select to view content in your preferred language

Missing Korean Message File in CDN-hosted Calcite Components (v3.0.2) Causing Custom Widget Failure

171
2
Jump to solution
02-17-2025 11:29 PM
tasubasu
Occasional Contributor

We have encountered an issue with a custom widget being used in Experience Builder where both the load and save functions fail to operate. We are using CDN-hosted calcite-components asset in our custom widget. After some investigation, it appears that the problem stems from using the CDN-hosted assets for esri calcite-components version 3.0.2. It has been working fine, but recently, the widget stopped functioning. We found that version 3.0.2 fails to locate message_ko.json.

tasubasu_0-1739863675553.png

The Korean language message file, which is required for proper localization, seems to be missing from the CDN version (v3.0.2) of the calcite-components assets. When the widget attempts to load this file, it encounters an error that prevents the widget from functioning correctly.

Our current custom widget code:

setAssetPath("https://unpkg.com/@esri/calcite-components/dist/calcite/assets");

 

Has anyone else experienced this issue with the calcite-components CDN version 3.0.2? Is there a fix or a recommended workaround—perhaps an updated version or a way to include the missing Korean message file—that resolves this issue without resorting to a previous version?

0 Kudos
1 Solution

Accepted Solutions
KittyHurley
Esri Contributor

Hi @tasubasu It looks like you may be trying to leverage the removed Value List component in Calcite's 3.0. Value List was deprecated in Calcite's 1.0 and removed in 3.0.

The "ko", or Korean translations are still provided in other components, including the List component, which should be used in place of Value List.

View solution in original post

2 Replies
KittyHurley
Esri Contributor

Hi @tasubasu It looks like you may be trying to leverage the removed Value List component in Calcite's 3.0. Value List was deprecated in Calcite's 1.0 and removed in 3.0.

The "ko", or Korean translations are still provided in other components, including the List component, which should be used in place of Value List.

tasubasu
Occasional Contributor

Thank you @KittyHurley !

That looks to be the issue. In the meantime we will apply the previous calcite-components version 1.4.2 by specifying the CDN version. 

0 Kudos