Saving Liquid code

Ready to post? :mag: First, try searching for your answer.
Branding | Universal Login | Advanced Options | Custom Text |
Prompt I select login-id
Click on RAW JSON
I removed all of the code in there and replaced with the following simple liquid code
When I hit “Save Changes”, nothing saved

{
“pageTitle”: “Sign in | {{ companyName }}”,
“logoAltText”: “{{ companyName }}”,
“title”: “Sign in”,
“description”: “”,
“usernamePlaceholder”: “Email or mobile phone number”,
“emailPlaceholder”: “Email or mobile phone number”,
“buttonText”: “Continue”,
“footerText”: “By continuing, you agree to {{ companyName }}'s Conditions of Use and Privacy Notice.”,
“footerLinkText”: “Need help?”,
“signupActionText”: “New to {{ companyName }}?”,
“signupActionLinkText”: “Create your {{ companyName }} account”,
“customStyles”: {
“buttonBackgroundColor”: “#FFD814”,
“buttonTextColor”: “#111”,
“borderRadius”: “10px”,
“fontFamily”: “Arial, sans-serif”,
“inputBorderColor”: “#888”
}
}

Hi @pglover

You quotation marks seem to be different than the ones supported by the liquid syntax.

I have modified your code and it appears to be working as intended on my tenant:

{
 "pageTitle": "Sign in | ${companyName}",
	"logoAltText": "${companyName}",
	"title": "Sign in",
	"description": " ",
	"usernamePlaceholder": "Email or mobile phone number",
	"emailPlaceholder": "Email or mobile phone number",
	"buttonText": "Continue",
	"footerText": "By continuing, you agree to ${companyName}'s Conditions of Use and Privacy Notice.",
"footerLinkText": "Need help?",
"signupActionText": "New to ${companyName}?",
"signupActionLinkText": "Create your ${companyName} account",
"customStyles": {
  "buttonBackgroundColor": "#FFD814",
  "buttonTextColor": "#111",
  "borderRadius": "10px",
  "fontFamily": "Arial, sans-serif",
  "inputBorderColor": "#888"}
}

Please take note that by deleting the other fields, they will get populated again with the default values after saving the changes.

Let me know if you have any other questions.

Kind Regards,
Nik

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.