How to work with data sources from workflows in Experience Builder
Hi,
I am having trouble converting a workflow that was used in WAB to ExB. The workflow uses the following:
- Add Feature Layer
- uses a feature collection as input; this works fine in WAB but returns layer: undefined in ExB deployment. What am I missing to get Add Feature Layer to work for ExB?
- Set Layer Pop-up
- not compatible with ExB; trying to do this by hand with Set Layer Property for $addFeatureLayer1.layer.id for property popupTemplate with value ={
title: 'Query Result - {NID_ID}',
fieldInfos: [
{
"fieldName": "NID_ID",
"label": "NID ID",
"isEditable": false,
"visible": true
}, etc.
{
"fieldName": "NEXT_INSPECTION_DATE",
"label": "Next Inspection Date",
"isEditable": false,
"visible": true
}
]
} - unable to test since there is no layer.id from the above step
- not compatible with ExB; trying to do this by hand with Set Layer Property for $addFeatureLayer1.layer.id for property popupTemplate with value ={
- Delay
- Evaluate Expression (Workaround to make sure popups are enabled by default on result layer)
- Get Feature Set Extent
- Set Map Extent
- Send Layer to Attribute Table
- Also not compatible with ExB, would like to do a workaround by setting up a dataSource dynamically but can't figure this out.
Some references:
0
-
I have also found that we are getting layer:null pretty regularly when trying to create features (graphics).
0 -
Was able to get everything resolved, EXCEPT Send Layer to Attribute Table.
Is there any way to use VertiGIS Workflow to handle this?
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires