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 / Copilot Studio / Convert string spaces ...
Copilot Studio
Unanswered

Convert string spaces into %20%

(1) ShareShare
ReportReport
Posted on by 6

Dear Team,

 

I would like PVA to speed up support work by providing a direct link to multiple web sites (KB, Jira, Bugzilla, etc).
I have the search strings with the needed parameters but once a user provide an error string and save it as variable it is breaking the link due to the spaces.

See an example:

raznas_0-1641376304169.png

I have did some research and can see recommendations of using 'replace(variables('test'),' ','')" from power automate but could not make it work...

Can anyone provide another solution to the above (converting spaces to %20%) or a step by step guide to achieve that?

Any help will be greatly appreciated.

 

Thank you,

Shlomi

Categories:
I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @raznas ,

     

    We were doing a similar discussion here: Re: Bug with copy and Paste links - Power Platform Community (microsoft.com)

    But in your case, I recommend you to use Markdown within the Power Automate conversation:

    Use markdown to format Power Automate approvals - Power Automate | Microsoft Docs

     

    HTTP and HTTPS URLs are automatically formatted as links.

    You can set text hyperlinks for your URL using the standard markdown link syntax:

    Markdown
    [Link Text](Link URL)
    

    Example:

    Markdown
    [Power Automate](https://flow.microsoft.com)
    

    Result:
    Power Automate

  • raznas Profile Picture
    6 on at

    Thanks   

    My problem is that the text is coming as variable:
    https://www.support.com/search/en-us#q={x}bot.ErrMessage

     

    I cannot add the variable into the link.

    Any suggestion on that?

     

    Thanks again,

    Shlomi

    @renatoromao

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

     

    You can copy/paste the sentence below within your output in the Flow:

    [Open here](https://www.support.com/search/en-us#q=@{variables('test')}) 

     

    You will see your variable added to the Power Automate action.

     

    pva-link-markdown.png

    Hi @raznas ,

  • raznas Profile Picture
    6 on at

    Thanks @renatoromao 

     

    Does it has to go via Power Automate?  Can't I use it directly at the message section at PVA?

     

    Kind regards,

    Shlomi

     

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    @raznas ,

     

    Yes, via Power Automate. 

    If you are using only PVA, you have a limitation to generating a link as we are doing.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 410

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 160 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 63 Super User 2026 Season 1

Last 30 days Overall leaderboard