Remove layers from Create Features Layer List
We've been adding Feature Access layers to Geocortex. However; some layers we allow users to edit everything, but for others, we only want them to be able to edit the Attributes. In ArcGIS Server, I've disabled vertex editing, creating, and deleting for those features, however; in Geocortex, the layers still show up in the create features. It comes up with an error message if you try, but I was wondering if there was a way to remove them from the create features list to remove some confusion.
Thanks
0
-
On a similar note, is there a way to make only layers in the current theme show up in the Create Features layer list? 0 -
Did you get an answer for this yet? I have the same issue 0 -
I'd like to know how to this very thing! +1 0 -
Found it!
If you search for the following text in the json of the viewer, it's within the Menu module and inside the id LayerActions, you can remove the text in strikethrough.
"id": "LayerActions",
"description": "@language-layer-actions-desc",
"defaultIconUri": "Resources/Images/Icons/arrow-right-alt-24.png",
"items": [
{
"text": "@language-menu-add-a-feature",
"description": "@language-menu-add-a-feature-desc",
"iconUri": "Resources/Images/Icons/Toolbar/feature-create-24.png",
"command": "ShowFeatureTemplatePicker",
"hideOnDisable": true
},0 -
Glad you found what you were looking for Warren. For others, this can be achieved through the Manager as well by deleting "Create a feature", which is found under Viewer > Context Menus > Layer Actions.
Be aware that this will remove the "create a feature option" in the layer actions menu for all editable layers and not just select ones.
Hope that helps,
Amanda0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
5 kommentarer