Documentation

Make profile fields non-editable (7.1.0)

How to make profile fields non-editable

In ThoughtFarmer you may have Active Directory set up as the data owner for some or all of your profile fields. If this is the case you may want to ensure that those fields cannot be edited by users as Active Directory will overwrite any changes that users make. Please follow the steps below in order to do this.

  1. Proceed to the Administration panel: Advanced options section > Configuration settings page.
  2. In the search box, type profile to filter the list of configuration settings.
    6.7Admin8776SearchProfile.png
  3. Locate the config setting profile.disabledControls
  4. Click on the Value field beside the config setting and a text field will appear.
    6.7Admin8776ClickValueField.png
    1. Add a comma-delimited list of the Field Values for all the Profile Fields that you would like to lock (make non-editable) on users' profiles. The list of fields that can be locked are as follows:
      Profile Field Field Value (enter this value in the config setting)
      Salutation SalutationId
      First name FirstName
      Last name LastName
      Nickname PreferredName
      Title JobTitle
      Email PrimaryEmail
      Telephone Telephone
      Mobile Mobile
      Fax Fax
      Address Line 1 AddressLine1
      Address Line 2 AddressLine2
      Address Line 3 AddressLine3
      Address Line 4 AddressLine4
      Manager ManagerFullName
  5. When you are finished entering the list of fields, click the Save button. Now these fields cannot be edited by users.

How to make profile photo field non-editable

There is a specific config setting for making the profile photo field non-editable. If profile photo sync is enabled with AD as the data owner, you may want to set this config setting to false.
  1. Proceed to the Administration panelAdvanced options section > Configuration settings page.
  2. In the search box, type profile to filter the list of configuration settings.
    6.7Admin8776SearchProfile.png
  3. Locate the config setting profile.photoEnabled
  4. Click on the Value field beside the config setting and two radio button options will appear.
  5. Select false to make it so users cannot edit their profile photos in ThoughtFarmer.
  6. Click Save.

Make custom profile fields non-editable

If you have custom profile fields, most types of these fields can also be locked out for editing. Tags, Rich Text Editor and Dropdown list type fields cannot be locked out for editing.

To make a custom profile field non-editable:
  1. Go to the Administration panel: Content section > User profile custom fields page.
  2. Click the gear icon to the right of the field group that contains the field you want to edit. Click Fields in the dropdown menu that opens.
  3. Click the gear icon to the right of the field that you want to make non-editable. Click Properties in the dropdown menu that opens.
  4. Uncheck the checkbox option Allow this field to be edited.
  5. Click Save.