Closed fagiothree closed 7 months ago
Change to be made in delivery template, program_completion_congrats sheet
Current Value: "@(json(object( ""name"", (fields.first_user_name & "" "" & fields.family_name), ""language"", contact.language, ""country"", lower(fields.deployment) )))"
Suggested Value: "@(json(object( ""name"", (fields.family_name & "" "" & fields.first_user_name), ""language"", contact.language, ""country"", lower(fields.deployment) )))"
Blocked: Need to address #14 before implementing this change
https://github.com/IDEMSInternational/parenttext-china/issues/14 has been addressed, see in particular https://github.com/IDEMSInternational/parenttext-china/issues/14#issuecomment-1906384066 so template can be implemented. @edmoss345 would you like to give it a go?
To clarify, do I just need to make a copy of the 'program_completion_congrats' sheet in the CN localised edits?
Then given Ian's changes to the API would the message text now be: "@(json(object( ""name"", (fields.family_name & "" "" & fields.first_user_name), ""template"", ""china_zho"" )))"
where is webhook_settings["certificate"] set, is that in the google sheets or in the RapidPro workspace?
Have made a copy of the 'program_completion_congrats' sheet in the CN localised edits, there was already a localised version of 'webhook_settings', but within that sheet I have updated the url to the new API address
Added post translation edits in https://docs.google.com/spreadsheets/d/1UkGtEMuIQNwpquMieiOGNjMIm2O8WcZFUiM0BoHZv34/edit#gid=1554759014 and tested
Certificates should be printed [Last Name] [First Name].