Field Visible AND/OR Editable in Feature Service
Hi,
I'm using Geocortex Essentials 4.7 and HTML5 Viewer 2.8.
It is already possible to determine which field is visible and wich field is not visible in the layer properties of a service. For a feature service these settings determine wich field is editable and which field is not editable.
Is it possible to determine for a field 2 characteristics for a feature service: Visible AND/OR Editable?
In my example I have a feature service with 9 fields. I want to see 7 of them (visible), and I want to edit 3 of the 7 fields (editable), when I click 'Edit Features'.
There is a workaround that you add the map service to determine the visible fields, and a feature service to determine the editable fields. But then you have 2 results when you click on a feature, that's not what I want...
Kind kind regards,
Sander
0
-
Hi,
The editable flag would be controlled by how you've published the service.
Example:
http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0
siteid ( type: esriFieldTypeString , alias: Site ID , editable: true , nullable: true , length: 30 )
Any field with editable set to true can be edited.
Now, Essentials treats ALL fields as visible by default, you can change that in Essentials Manager by editing the fields in the Layer settings. Please note, that you cannot change if fields are editable in Manager.
Thanks,
Mike Ketler0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar