Hoppa till huvudinnehållet

Copy drawing to feature

Kommentarer

11 kommentarer

  • Permanently deleted user
    I am trying to use the workflow as suggested by Marshall in another thread however it throws an error at this query

     

    User-added image
    0
  • Permanently deleted user
    What's the error?
    0
  • Permanently deleted user
    for some reason I needed "1=1" in the where clause to get it to work
    0
  • Nico Burgerhart
    The where clause indeed cannot be left empty.
    0
  • Permanently deleted user
    I have it working but it copies all the feature attributes, I would like just the geometry (so I can copy one feature to another regardless of the schema). Is this possible?
    0
  • Nico Burgerhart
    Remove the "*" from the Out Fields parameter to just returning geometry (and objectid) and no other attributes.
    0
  • Nico Burgerhart
    You can check your feature set result by display ftrToCopyFtrSet.ToJson in a Prompt Activity.
    0
  • Permanently deleted user
    I realized if the feature I copy to doesn't accept null fields it won't work. That is I need to copy those attributes for those fields.

     

    How can I get around this? by assigning fields? I just want my users to be able to copy shapes from one feature to another (as they have some complex shapes with donuts that cannot be drawn in geocortex)
    0
  • Permanently deleted user
    I am still stuck on this - I cannot think of a solution except changing my schema to accept nullable.
    0
  • Permanently deleted user
    I have assigned variables to my feature as a graphic but when it comes to updating or creating the feature, I get an error 

     

    User-added image
    0
  • Permanently deleted user
    Hi Sylvia,

     

    that error sounds like you might be trying to perform some task on a featureset that has features from two or more different spatial references.  If that's the case, you would need seperate the features into featuresets that only use one spatial reference each.  It's tricky to be more specific than that without seeing how the featureset is built in the workflow and what features it contains.  Like Nico mentioned earlier, you can use .ToJson on your test featuresets to see what they look like within the workflow.

     

    -Amanda
    0

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