Feature Service- required fields

7036
11
04-19-2013 04:54 AM
AaronWorthley1
Occasional Contributor II
Is it possible to make some attribute fields in a hosted feature service required?  Ideally I'd like to make this change to an already published service.
Tags (2)
0 Kudos
11 Replies
MikeMinami
Esri Notable Contributor

Rickey Fite

You can add a "required" field by unchecking the "allows null values" option when creating the field. This option is available when there's no features in the layer. We don't show this option on layers with features because all records would violate the rule once the field gets created.

thanks,

Mike

AndresCastillo
MVP Regular Contributor

Hi, 

I was able to resolve this in Web Appbuilder, using the Smart Editor Widget:

How to use Smart Editor to require user to populate field? 

0 Kudos