botframework

How to install a bot to microsoft teams (nodejs)

我与影子孤独终老i 提交于 2020-05-17 03:02:01
问题 Recently I have created a bot for microsoft teams. I have installed it to my teams successfully.But is there any way where all my organization users can install app by clicking on a single link that is displayed in my web page. For example like (authenticating slack bots, similarly like google auth). and I need to store the teams details of every user so that my bot can send messages to them. 回答1: If you want to give a link to install the app inside teams from an external webpage, you could

Adaptive Card: Dynamically show Card on dropdown click in Adaptive Card : Bot Builder

£可爱£侵袭症+ 提交于 2020-05-17 03:00:23
问题 I have to create a adaptive card which have city of name and each city have different holiday list. I have to show city name in dropdown list and on selection of each city i have to show child card which contains Holiday list. I have develop below code: private async Task<DialogTurnResult> ShowCard(WaterfallStepContext stepContext, CancellationToken cancellationToken) { List<string> city = new List<string>() { "Delhi", "Bangalore", "Mumbai" }; List<string> date = new List<string>() { "1-Jan",

How to install a bot to microsoft teams (nodejs)

限于喜欢 提交于 2020-05-17 02:59:52
问题 Recently I have created a bot for microsoft teams. I have installed it to my teams successfully.But is there any way where all my organization users can install app by clicking on a single link that is displayed in my web page. For example like (authenticating slack bots, similarly like google auth). and I need to store the teams details of every user so that my bot can send messages to them. 回答1: If you want to give a link to install the app inside teams from an external webpage, you could

Using Azure AD B2C with Bot

醉酒当歌 提交于 2020-05-16 16:15:13
问题 I've created a bot in Azure that uses a SignInCard to give users the option to log-in or register as customers. This is the SignInCard I currently have: messageActivity.Attachments.Add(new SigninCard() { Buttons = new List<CardAction>() { new CardAction() { Title = "Log in here", DisplayText = "Log in here", Value = "https://login.microsoftonline.com/XXXXXXXX.onmicrosoft.com/oauth2/v2.0/authorize?p=B2C_1_SiUp&client_id=XXXXX-XXXX-XXXX-XXXX-XXXXXXXd&nonce=defaultNonce&redirect_uri=http%3A%2F

Can a user send attachment along-with message on Text prompt in a waterfall step?

我的未来我决定 提交于 2020-05-15 21:50:27
问题 Lets say we have following steps in our waterfall dialog: self.add_dialog(TextPrompt(TextPrompt.__name__)) self.add_dialog( WaterfallDialog( WaterfallDialog.__name__, [ self.project_step, self.name_step, self.confirm_step, self.final_step, ], ) ) async def project_step( self, step_context: WaterfallStepContext ) -> DialogTurnResult: """ If a project name has not been provided, prompt for one. :param step_context: :return DialogTurnResult: """ confluence_details = step_context.options if

Can a user send attachment along-with message on Text prompt in a waterfall step?

橙三吉。 提交于 2020-05-15 21:50:10
问题 Lets say we have following steps in our waterfall dialog: self.add_dialog(TextPrompt(TextPrompt.__name__)) self.add_dialog( WaterfallDialog( WaterfallDialog.__name__, [ self.project_step, self.name_step, self.confirm_step, self.final_step, ], ) ) async def project_step( self, step_context: WaterfallStepContext ) -> DialogTurnResult: """ If a project name has not been provided, prompt for one. :param step_context: :return DialogTurnResult: """ confluence_details = step_context.options if

BadArgument error when trying to migrate luis to Azure resource

筅森魡賤 提交于 2020-05-15 18:59:24
问题 I'm trying to migrate my luis account to Azure resource and i get this error: BadArgument: You have prediction keys assigned in collaborators' apps. These apps will lose access to these keys. What am I doing wrong? What have I to do? 回答1: I had this same issue, the problem was that there was a prediction resource assigned to an app. In LUIS, click on "Manage" in the top bar then under "Application Settings" > "Azure Resources" unassign any resources listed, then try the migration again. Once

BadArgument error when trying to migrate luis to Azure resource

狂风中的少年 提交于 2020-05-15 18:58:41
问题 I'm trying to migrate my luis account to Azure resource and i get this error: BadArgument: You have prediction keys assigned in collaborators' apps. These apps will lose access to these keys. What am I doing wrong? What have I to do? 回答1: I had this same issue, the problem was that there was a prediction resource assigned to an app. In LUIS, click on "Manage" in the top bar then under "Application Settings" > "Azure Resources" unassign any resources listed, then try the migration again. Once

Microsoft BotFramework-WebChat scrolling issues

你离开我真会死。 提交于 2020-05-15 10:13:50
问题 I'm using the microsoft/BotFramework-WebChat, but I'm having problems getting it to scroll properly. Often when the bot responds the user is forced to manually scroll to the bottom of the chat log. I can't find any documentation about hooks that would let me call an API to scroll it. Is there a way to get it so that the chat window scrolls automatically? HTML : <div id="bot-button" style="display:none" > <p id="need-help" class="triangle-isosceles">Hey! Need any help?</p> <div id="bot-open"

Not able to create a Web App Bot through Azure portal, getting ServiceError: CreateAppOnlySteps

戏子无情 提交于 2020-05-15 09:26:07
问题 I am trying to create a Web App Bot in Azure, getting error ServiceError: CreateAppOnlySteps https://i.stack.imgur.com/8ayNW.png 回答1: it seems like error : ServiceError: CreateAppOnlySteps is due to insufficient permissions. Can you check, do you have access to create an APP Registration under Azure Active Directory. If yes, follow below link and create an APP & Secret using below link : https://docs.microsoft.com/en-us/azure/bot-service/bot-service-resources-bot-framework-faq?view=azure-bot