Hi guys!
I need to change the text of the preview button which opens preview panel. I found where pega creates this button but it is located in final rule. How can I change text of this button?
Hi guys!
I need to change the text of the preview button which opens preview panel. I found where pega creates this button but it is located in final rule. How can I change text of this button?
Hi,
Save that rule to your application ruleset and change the text and check- in, refresh the UI it will work.
Theme-Cosmos xx-xx-xx to YourApp:xx-xx-xx
Thanks
Chandan U
Hi ,
peekElem.text = "Preview" to peekElem.text = pega.u.d.fieldValuesList.get("Previewtext");
Create a Field value With Name “Previewtext” and add desired text into that..
Save as “pz-cosmos-ui-scripts • script” Static Bundle Rule into your Ruleset and add the above creates js file replacing the “pz-cosmos-preview-panel.js”
Hope this Helps!!
see Theme-Cosmos Preview button localization | Support Center
please avoid doing a save as of a final rule - this will cause issues on upgrade. The fix is in 8.4.2 - Theme-Cosmos 01.01