2016-03-02 13 views
0

所以這裏是被髮送到我的Office365組我的對象: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 
          ] 
         } 
        ] 
       }; 

但這裏的通知是什麼樣子:

enter image description here

正如你所看到的,標題上方的顏色欄是灰色的,但在我的對象(第3行)中,我將「themeColor」設置爲「DB4C3F」,它是HEX的淡紅色。 I pretty much copy and pasted the way the docs said to do it。任何人都知道爲什麼顏色不會改變?

回答

1

您的有效負載構建正確,但服務端似乎存在問題,我們正在調查。

您可以通過電子郵件[email protected]進行跟進,當行爲得到糾正後,我們會與您聯繫。感謝您在開發人員預覽期間幫助我們解決問題!

+0

感謝您的幫助!我已經聯繫了一個人,他們讓我更新。 –