AnsweredAssumed Answered

Need to populate GUID field programmatically in the feature class

Question asked by KNShah on Oct 2, 2019

Hi,

I have web application that consume feature map server from rest endpoint. As the user edited the feature layer -typically as the feature get added/inserted from the webmap, I need to auto-populate attribute field of the feature class in the back end database. For the the GUID field is empty like {0000000-0000-000..} and I want to fill with some random values like {2ABC425..}. Every time when the feature gets added I have to perform field calculator to run the python expression to generate random GUID value in Field. Is there way to do programmatically from back end to achieve this task using python? If it is possible to trigger from the database level would be great too. Attached is the screenshot. 

 

Thanks

 

Kush

Attachments

Outcomes