How to disable Item Property Edit

Hello, my question is, there's a property in an ItemType that can be input or edited by certain identity (for example, property "Tester" can only be assigned by a Test manager, but can not be filled by other roles, only viewable to others) Permission settings is feasible only for ItemType as whole, how should I do configuration for certain item properties? Thank you for the reply. Regards
Parents
  • Hello, Text Areas use <textarea> tags for the input field rather than an <input> tag. Try the code below instead. vField1.getElementsByTagName("textarea")[0].setAttribute("disabled", ""); You can use your browser's debugging tools (typically launched by pressing F12 on your keyboard) to inspect your input fields and determine which tags you need to disable. Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hello, Text Areas use <textarea> tags for the input field rather than an <input> tag. Try the code below instead. vField1.getElementsByTagName("textarea")[0].setAttribute("disabled", ""); You can use your browser's debugging tools (typically launched by pressing F12 on your keyboard) to inspect your input fields and determine which tags you need to disable. Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data