Select to view content in your preferred language

Access fields that are in a survey's underlying feature service, but are not in the survey

313
2
03-08-2023 03:37 AM
CarlBeyerhelm1
New Contributor III

I would like to access fields that are in a survey's underlying feature service, but are not in the survey.

For instance, get a value from the editor tracking fields CREATOR or EDITOR for the current record from the survey's underlying feature service.

Is this possible?

 

0 Kudos
2 Replies
ZacharySutherby
Esri Regular Contributor

Hello @CarlBeyerhelm1

Are you looking to access this information in the survey itself? Are you loading records from the Inbox? 

Thank you,
Zach
0 Kudos
CarlBeyerhelm1
New Contributor III

Hi Zach.  Yes, within the survey itself.

For instance, when a record is retrieved for edit from the Inbox, I want to be able to make some questions read-only if the current logged-in username is not the same as the original CREATOR.  Essentially, this is setting up dynamic read-only questions dependent on the original CREATOR (posted the original record to AGOL), and the current editor.

Thank you.

0 Kudos