- My View
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?
You may find the below thread helpful.
- Pradeep Sharma (@sharma_pradeep)
PS: Hit like, Helpful or Correct depending on the impact of the response
Thanks I will have a look to see if I discover a solution.
Thank you much! It did not resolve my issue but I do appreciate you pointing out the others with a similar difficulty.
Have you tried using UI policy to make them read only? Say comdition
= feld is not empty then set it to read only? I wonder if that would work..
Thank you Regina,
I did find a solution.
I was able to use a combination of ui polices and data policies to solve my issue.