Error merging component schema in custom action: Interface Microsoft.IDialog is not defined
See original GitHub issueDescribe the bug
When using the update-schema.ps1 script, there is an error as follows:
Error SearchMessageComposition: Interface Microsoft.IDialog is not defined
*** Could not merge components ***
This is with the following schema:
{
"$schema": "https://schemas.botframework.com/schemas/component/v1.0/component.schema",
"$role": "implements(Microsoft.IDialog)",
"title": "SearchMessageComposition",
"description": "This will build the message string which will be sent to the user to describe what will be search.",
"type": "object",
"additionalProperties": false,
"properties": {
"resultProperty": {
"$ref": "schema:#/definitions/stringExpression",
"title": "SearchMessage",
"description": "Value from callers memory to store the result"
}
}
}
The same error happens when using the sample MultiplyDialog schema
Version
Browser
- Electron distribution
- Chrome
- Safari
- Firefox
- Edge
OS
- macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Eject the runtime
- Move to the schemas folder inside the bot folder
- Open powershell and run ./update-schema.ps1
- See error
Expected behavior
Schemas should be merged correctly.
Screenshots
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Interface Microsoft.IDialog is not defined while running ...
The final step is to merge schema files. The executed powershell script gives the following output: Running schema merge. Finding component ...
Read more >sample multiplydialog causes an error with the dialog merge ...
Error MultiplyDialog: Interface Microsoft.IDialog is not defined. This is because the dialog merge command sees the MultiplyDialog.schema ...
Read more >Create custom actions in Bot Framework Composer
Learn how to create custom actions using Bot Framework Composer. ... the schema file; Create the BotComponent class; Merge schema files ...
Read more >Failure to create a custom action - Bot Service - Microsoft Q&A
I got as far as being able to add the custom action within Bot Framework Composer and had no errors. However, upon clicking...
Read more >Create custom triggers in Bot Framework Composer
Merging partial schema files will isolate changes, allow for easier recovery from errors, and enable easier packaging of your component for ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Awesome! It worked! Thank you all.
@jobpool did you install the bf-dialogs through bf plugins before, could you try to do bf plugins:uninstall @microsoft/bf-dialog and install bf-cli again?