我正在为Microsoft Teams创建自定义连接器。 我已经基于github教程库创建了一个。一切正常,但是当我按下保存按钮时,什么都没发生,好像saveEvent.notifySuccess()无法正常工作。我在配置页面上使用React。
任何帮助将不胜感激。
Config Page MSTeam实现: Config Page MSTeam implementation
Express服务器saveConfig: Express server saveConfig
保存后的屏幕: Screen after saving
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.3/MicrosoftTeams.schema.json",
"manifestVersion": "1.3",
"version": "1.0.0",
"id": "23772851-b720-4f99-ae35-3531957cb1c7",
"packageName": "com.demo.test",
"developer": {
"name": "Laxman Sharma",
"websiteUrl": "https://www.google.com",
"privacyUrl": "https://www.google.com/",
"termsOfUseUrl": "https://www.google.com/"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "Test",
"full": ""
},
"description": {
"short": "Test Connector App",
"full": "This app allows the team tp quickly do something."
},
"accentColor": "#40497E",
"bots": [
{
"botId": "5e55cea4-4efc-4eec-9156-c6aa78b1622c",
"scopes": [
"personal",
"team"
],
"supportsFiles": false,
"isNotificationOnly": true
}
],
"connectors": [
{
"connectorId": "f1014037-dad1-4da2-83af-479708155849",
"configurationUrl": "https://e48f6f19.ngrok.io/",
"scopes": [
"team"
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"e48f6f19.ngrok.io"
]
}
答案 0 :(得分:0)
一开始我遇到类似的问题,因为Wajeed已经提到过,请仔细检查: