Select to view content in your preferred language

Analysis Widget Developer Edition (1.14) missing modules

734
4
Jump to solution
11-12-2024 03:40 AM
Labels (2)
SerjStol
Frequent Contributor

Hello,

I am developing a custom ExB widget (v1.14) that will consume a GP Task (Python Web Tool) and I was hoping that I can use some of the existing code from the COTS Analysis Widget. However, when I copy it from the dist folder into my extensions/widgets folder where I develop, I cannot run the widget as it is missing 'analysis-ui-schema' module which seems crucial how it deals with GP tools parameters etc. 

Are there plans to make those modules available in Developer Edition or not?

SerjStol_0-1731411427104.png

SerjStol_1-1731411571541.png

 

Thanks!

0 Kudos
1 Solution

Accepted Solutions
Wei_Ying
Esri Regular Contributor

Hi,

This is currently a limitation. Similar discussion as this one https://community.esri.com/t5/arcgis-experience-builder-questions/duplicating-the-exb-analysis-widge... 

The src folder after copy needs to rely on Analysis component packages, but those packages are currently Esri internal and cannot be used externally accessed. This cannot be supported for the time being. Only when analysis component becomes public can the widget be copied for customization. Thanks! 

 

View solution in original post

4 Replies
KenBuja
MVP Esteemed Contributor

In v1.15, that line looks like this:

import { type AnalysisToolInfo } from '@arcgis/analysis-ui-schema'

and also has a squiggly line underneath it in the editor.

Snag_96da58.png

However, the custom tool does seem to work properly OOTB

Snag_97bbcf.png

0 Kudos
SerjStol
Frequent Contributor

Did it work after you copy the widget to your extensions folder? It works from the COTS dist folder, as I think it goes and fetches these additional modules somewhere, they are not included in the typescript format to have a look at.  This is the only reference to "analysis-ui-schema" i found:

SerjStol_0-1731508439495.png

 

0 Kudos
KenBuja
MVP Esteemed Contributor

No, I haven't tried copying the widget to my extensions folder.

0 Kudos
Wei_Ying
Esri Regular Contributor

Hi,

This is currently a limitation. Similar discussion as this one https://community.esri.com/t5/arcgis-experience-builder-questions/duplicating-the-exb-analysis-widge... 

The src folder after copy needs to rely on Analysis component packages, but those packages are currently Esri internal and cannot be used externally accessed. This cannot be supported for the time being. Only when analysis component becomes public can the widget be copied for customization. Thanks!