If we login to Pega via web mashup on an apple device, we get the message: 'This page displays information that requires cookies to be set. Confirm to continue'. With a 'Confirm' button. After we click on the button, the Pega gadget is loaded.
This configuration is scripted OOTB in a text file with id: 'PegaCompositeGadgetMgr' js in rulset: 'Pega-UIEngine:08-02-01' on line 413.
We want to change or translate the text in the button 'Confirm'. Are we able to do that? If yes, how?
***Edited by Moderator: Lochan to update platform capability tags***
Thank you for your response. The script you mentioned allowes us to customize the cookie consent message, but not the caption on the button. As you can see in the 'PegaCompositeGadgetMgr' js text file at line 428 the caption on the button is hardcoded set with 'Confirm':
As you cannot override the final rule, i have exposed only the corresponding function. So that you can use the script for now and once you upgraded to patch release you can remove the script, so that you can use the exposed property pega.web.config.confirmButtonMsg .
In the above script in place of confirmButtonMsg ,you can write your own text as you wish as that script will override OOTB pega function.
Removing consentmessage decision will be taken by concerned team that owns this gadget while fixing the bug in patch release. As of now , i cannot assure you about that.
Posted: 4 years ago
Posted: 27 Sep 2019 4:08 EDT
Mustafa Salman (MustafaS4333)