context:
i try write simple microsoft teams tab displays feed list. i'm able side load tab teams , select channel "+" menu.
problem:
if want save settings, error text appears says "we couldn't save tab settings. please try again." there no error in browser's javascript error console.
my config.html tab javascript code:
<script type="text/javascript"> microsoftteams.initialize(); microsoftteams.settings.registeronsavehandler(function (saveevent) { microsoftteams.settings.setsettings({ entityid: "example", contenturl: "https://example.com/tab.html", suggesteddisplayname: "example", websiteurl: "https://example.com", removeurl: "https://example.com/remove.html" }); saveevent.notifysuccess(); }); function onclick() { microsoftteams.settings.setvaliditystate(true); } </script>
my manifest.json
{ "$schema": "https://statics.teams.microsoft.com/sdk/v0.4/manifest/microsoftteams.schema.json", "manifestversion": "0.4", "id": "ee90834a-d649-458d-a4e2-0b0f8d425c11", "version": "1.0", "name": "winsider community deutschland", "developer": { "name": "winsider community deutschland", "websiteurl": "https://windowscommunity.de", "privacyurl": "https://windowscommunity.de/de/impressum/", "termsofuseurl": "http://windowscommunity.de/de/impressum/" }, "tabs" : [{ "id": "ee90834a-d649-458d-a4e2-0b0f8d425c11", "name": "winsider community", "description" : { "short": "winsider article list tab", "full": "summarizes windowscommunity.de blog posts clickable list." }, "icons": { "44": "icon44.png", "88": "icon88.png" }, "accentcolor" : "#37a3cf", "configurl": "https://tscholze.github.io/public/teamstab/config.html", "canupdateconfig": true }], "needsidentity": false, "validdomains": [ "*.github.io", "*.github.com", "*.googleapis.com", "*.microsoft.com", "*.rss2json.com", "*windowscommunity.de" ] }
for information
david posted answers comment github issue. thank you.
long story short *example.org
allow domain calls http://example.org
, http://www.example.org
not valid definition oaf validdomain
.
Comments
Post a Comment