Add a field to a FeatureSet?
Is there a way to add a field to a FeatureSet? I can add a field of distances that I need to see in a datatable but if I add this datatable to the Results window, I no longer have the geometry the user needs in order to highlight or zoom to the feature. So I'm trying to see if I can just add these values to the existing FeatureSet instead.
0
-
I was able to get this working using the technique Ralph mentions in this post below:
(https://support.geocortex.com/essentialsGSCForum?id=9066000000007VaAAI) Add attributes to geometry?0 -
I can't seem to get to that link. Is there a new link for that solution? 0 -
Hi Royce, You can find it (https://support.geocortex.com/essentialsGSCForum?id=9066000000007VaAAI) here . 0 -
I took a different approach because I wanted to add a feature from one feature class to another. Here's the basic structure:
https://drive.google.com/open?id=0B_hHHiqcTKMfN19yd05fUEl0bHM
The workflow process is as follows:
1. Query an existing layer - in this case, I'm using a run workflow with arguments link on a parcel layer.
2. Create a new feature set and assign the existing feature set's field values (and new fields and their values on the fly).
3. Create a new feature based on the new feature set and assign its ObjectID.
4. Update the feature class you want to add the feature to and refresh the map so it shows up.
Clearly this isn't a very useful workflow on its own. But I plan to add display forms to it so I can get values from user input and update a feature class using an existing layer's geometry.0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
4 Kommentare