2017-05-17 14 views
1

マニフェストの読み込み時に、「何かが間違っていました」というエラーメッセージが表示されます。サイドローディングの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" 
 
    ] 
 
}

答えて

2

は、私は、エラーメッセージが固有のものではない驚いて、それはそれが何であるかです:マニフェストは、以下に含まれています。私はonline validatorを使ってJSONをスキーマに対して検証しました。以下はエラーです:

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

基本的に、SSL以外のURLは使用できません。 「http」を「https」に変更すると、JSONが有効になります。

+0

これは正しいです。マニフェストスキーマの完全なリファレンスは、https://msdn.microsoft.com/en-us/microsoft-teams/schema –

+0

を参照してください。その他の注意点:URLではなく、パッケージ内にアイコンを含める必要があります。https: //msdn.microsoft.com/en-us/microsoft-teams/createpackage#icons –

+0

静的タブでhttpをhttpsに変更し、アイコンのURLを絶対パスに変更しました。しかし、addinもload.errorではありません:何かが行きました間違っている – Leo

0

これは完全な説明の長さに問題があるようです。スキーマ定義では非常に長いエントリが許可されていますが、長い記述長を減らした場合にのみサンプルを読み込むことができました。これをバグとして記録します。ご迷惑をおかけして申し訳ございません!

FYI将来的にOffice Storeの提出を検討している場合、製品内のアプリケーションの検出が完全に有効になっていると、このマニフェストフィールドではなく、売り手ダッシュボードに入力されたメタデータのエントリがエンドユーザーに表示されます。

関連する問題