question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[JavaScript] Network type URL's don't render properly in adaptive cards

See original GitHub issue

Platform

  • JavaScript

Author or host

Host Name : Microsoft Search

Version of SDK

“adaptivecards”: “2.0.0-rc.0”

Details

The link for below adaptive card doesn’t render properly :

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.3",
    "body": [
        {
            "type": "TextBlock",
            "text": "[abc.docx](\\\\MININT-O7QDU1Q.fareast.corp.microsoft.com.microsoft.com\\IgniteDemoShare\\abc.docx)",
            "wrap": true
        }
    ]
}

On inspecting. the href is not correct :

href="%5CMININT-O7QDU1Q.fareast.corp.microsoft.com%5CIgniteDemoShare%5Cabc.docx"

image

Ideally it should be :

href="\\MININT-O7QDU1Q.fareast.corp.microsoft.com\IgniteDemoShare\abc.docx"

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
paulcam206commented, Feb 4, 2021

Hey @atishayv – have you tried this using file://machine-name/share?

Actually, it looks like won’t work either.

0reactions
RebeccaAnnecommented, Jun 3, 2021

This is not supported by Markdown-It so it is not something we support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

adaptive card js rendering - card not supported
1 Answer 1 ... The json object your bot responsed, is a hero card not an Adaptive Card. So the javascript sdk throw...
Read more >
Render a card - JavaScript SDK - Adaptive Cards
Here's how to render a card using the JavaScript SDK. ... OpenUrl", "title": "GitHub", "url": "http://github.com/Microsoft/AdaptiveCards" ...
Read more >
Using Adaptive Cards with the Microsoft Bot Framework
Introduction. Adaptive Cards are a way to present a self-contained UI to a user within a larger UI such as a chat client....
Read more >
Action submit adaptive card. Ceepert, Instead of trying to do ...
1 I am trying to find a way to disable the Action. 0 adaptive card js rendering - card not supported. 3) Form...
Read more >
Links - Usability & Web Accessibility - Yale University
When linking a URL, consider users who must speak it out loud and who must listen to a screen reader announce it. Fallbacks....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found