Integration

Certified Associate Developer

Hi All,

As per my current requirement i am using an integration for google space where i want to color Card background, border and header any suggestion?, I have already tried with font color in title of header

but it's not working, same i am using in content for message and it's working fine so any solution for header and card?

Below is the code which is i am using.

{
"cards":
{


"header": {


"title":
concat( "<font color='#90EE90'>",
if(rule!APN_isEmpty(ri!gChatTemplate.headerTitle),"Notification",ri!gChatTemplate.headerTitle), "</font>"),



"subtitle":
if(rule!APN_isEmpty(ri!gChatTemplate.headerSubTitle),"Notification",ri!gChatTemplate.headerSubTitle),
"imageUrl": if(rule!APN_isEmpty(ri!gChatTemplate.headerImageURL),"">is3-ssl.mzstatic.com/.../1200x630wa.png",ri!gChatTemplate.headerImageURL)
},

"sections":
{
"widgets":
{
"keyValue": {
"topLabel": if(rule!APN_isEmpty(ri!gChatTemplate.notificationBy),"",concat("Notification Sent By: ",ri!gChatTemplate.notificationBy)),
"content": concat( "<font color='#90EE90'>",
if(rule!APN_isEmpty(ri!gChatTemplate.content),"<br>Details not available",concat(ri!gChatTemplate.content,"<br>")), "</font>"),
"contentMultiline": if(rule!APN_isEmpty(ri!gChatTemplate.contentMultiline),"true",ri!gChatTemplate.contentMultiline),
"bottomLabel": if(rule!APN_isEmpty(ri!gChatTemplate.bottomLabel),"Details not available",ri!gChatTemplate.bottomLabel),
"onClick": {
"openLink": {
"url": if(rule!APN_isEmpty(ri!gChatTemplate.bottomLabelURL),"">example.com/",ri!gChatTemplate.bottomLabelURL)
}
}
}
},


},
}
}

  Discussion posts and replies are publicly visible