10-28-2015 07:03 AM
is there a function to set the details view of a contact layout or all fields on a layout via sdk to readonly?
There is a request to set all fields on a layout to readonly when the contact has a special value in the ID Status field.
Thanks for any idea in advance Susanne
11-02-2015 11:01 AM
11-05-2015 06:26 AM
thanks for your ideas.but they are not working for me:
#1: can only be changed when all users are logged out
#2: the user can not switch his role itself only if he is an administartor
Best regards Susanne
11-05-2015 09:57 AM
Just a thought, but could you possibly find the appropriate control on the form and set it to read only? You'd have to loop through them all until you find the one you need. I recall something similar to that being posted on these forums a while back. It may have been dealing with the menu tree, not form controls though.
11-05-2015 11:02 PM
that was my first idea and it is working if the enduser has an layout with a few number of controls.
But if the layout is overloaded it slow down the system ...
Any other ideas?
Thanks in advance Susanne