Zum Hauptinhalt gehen

Capture OBJECTID from click and add to SQL Table

Kommentare

3 Kommentare

  • Permanently deleted user
    An update...I realized I am in fact capturing an OBJECTID with my workflow and rows are getting inserted in SQL, however, the info entered by the user doesn't seem to be getting inserted into the table...if anyone has any tips on what step I am missing, it'd be much appreciated!

     

    User-added image
    0
  • Nico Burgerhart
    You do not neet a SQLNonQuery activity. You should move the AddFeatures activity to the location where now the SQLNonQuery activity is.

     

    Between the form and the AddFeatures activity you should set the value of the attributes with Assign activities, like theItem.Attributes("Comments") = outcomments You are capturing an OID field with the query task but not using it. ArcGIS generates an Object ID when adding a feature.

     

     
    0
  • Permanently deleted user
    Ahhhhhh I see! Got it working! Thanks so much Nico! You da man!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.