Hi,
I am looking for information on populating GlobalID's in a geodatabase using ArcObjects for .NET.
We have users who would like to edit features in Survey123 that were created in ArcMap.
In order to work with Survey123, I need to adopt GlobalId usage. I'm just not sure on how to automate the population the GlobalId's in C#.
Any information is appreciated.
Solved! Go to Solution.
It appears the Add Global ID Tool in ESRI would take care of it but a higher level of license is needed to run that tool.
Since my users may often have the lowest tiered version i opted for a different way. You can code for this directly in C# using System.Guid.NewGuid().ToString()); to populate your GUIDs.
The values of GlobalIDs are initially generated when the Add Global ID command is run. After that the Geodatbase in which the features reside takes care of new records; if a new record is added, a unique global id is generated for that record.
I know that Survey123 likes to use GlobalIDs as a relationship key but it's been a while since I worked with Survey 123 in that capacity.
It appears the Add Global ID Tool in ESRI would take care of it but a higher level of license is needed to run that tool.
Since my users may often have the lowest tiered version i opted for a different way. You can code for this directly in C# using System.Guid.NewGuid().ToString()); to populate your GUIDs.