团队外接程序Microsoft旁加载错误



加载清单时,我收到错误消息"出现问题"。清单包括如下:

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

我很惊讶错误消息并不具体,但它就是这样。我使用在线验证器根据架构验证您的 JSON。以下是错误:

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

基本上你不能使用非SSL网址。 通过将">http"更改为">https",JSON将是有效的。

这似乎是完整描述长度的问题。 尽管架构定义允许很长的条目,但只有当我们缩短了较长的描述长度时,我们才能加载示例。 我们会将此记录为错误。 对于给您带来的不便,我们深表歉意!

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

最新更新