Botframework 如何扩展声明性自适应对话框模式?
我创建了一个库来扩展自适应对话框以访问数据库 我正在尝试扩展模式以使用声明性自适应对话框 我已创建此文件Sql.InsertRow.schema:Botframework 如何扩展声明性自适应对话框模式?,botframework,Botframework,我创建了一个库来扩展自适应对话框以访问数据库 我正在尝试扩展模式以使用声明性自适应对话框 我已创建此文件Sql.InsertRow.schema: "$schema": "https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/master/schemas/component.schema", "$role": "implements(Microsoft.IDialog)", "type": "objec
"$schema": "https://raw.githubusercontent.com/microsoft/botbuilder-dotnet/master/schemas/component.schema",
"$role": "implements(Microsoft.IDialog)",
"type": "object",
"title": "Sql Insert Row",
"description": "Insert row in database.",
"required": [
"url",
"method"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "Optional id for the dialog"
},
"disabled": {
"$role": "expression",
"type": "boolean",
"title": "Disabled",
"description": "Optional condition which if true will disable this action.",
"examples": [
"user.age > 3"
]
},
"connection": {
"$role": "expression",
"type": "string",
"title": "Connection",
"description": "Connection string.",
"examples": [
"Data Source=:memory:"
]
},
"providerName": {
"$role": "expression",
"type": "string",
"title": "Provider Name",
"description": "Gets or sets the provider name to use.",
"examples": [
"SQLite"
]
},
"table": {
"$role": "expression",
"type": "string",
"title": "Table Name",
"description": "Gets or sets the table to insert the row.",
"examples": [
"Customer"
]
},
"row": {
"$role": "expression",
"type": "object",
"title": "Row",
"description": "Gets or sets the row to insert.",
"examples": [
{
"id" : "1",
"Name": "Doe",
"FirtName": "John"
}
]
}
}
}
使用工具bf cli,我尝试合并文件以生成最终的模式文件。但我有这个错误
Sql.InsertRow.schema:error: interface Microsoft.IDialog is not defined.
如何创建$ref以链接sdk.schema
多谢各位