Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I configure hostconfiq for adaptive card in botbuilder-dotnet #4549

Closed
Shivang007-del opened this issue Aug 30, 2020 · 1 comment
Closed
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Issue is created by anyone that is not a collaborator in the repository.

Comments

@Shivang007-del
Copy link

How can I configure hostconfiq for adaptive card in botbuilder-dotnet

@anusharr anusharr added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Issue is created by anyone that is not a collaborator in the repository. labels Aug 31, 2020
@v-kydela
Copy link
Contributor

Thank you for the question, @Shivang007-del

The Bot Builder SDK is for building bots. HostConfig is something only Adaptive Cards renderers are concerned with, and bots can only author Adaptive Cards and not render them. As my blog post explains, your bot is not supposed to have any control over the Adaptive Cards renderer: https://blog.botframework.com/2019/07/02/using-adaptive-cards-with-the-microsoft-bot-framework/

If you are using Web Chat then you will have control over the renderer, but you have to supply the host config on the client side and not the bot side so that's still irrelevant to botbuilder-dotnet. If you're using any channel other than Direct Line then you will not be able to provide your own host config.

We do prefer to have how-to questions asked on Stack Overflow instead of GitHub. This reaches a larger audience, allowing more people to possibly answer the question and more people to be helped by the answer. If you use the botframework tag then my team will be sure to see the question.

I am closing this question as answered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Issue is created by anyone that is not a collaborator in the repository.
Projects
None yet
Development

No branches or pull requests

3 participants