Skip to main content

Notifications

Copilot Studio - Topic Creation & Management
Answered

”:“ replace with "

Like (1) ShareShare
ReportReport
Posted on 22 Aug 2024 20:12:23 by
i have below json
{“$schema”:“​http://adaptivecards.io/schemas/adaptive-card.json",“actions”:[{“associatedInputs”:“none”,“data”:null,“title”:“Cancle”,“type”:“Action.Submit”},{“associatedInputs”:null,“data”:{“action”:“submitPreferences”},“title”:“Submit”,“type”:“Action.Submit”}],“body”:[{“choices”:null,“id”:“user_ip_icm_tkct_histroy”,“isMultiSelect”:null,“size”:“large”,“text”:"Select​ Link Status to get node details”,“type”:“TextBlock”,“weight”:“bolder”},{“choices”:[“{\u0022title\u0022: \u0022LinkUp\u0022,\u0022value\u0022: \u0022LinkUp\u0022},{\u0022title\u0022: \u0022SwitchDown\u0022,\u0022value\u0022: \u0022SwitchDown\u0022},{\u0022title\u0022: \u0022Misswire\u0022,\u0022value\u0022: \u0022Misswire\u0022}”],“id”:“preference”,“isMultiSelect”:true,“size”:null,“text”:null,“type”:“Input.ChoiceSet”,“weight”:null}],“type”:“AdaptiveCard”,“version”:“1.5”}
 
 
i want to replace ” with " and “ replace wit " and \u0022 with "
Categories:
  • Verified answer
    Expiscornovus Profile Picture
    Expiscornovus 31,012 on 23 Aug 2024 at 11:28:25
    ”:“ replace with "
    Are you using a flow in your Copilot?
     
    If that is the case you could use an expression like the below:
    replace(replace(replace(variables('Json'), '“', '"'), '”', '"'), '\u0022', '"')
     
    The test result
     

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

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,654

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,440

Leaderboard

Featured topics

Loading started