It would be great if we could set up a calculated default value for a given field in a hosted feature layer, since it's hard or impossible to change existing default values.
For example:
Related comment from @L77 in Allow Default Value to be removed or changed in Hosted Feature Service Field View
@Bud - I have a simple hosted feature service that I was able to change the default value of a simple Yes/No question by editing the feature template. Note I did not sync the template with the layer style and was able to save the new default value. This idea still may be valid, if the desire is to use Arcade expressions to calculate default values, but I wanted to provide a potential workaround to help people in the meantime.
Hi @Bud,
thanks for clarifying and for sharing your idea. You're right, the default value is not editable on the data tab. For now, the best workarounds are to configure templates and/or forms to set or calculate values for new features.
I noticed @KAnderson recently upvoted this idea. You might like this post:
Not sure what kind of default value you want to set up. But you might be able to use the Admin REST API for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.