We want do a mass update of "Refresh Fields" in all existing Templates within SM.
We have modified couple fields from DataDict and restricted them to appear in Templates. If we click on Refresh Fields its appearing for Individual Template, but there are more than 1000 Custome Templates in our evvironment.
We tried doing a rtecall to Template.updateDisplay, but its not working
If anybody is aware of how to do it? What is the syntax?
Maybe someone else has a better idea. It is certainly something that would make a nice enhancement to the Template utility.
Here you can try to write a JS which will traverse each template and execute the display option 'getfields' by using like doAction('getfields') and then execute the doAction('save'). Try it starting for single template without loop, if works then make it using loop for all the templates.
____________________________________ Assign Kudo, if found post useful and mark it accepted if solves the issue.