I have a Notebook published as a web tool and configured for use in the Analysis widget in ExB. I have the input parameter type set to Feature Set. I select the features, set it as the analysis input, run the tool. It sends the features to the notebook/web tool, but they do not appear to be a feature set.
I get errors trying to do any operations on the feature set in the notebook. It says the type is <class 'dict>. Am I doing something wrong on the input side, or do I need to convert it from a dictionary to a feature set first? If I do need to convert it first, I'm not sure how to do that.
The data populated into the input parameter starts off like this:
{'nextObjectId': 1, 'showLegend': True, 'layerDefinition': {'id': '193db8743d9-layer-40', 'name': 'Sample Grid - Selection', 'objectIdField': 'OBJECTID', 'geometryType': 'esriGeometryPolygon', 'fields': [{'alias': 'OBJECTID', 'editable': True, 'name': 'OBJECTID', 'nullable':...
Any insight would be appreciated.
Solved! Go to Solution.
By the way, when you insert variable as a cell, checkout the Metedata of the cell. It's tagged as parameter.