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?
Thanks!
Solved! Go to Solution.
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!
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.
However, the custom tool does seem to work properly OOTB
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:
No, I haven't tried copying the widget to my extensions folder.
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!