5 Replies · Latest reply on Apr 27, 2017 6:50 AM by Mark Bailey

    Templates and read only fields -  How to set values then make read only?

      I have a challenge with Change Management and using a template.


      The change type is a read only field and when a template is applied a partner wrote a script to set the change type to standard.

      Apparently when a field is read only templates don’t write to the field so a client script writes to the type field instead and sets it to standard.

      My challenge is now we want to make the template fields read only. All templates results in a standard change.


      When the template is applied some of the values on the template set, then regardless of how I write the script it seems some of the fields are set to read only before they populate leaving them blank. IF I want to set field values and then after the values are set, set the fields to read only BUT  BEFORE the change is actually submitted, how can I accomplish this?