How to embed a custom SVG icon on Card View of an adaptive card?

Michelle 0 Reputation points
2023-03-07T18:38:33.1433333+00:00

Im creating a adaptive card that display information via API.

Its a primary text, large adaptive card, with no framework.

I want to know how to embed a custom SVG icon on Card View of an adaptive card (custom card not with card designer)?

Usually I use the Fabric UI icons but have to use custom icons. I cannot find any information on how to embed/assign a custom icon on a card view (not quick view).

Any tips or info would be appreciated.

Viva Connections
Viva Connections
A Microsoft Viva module that provides a gateway to a modern engagement experience.
85 questions
Microsoft Viva
Microsoft Viva
A Microsoft employee experience platform built on Microsoft 365 that brings together communications, knowledge, learning, resources, and insights.
66 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JimmyYang-MSFT 48,556 Reputation points Microsoft Vendor
    2023-03-08T05:42:12.6766667+00:00

    Hi @Michelle

    Viva Connections is mainly focused on the general issue of app troubleshooting. Since your question is also related to development, which is not in our support scope. I will remove our tag from your thread. Thanks for your understanding!

    For the guidance of your questions, I found this answer in the forum. You could check it to see if it is helpful to you.

    https://stackoverflow.com/questions/51248299/how-to-use-svg-images-in-adaptive-cards


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments