Is there a way to hyperlink bot responses sent through Dialogflow Messenger? - dialogflow-es

I am trying to have links hyperlinked in my bot's response text but I can't seem to get it to work, and I can't find any resources online about it. The messages would be sent through Dialogflow Messenger.
I tried markdown hyperlinks and html anchor tags.

I think response text use a hyperlink tag as a pure text.
The another way is to write tag in accordion response.

Related

Docusign responsive signing text tabs

I have a form that has a few fields that need to be filled in for the last signer after 2+ people have already signed it. They cannot be prefilled as they are not known at the time the document is generated.
I'm sending an HTML document to the Docusign API and have it working great for the first set of signers. The problem is when I try to add text tabs to the document (<input data-ds-type="text" /> following this page) I receive a 400 error back from the Docusign servers with this error message:
Some of the supplied HTML tags, attributes or CSS properties on a guided forms tabs were not allowed. Disallowed: HTML attributes [input:data-ds-type]
How can I do this?
Check that your HTML is valid and all characters in it are correct.
The responsive signing HTML validator is much more strict than the one browsers typically have. a bad HTML will break the whole thing and won't let you create the envelope and the error message unfortunately right now is not as helpful as it can be, but I'll ask to improve this.

Adding HTML tags in Outlook add-in information message

How can I show an html anchor tag in
Office.context.mailbox.item.notificationMessages.addAsync method for "error" key? I have a scenario where user should be able to click on a link from this error message and navigate to a different page.
I tried embedding elements as it's display the 'Dismiss' hyperlink right next to these error message by default. However, this displays these tags as it is.
Please help.
Unfortunately, this capability is not supported for notification messages. They cannot display HTML content and will not honor anchor tags.

Link in telegram bot so the user can call a bot command

I'm writing a telegram bot but I have a question.
For now my bot will search for an image based on user request, but if I the bat found more than one image I want to send to the user a list of image with a link for search that iamge.
Eg.
/command mickey mouse
.... image 1....
I found more than one image, please be more specific
[link to image 2]
[link to image 3]
If the user will click the link I need to autosend message with the command and the name of the new image.
Is possible? I tried to add an hyperlink to the telegram api but i will open in the browser and send me a json with call status of the api.
For inline mode you can simply return a list of image results that will be displayed as kind of a popup on top of keyboard.
For conversation mode you have options:
1) Return images as inline keyboard attachment to a message with array of buttons each having callback_data parameter or switch_inline_query_current_chat or url parameter. Handle one of this to display the image.
2) Return message text as HTML with list of links in form of: image name
Then you can parse the start command and extract image ID. This has disadvantage that user would need to click the "START" button every time after he clicked the link.
You can use the 2nd approach with inline mode as well.
In my #DebtsTrackerBot I use both callbacks & switch_inline_query_current_chat for similar task.
We can vote the suggestion for TelegramBotApi: https://bugs.telegram.org/c/3901

How to remove HTML anchor tag in email body of Lotus Notes by programming

I'm trying to remove a link totally from an email body. I have no idea how by treating body as MIME entity. But I did try for a while in the body as rich text. Here is part of my codes:
RichTextNavigator nav = body.createNavigator();
RichTextRange range = body.createRange();
nav.findFIrstString("theLinkToBeRemoved");
range.setBegin(nav);
range.setEnd(nav);
range.remove();
But only the body inside anchor tags has been removed. For example:
google
actually becomes
after processing and sending email.
My question is how to remove the anchor tags completely. Thanks!
Did you also try with the FindFirstElement method of the RichTextNavigator class, looking for an element of type RichTextItem.RTELEM_TYPE_DOCLINK ?
Hmmm... I wonder, why do you need to remove links... It sounds like a managerial issue that's solved programmatically.
I found a beautiful solution: code.google.com/p/lnrt2html
It achieves the trick of conversion from rich text to html, rather than dxl/xml. And then we have many options to parse html data, such as Jsoup. After that, use this method to input your html string stream to MIMEEntity and send: MIMEEntity - setContentFromText

xpages forward o reply email

I need a solution, that when you press a button from a inbox xpages mail message, the new xpages is composed with the body and image and attachment of original inbox message (ckeditor control)
I nave found a Solution for passing HTML to ckeditor but not for attachment and inline image.
Have you any suggest?
P.S. the solution will need work in on-fly mode (without savind document before..so that when you foward an email with a classic webmail)
See my answer below on how to copy contents and images to a CKEditor on the fly:
https://stackoverflow.com/a/19328276/785061

Resources