edit data link records (one to many)
Hi All,
Does anyone have any examples of editting the "many" table in a one to many datalink or one to many relationship?
For example, we have a signs feature class and for each sign we have many maintenance records associated to that sign.
Is it possible to add/delete/modify the maintenance records thru Geocortex?
Ideas/suggestions or any other possible solution?
-
Create a workflow to select the right sign from the featureclass (listbox in displayform)
Use a querytask to get the associated maintenance records (publish the records within same featureservice)
let the user select the right maintenance record (display form/listbox)
put the maintenance record in a display form (via on runtime modification)
save all edited fields in variables
requery the maintenance records for the right record (this is a workaround for a known bug: apply edits does not work on a featureset that has been exposed to the client, that means: after querytask the workflow must not have a client-side activity like prompt or displayform)
change the record fields in the featureset
save the edited record back to the service using the apply edits
0 -
Thank you for the summary of steps G. Much appreciated.
Is this something you created in the past?
Adding a one to many editting ability to the core geocortex features would be amazing! I'm sure there are many of us out there in the municipal world who would love to do this.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare