In this monthly tips & tricks post you will learn how to globally prevent editing in the GEONIS server attribute editor.
If all attribute editor masks are to be read-only by default, a simple modification in the index.html or index_weboffice.aspx file used can be set. Add the line geonis.attributeEditor.options.readonly = true; before the last two entries in the <script> element:
</script>
geonis.attributeEditor.ready = function () {
…
…
…
geonis.attributeEditor.options.readonly = true;
var attributeForm = new geonis.attributeEditor.Form($(“#attributeForm”), options);
attributeForm.load();
};
</script>