URL in heroCard does not open a new browser window - botframework

We have a node js based app for message extension.
For the text param of the hero card we provide an with an URL in href.
In the chat or group chat, clicking the url does not open a new browser tab.
When we do the same thing in a team post the url opens a new tab.
We want the url in the card to open a new browser tab also in a chat and a group chat.

Related

Format of Teams Chat URL

I have an app that runs within Teams that shows a list of employees, name, email, presence, title and phone.
For the name column I would like to present it as a link that when clicked will open up a chat within the Teams desktop or mobile app with that employee. If there is an existing chat session, it should go to that, else create a new chat. It should not open the web client and go through the hassle of choosing to then open in the desktop app.
I was previously using this format:
https://teams.microsoft.com/l/chat/0/0?users=user#user.com
This caused the whole web client flow, so after some digging around I changed it to:
MSTeams:/l/chat/0/0?users=user#user.com
This seems to work for an existing chat but does not work for a new chat. The To: field at the top of the page is not completed.
Any ideas?
Thanks
Mar

Google Forms Response Confirmation Email Radio Buttons Not Rendering Properly in Outlook

If I fill out a Google Form with multiple choice radio buttons, I get this response email in Gmail on the web:
When I open this same email in the Outlook 365 desktop client, it looks like this (after I click "Click here to download pictures"):
Clicking "Click here to view it in a web browser" is entirely unhelpful and brings me to an unformatted mess of code in a web browser. Is there anything I can do to fix this as an end user so that the radio buttons show up as expected?

Navigate User from slack channel to app home tab

I am working on a slack app that can be installed in any channel. It is possible or is there any slack method that allows you to open the slack app home tab from the channel. I mean a method that can navigate the user from the channel to the slack app home-tab
Send a slack message to users with #appname. For example "Click here to open the #ACME Dashboard" (assuming "ACME Dashboard" is the name of your app). #ACME Dashboard will turn into a clickable link that jumps to the app home page. It'll also add the app for users that haven't already added the app.
At least, this worked for me in limited testing with myself and one other person, so I hope it works for you. I haven't tried to figure it out, but I'm sure there's a way to send the '#app name' as part of a message from the API.

Microsoft Teams response to message extension with open url action

I want to be able to open url with message extension in Teams. Is it possible?
What I can do so far is to response the message extension with an adaptive card which has a openurl action button then from the adaptive card, the user can click on the button and open the url. This way they user has to click twice to just open an url with message extension.
[Example code added]
Response to "composeExtension/fetchTask" bot activity with adaptive card wrapped in attachment in the task info.
final Attachment attachment = new Attachment().withContentType("application/vnd.microsoft.card.adaptive").withContent(
cardBuilder.createAdaptiveCard());
final TaskInfo taskInfo = TaskInfo.builder()
.title("Message extension using adaptive card")
.card(attachment)
.height(TaskModuleDimension.SMALL)
.width(TaskModuleDimension.SMALL)
.build();
return new BotActivityResponse(TaskType.CONTINUE, taskInfo);
Note: I am able to return just a TaskInfo with an url which opens a popup. However, what I want is to open url in a browser out of Teams app.

BotFramework Get count of button click ( OpenURL)

In our botframework chatbot application we have URLs ( buttons - OpenURL) which will redirect to website / mobile apps links. How we will be able to get the statistics or number of hits happened to a particular website URL.
Thank you
AMR
This is not possible in the bot. The "OpenUrl" protocol tells the channel to just open the link on the button. This doesn't trigger a message so the bot will not know that the button was clicked.
The only solution I can think of is creating a special url which will first log the action and then redirect the user to the requested webpage. But this solution requires you to setup your own website or api.

Resources