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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / URL Expression / Unencode
Power Automate
Unanswered

URL Expression / Unencode

(0) ShareShare
ReportReport
Posted on by 12

Hello guys, 

 

I'm using flow which gathers some data from email "html" body. I need to probably translate url but I'm stuck. 😞

 

Initialize Variable is outputing url in this format: https://domain.com/index.php?module=HelpDesk&view=Detail&record=645972

 

But correct URL should be: https://domain.com/index.php?module=HelpDesk&view=Detail&record=645972

 

it means I need to translate URL and get output without "amp;" in URL. Its there twice and I'm not sure what to do. Do you have any ideas how to get correct output / translate mentioned URL? 

 

Expressions in the image bellow are gathering this url from the body where "Link" is the output as shown above. 

 

img.PNG

 

The thing is adaptive card is unable to transform this url as for example Outlook does. 

 

Thanks a lot!

Categories:
I have the same question (0)
  • ccc333ab Profile Picture
    1,144 on at
    Re: URL Expression / Unencode

    How about doing a replace expression?  Something like: 

     

    replace(variables('Link'), '&', '&')

  • m_konecny Profile Picture
    12 on at
    Re: URL Expression / Unencode

    Hey ,  

    works like a charm! I'm just wondering is there a way to combine these two expressions? Just to minimize the number of needed variables...

     

    first(split(variables('ValueLink'), '">Kliknite')) 
    replace(variables('Link'), '&', '&') 

     

    This one doesnt work: first(split(variables('ValueLink'), '">Kliknite')), replace(variables('Link'), '&', '&')

     

    (Sorry I'm kinda new to this)

    @ccc333ab

  • Verified answer
    ccc333ab Profile Picture
    1,144 on at
    Re: URL Expression / Unencode

    I believe you are trying to do this...

    replace(first(split(variables('ValueLink'), '">Kliknite')), '&', '&')

  • m_konecny Profile Picture
    12 on at
    Re: URL Expression / Unencode

    You're right. Thanks a lot @ccc333ab 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard