繁体   English   中英

侧面加载Microsoft Teams加载项时出错

[英]Error side-loading Microsoft Teams add-in

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

 { "$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 URL。 通过将“ http ”更改为“ https ”,JSON将有效。

这似乎是完整说明长度的问题。 尽管模式定义允许很长的条目,但是只有在我们减少了很长的描述长度时,我们才能够加载您的样本。 我们将其记录为错误。 不便之处敬请原谅!

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM