How do I assign my Windows Account Name to a graphic?
I may be having the same issues as Brian seems to have solved (copied and pasted from post https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=90660000000XbKeAAK):
"?Brian Kootstra
RESOLVED:
Using Windows Authentication, when I used the activity "GETCURRENTUSER" I was only capturing the "Username" field. I should have been capturing the "Windows Account Name" and passing that to "theItem" graphic variable in my workflow.
It is now working"
What is the syntax used in the "to" box when assigning the windows account name to the graphic, in order to get assigned attribute values to populate in the geodatabase feature class when the add feature command is used. As soon as I use the assing command ( ie: "graphic.Attributes("theFieldname") = "theAttribute") i get the error:
"There was a workflow error running activity: Exception has been thrown by the target of an invocation. Workflow 'Field Investigation' failed Unhandled exception: 'Unable to complete operation.' in activity '1.17: AddFeatures'. Unable to complete operation."
Thanks,
Chris.
0
-
Hi Christopher,
The syntax you used for the Assign activity is correct. The error indicates that it is failing at the "Add Features" activity and this can relate to a lot of things. The first thing I would do is check the ArcServer Manager logs to see if it tells you what the error is. Sometimes the columns are looking for a particular data type, so you might need to cast some of your values into the proper type before assigning it to the graphic.
I hope this helps
Carmen0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar