layout manager fields for non-admin users?
Collapse
X
-
how would i add this to a layout
could i add it to say-- custom/Espo/Custom/Resources/metadata/i18n/en_US/Contact.json
could you give me a exampleLeave a comment:
-
In detail and edit view classes you can write
PHP Code:setup: function () { Dep.prototype.setup.call(this); if (this.getUser().isAdmin()) { this.hideField('myField'); } else { this.showField('myField'); } }Leave a comment:
-
layout manager fields for non-admin users?
I create some custom fields from the from an existing entity. I added the fields to the layout. My question is, is it possible to make these fields visible only for non-admin users?Tags: None

Leave a comment: