Create a feature set collection from Esri feature set
Hi,
Does anyone know how to create a feature set and feature set collection from a esri feature set without using a workflow activity ?
We would like to invoke the same select feature activity that is in the workflow activity but directly from code.
Thanks.
0
-
Any luck ?
0 -
GVH - gcx FeatureSet class's construnctor takes an optional parameter called 'FeatureSetOptions' which is the interface like
interface FeatureSetOptions {
esriFeatureSet?: esri.tasks.FeatureSet;
layer?: geocortex.essentials.Layer;
allowUnsafeContent?: boolean;
}Therefore, I think you can create gcx FeatureSet from esriFeatureset with this line of code:
var gcxFeatureSet = new FeatureSet(esriFeatureSet);
0
Please sign in to leave a comment.
Comments
2 comments