Select to view content in your preferred language

Is there a way to set certain fields read-only for the FeatureDataForm?

2077
2
03-16-2011 07:16 AM
weiliang
Deactivated User
Hi there,

I try to use the FeatureDataForm to edit a FC's attributes, and I want to set certain fields to be read only. 1) Is there any way that I can set this? 2) Can I setup the OutFields for this FeatureDataForm to filter out certain fields?

Thanks for your input.

Wei
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
This is related thread: http://forums.arcgis.com/threads/23331-How-to-create-a-non-editable-field-in-a-FeatureDataForm

FeatureDataForm relies on your FeatureLayer.OutFields and the feature service field definition. If you want to filter certain fields, you need to change your FeatureLayer.OutFields. Also, if the service defines the field as "Editable", it will not be displayed as read-only field. You can either update your service or create your own form that will make certain fields, read-only.
0 Kudos
weiliang
Deactivated User
Thanks for your help, Jennifer.

Best,

Wei
0 Kudos