web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to escape double q...
Power Automate
Unanswered

How to escape double quotes in an adaptive card

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to display the title from a vstfs work item in the adaptive card.  If the title contains double quotes, it cuts off the string at the first quote.

Are there examples on how to escape this so i can display the entire string?

e.g. Title: Test "work" item

Thanks.

Categories:
  • MatthewHolmes Profile Picture
    25 on at

    Hi @anuchinta ,

     

    The single quote mark ( ' ) is used to escape characters in Microsoft Flows.

     

    '"Work" should output "Work", but you may have to add a second escape i.e. '"Work'"

  • anuchinta Profile Picture
    Microsoft Employee on at

    @MatthewHolmes , thx for your reply.  It does not seem to work.  Is there a way to replace the double quotes with space chars?

  • MatthewHolmes Profile Picture
    25 on at

    So I tested this out using the Adaptive Card designer, and it automatically adds a back slash (\) before double quote marks. I would give that a go! https://adaptivecards.io/designer/

    2019-09-23_13-31-53.png

  • MatthewHolmes Profile Picture
    25 on at

    Hi @anuchinta ,

     

    If I was able to resolve your issue, could you please mark the thread as resolved? This will help people having similar troubles to find this thread, and hopefully resolve their issues too.

     

    Cheers

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard