How to reset fields when copy from existing feature?

341
2
Jump to solution
04-21-2022 11:39 AM
YuanbinZheng
New Contributor II

Our survey (Inbox enabled) has a field qc_status will prevent mobile user re-submitting feature when qc_status is completed.

But when copy a existing feature has qc_status is completed to a new feature, it will prevent submitting as well. 

Is there a way to identify a new feature so I can reset qc_status field after copy?

How to access globalid of a feature in survey123 mobile?

Is the globalid will be empty when start to enter a new feature?

Thanks,

0 Kudos
1 Solution

Accepted Solutions
YuanbinZheng
New Contributor II

Thanks,

pulldata("@property", 'mode')  always empty, but pulldata("@property", 'status') works.

View solution in original post

2 Replies
DougBrowning
MVP Esteemed Contributor

Checking the edit mode may work for you.  I have used pulldata("@property", 'mode') = "edit" in the read only column in the past and it worked.

See this post  https://community.esri.com/t5/arcgis-survey123-questions/editing-restriction-in-inbox-for-parent-fie...

On globalid i think it does not have one until it is submitted to the service.  Which makes sense.

Hope that helps

YuanbinZheng
New Contributor II

Thanks,

pulldata("@property", 'mode')  always empty, but pulldata("@property", 'status') works.