Dialog interruptions in MS Bot Framework V4- Node.js - node.js

I am working on a bot in which I am using a waterfall dialog with some prompts to gather information from the user. The dialog is getting triggered by a button click on an adaptive card.
Now if a user clicks the button, go into the dialog mode, scroll up and clicks the same action button (might be a different action button too), what are the possible options that MS bot service provide to handle such scenarios where:
I can let the user know of the existing dialog mode.
I can pause the flow until the user receives a response for the second requested action item and
continue from where the conversation left off.

Use suggested actions that are hidden after being clicked or use adaptive cards and
the communities adaptive card prompt

Related

How to disable buttons on click in Bot Framework Composer

I want to disable the button once clicked in Webchat/Directline channel.
Once a user has clicked on a button, that button should get disabled to prevent duplicate usage of the button.
In case it was missed in the linked GitHub issue, using the method described in the BotFramework-WebChat sample 05.custom.components/l.disable-adaptive-cards will achieve this for you.
In short, you are creating an attachment middleware that filters incoming attachments on their type. Internally, when Web Chat detects you have clicked the adaptive card button the to-be rendered HTML for the adaptive card is then given the disabled tag.
I've tested this many times and it works. It should for you, as well.

Docusign - How to disable the "Caution" Dialog after clicking "Decline"?

When a user clicks "Decline", a "Caution" dialog will pop up, then followed by a decline reason dialog. I want to disable the "Caution" popup, can I do that?
You cannot disable the "Caution" popup, it is provided to increase the successful transaction rate. This popup gives an option for a signer to reconsider the option before decline, instead click "Finish Later" and contact the sender if he/she has concern related to E-Signature or the documents in the envelope. So giving this popup, we are trying to push for more successful transaction for the customers.

IE BHO: SAP Netweaver portal page doesnt trigger any browser events

Im trying to create a BHO for a SAP Netweaver portal webgui and I have no idea on how SAP Netweaver works. The user selects an option from a combo box and that opens up another web form.
The user fills up the form and presses "Enter" and that kinda does a post back, validates the data entered by the user and shows an error img next to the fields with invalid data. Also an error message is shown in a status bar kinda div in the bottom of the page.
The BHO is suppose to capture these error text and launch another windows application.
But none of the browser events (BeforeNavigate2, DocumentComplete, NavigateComplete2) gets fired when the user presses the Enter button due to which I couldnt read the DOM of that page.
Any idea on how to trigger the browser events in this scenario?

Confirmation box display based on a condition on server side

I want to display a confirmation dialog in an ASP.Net application. It's a complex form, and the user would get a confirmation prompt when he presses the save button for example.
The problem is, that the dialog would be displayed or, not displayed based on a condition on the server side. What is the best way to implement this.

facebook login view does not have any option to close it

I'm facing a strange problem here, i have used a sample code of graph api's (reallylongaddress-iPhone-Facebook-Graph-API-59e6399, Created by , https://github.com/reallylongaddress/iPhone-Facebook-Graph-API) which was available on github. And i faced these problems:-
1) I'm having a share button of my own , when i click on it to login to fb a white view (or popup ) apears for almost 5 seconds and it appears evry time when i click on share button to share something on my facebook wall, even if i'm logged in . I reduced this problem to only one time.
2) The second and main problem now i'm facing is that on login it doesn't have any close button on it , and user must have to login ,other wise the application will not continue. Can i place a close button on this fb login web view?
NOTE:I have also used the fbconnect earlier but i dont wanna use publish dialog box ,, which shows user a dialog box and then user can press on "pulish" or "skip" button. instead i want that what ever the user wants to share on wall can be shared on just one tap on a button. That is why i have used this sample code, but it also has these two problems i have specified above.
Please help me with these 2 problems above or suggest me any other alternative option which does not have the "publish.stream" dialog box.
Thanks
In this condition Facebook controller are called by UINavigationController.
Finally i solved the problem and placed a close button on the login view. and on tab of this button i closed the login web view

Resources