Hoppa till huvudinnehållet

Add feature and attributes from one feature class to another...

Kommentarer

1 kommentar

  • John Nerge
    Are the Public - Not Verified and Points of Interest layers the same datasets, or are they separate datasets? If they're the same, you could use this sample workflow I made with a few changes:

     

    https://drive.google.com/open?id=0B_hHHiqcTKMfLU9lSFo3bGFfRmM

     

    1) Add an argument to the workflow called id (string is fine)

     

    2) Update the Query Task where clause to: "OBJECTID = " & id

     

    3) Update the field and value in the Assign activity to your field name and "Verified" (or whatever you're setting the value to)

     

    Here's the code to put in your feature description:

     

    <a href="command:RunWorkflowWithArguments?workflowId=VerifyWorkflow&amp;id={OBJECTID}">Verify Info</a>

     

    The workflow will grab the OBJECTID from the record you clicked the workflow in and update it.

     

    If they're separate datasets, then it's a little more complicated, but still doable. You would just need to use Add Features and Delete Features to add the record to the Points of Interest dataset and delete it from the Public - Not Verified dataset. And by using Query Task with Return Geometry set to True, you'll be bringing the geometry along with everything else.
    0

Du måste logga in om du vill lämna en kommentar.