Office 365 连接器自定义 webhook 主题不会改变
Office365 Connector custom webhook theme wont change
这是发送到我的 Office365 组的 object:
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
]
}
]
};
但是通知是这样的:
如您所见,标题上方的颜色条是灰色的,但在我的 object(第 3 行)中,我将“themeColor”设置为“DB4C3F”,它是 HEX,代表微红色。 I pretty much copy and pasted the way the docs said to do it。有人知道为什么颜色没有改变吗?
您的负载构建正确,但服务端似乎存在问题,我们正在调查。
您可以通过发送电子邮件至 connectorbugs@service.microsoft.com 跟进,我们会在行为得到纠正后与您联系。感谢您帮助我们在开发人员预览期间发现问题!
这是发送到我的 Office365 组的 object:
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
]
}
]
};
但是通知是这样的:
如您所见,标题上方的颜色条是灰色的,但在我的 object(第 3 行)中,我将“themeColor”设置为“DB4C3F”,它是 HEX,代表微红色。 I pretty much copy and pasted the way the docs said to do it。有人知道为什么颜色没有改变吗?
您的负载构建正确,但服务端似乎存在问题,我们正在调查。
您可以通过发送电子邮件至 connectorbugs@service.microsoft.com 跟进,我们会在行为得到纠正后与您联系。感谢您帮助我们在开发人员预览期间发现问题!