加载Microsoft Teams加载项时出错

时间:2017-05-17 13:30:04

标签: office-js microsoft-teams

加载清单时,我收到错误消息“出错了”。清单包含在下面:

{
  "$schema": "https://statics.teams.microsoft.com/sdk/v1.0/manifest/MicrosoftTeams.schema.json", 
  "manifestVersion": "1.0",
  "version": "1.0.0",
  "id": "c946e298-5e6a-4e12-8e33-66dfd07a27c3", 
  "packageName": "com.parrot365.com",
  "developer": {
    "name": "Acrowit Inc, DBA WittyParrot Inc",
    "websiteUrl": "https://www.parrot365.com/",
    "privacyUrl": "https://www.parrot365.com/privacy.html",
    "termsOfUseUrl": "https://www.parrot365.com/term.html"
  },
  "name": {
    "short": "Parrot365",
    "full": "Parrot365 Teams Assistant"
  },
  "description": {
    "short": "Parrot365 Teams Assistant",
    "full": "Key value proposition for users include (1) Productivity increase by up to 2.5 times (2) Consistent message deliver across your entire team (3) Personalization of message on the fly at the point of use using placeholders (4) Mass emailing with email tracking and drip campaigns using your email server which guarantees email delivery into recipients inbox"
  },
  "icons": {
    "outline": "https://o365widget.wittyparrot.com/assets/images/widget_logo.png", 
    "color": "https://o365widget.wittyparrot.com/assets/images/wp_logo_80px.png" 
  },
  "accentColor": "#ffffff",
  "configurableTabs": [
    {
      "configurationUrl": "https://widget.parrot365.com",
      "canUpdateConfiguration": true,
      "scopes": [ "team" ]
    }
  ],
  "staticTabs": [
    {
      "entityId": "idForPage",
      "name": "Parrot365",
      "contentUrl": "https://widget.parrot365.com",
      "websiteUrl": "http://widget.parrot365.com",
      "scopes": [ "personal" ]
    }
  ],
  
  "permissions": [
    "identity",
    "messageTeamMembers"
  ],
  "validDomains": [
     "*.parrot365.com",
     "*.wittyparrot.com"
  ]
}

2 个答案:

答案 0 :(得分:2)

我很惊讶错误消息不是特定的,但它就是它。我使用online validator来验证您对模式的JSON。以下是错误:

.staticTabs[0].websiteUrl   should match pattern "^[Hh][Tt][Tt][Pp][Ss]://" "http://widget.parrot365.com"

基本上您不能使用非SSL URL。通过更改" http "到" https " JSON将有效。

答案 1 :(得分:0)

这似乎是完整描述长度的问题。虽然模式定义允许非常长的条目,但我们只能在减少长描述长度时才能加载样本。我们将此记录为错误。对此给您带来的不便表示歉意!

仅供参考,如果您将来提交Office Store提交,当完全启用产品内应用程序发现时,最终用户将看到在卖方仪表板中输入的元数据中的条目,而不是此清单字段。

相关问题