Restricting Access to Custom Fields in SalesLogix to the Admin User

Question: I have created three custom fields in SalesLogix, picklists and
dropdowns, that need to be visible to everyone but only the Admin has
the ability to make changes.  I know that I can do this with scripting
but I don’t know where I would put the script change within the existing
script?

Answer:  If you are on a new form you could add a snippet similar to:

If lcase(application.basicfunctions.currentuserid) = “admin” then
mycontrol.readonly = false
else
mycontrol.readonly = true
end if

Place this in the OnChangeEvent of the form.

You
should also be able to do this control via the Administrator using the
field level security, as long as those fields are in a table that
enforces field level security.

 

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!