Select to view content in your preferred language

edit multiple calculate expression

394
2
01-18-2023 11:17 AM
by Anonymous User
Not applicable

I created a form to allow field workers to mark potholes at Complete when they have been filled and I configured the CompletionDate to automatically populate with today's date using the Arcade Date() expression. This works as expected when editing one point at a time. However, when the field workers use the Edit Multiple tool, update the status to Complete and then submit the responses, the CompletionDate does not get filled. How do I ensure that the date field is populated when the update is made in field maps?

SHartholt_0-1674069078359.png

SHartholt_1-1674069112873.png

SHartholt_2-1674069262220.png

 

 

0 Kudos
2 Replies
RhettZufelt
MVP Notable Contributor

You shouldn't be able to "edit" that field even for a single feature.  Creating a calculation on a form field renders that field un-editable.

RhettZufelt_0-1674071256176.png

 

R_

0 Kudos
by Anonymous User
Not applicable

I believe you're correct but when selecting multiple features at once the expression and editing permissions aren't honored as far as I can tell. In my form ALL fields appear and can be edited. 

I just ran another test and was able to update the ID field even though in the form I have not checked the Allow Editing box. And again, the Completed Date field is empty.

SHartholt_0-1674074634666.png

SHartholt_2-1674074786719.png