1

加载清单时,我收到错误消息“出了点问题”。清单包括以下内容:

{
  "$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"
  ]
}

4

2 回答 2

2

我很惊讶错误消息并不具体,但它就是这样。我使用在线验证器来验证您的 JSON 是否符合模式。以下是错误:

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

基本上你不能使用非 SSL URL。通过将“ http ”更改为“ https ”JSON 将是有效的。

于 2017-05-17T15:25:15.060 回答
0

这似乎是完整描述长度的问题。尽管架构定义允许很长的条目,但只有在我们减少了长描述长度时,我们才能加载您的示例。我们会将其记录为错误。造成的不便,深表歉意!

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

于 2017-05-26T22:52:13.923 回答