【发布时间】:2016-03-02 14:55:24
【问题描述】:
所以这是我发送到我的 Office365 组的对象:
officeObject = {"title":title,
"text":"Description: " + description,
"themeColor": "DB4C3F",
"sections":[
{
"facts": [
{
"name":"Assigned to:",
"value":"[" + assignedTo + "](" + userUrl + ")"
},
{
"name":"Urgency:",
"value":urgency
},
{
"name":"Created on:",
"value":created
}
]
}
],
"potentialAction": [
{
"@context": "http://schema.org",
"@type": "ViewAction",
"name": "View Incident",
"target": [
url
]
}
]
};
但通知是这样的:
如您所见,标题上方的颜色条是灰色的,但在我的对象(第 3 行)中,我将“themeColor”设置为“DB4C3F”,它是十六进制的红色。 I pretty much copy and pasted the way the docs said to do it。有人知道为什么颜色没有变化吗?
【问题讨论】:
标签: json office365 webhooks office365connectors