Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Convert Outlook E-Mail Message ID into SharePoint Hyperlink

Posted on by 4

Hello,

 

i have a litte problem. I want to generate a powerautomate flow which save the Attachment of a Mail into a Document Libary in SharePoint (this was easy 🙂 an additional create a colum with a link to the e-mail objekt. The Problem is the hyperlink is not correct it muss be converted to html hyperlink.

 

My Flow:

flow-1.PNG

My SP Libary:

flow-2.PNG

And my problem:

flow-3.PNG

I think i need to convert the "Messeage ID" but i don´t no how it works... but i found this information... 

encodeUriComponentGibt eine Zeichenfolge zurück, die URL-unsichere Zeichen durch Escapezeichen ersetzt.

 

I hope somebody can help me... Thanks a lot.

  • abm abm Profile Picture
    abm abm 32,213 on at
    Re: Convert Outlook E-Mail Message ID into SharePoint Hyperlink

    Hi @Huber 

     

    Try expression encodeUriComponent

     

    Thanks

  • Huber Profile Picture
    Huber 4 on at
    Re: Convert Outlook E-Mail Message ID into SharePoint Hyperlink

    Hello,

     

    unfortunately only the end of the string is converted correctly. The characters - are not replaced by% 20, what can I do now?

     

    flow-5.PNG

     

    flow-6.PNG

     

    Thank you.

  • abm abm Profile Picture
    abm abm 32,213 on at
    Re: Convert Outlook E-Mail Message ID into SharePoint Hyperlink

    Hi @Huber 

     

    Once you typed the expression click the Dynamic content and map the field, then click ok.

  • Huber Profile Picture
    Huber 4 on at
    Re: Convert Outlook E-Mail Message ID into SharePoint Hyperlink

    Hello,

     

    the problem is that the message ID field cannot be built into the function. Do I have to convert it to a variable beforehand? Or what am I doing wrong here?

     

    flow-4.PNG

     

    Thanks a lot...

  • Krishna92 Profile Picture
    Krishna92 on at
    Re: Convert Outlook E-Mail Message ID into SharePoint Hyperlink

    @Huber 

     

    Please try using Uricomponent() function and pass the hyper link value as a parameter to that function.

    UriComponent('Hyperlinkvalue')

     

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#uriComponent

    Please refer to above link for more information regarding the same.

     

    If this information helps you with resolution, please consider giving a thumbs up and mark the solution as resolved.

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

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,651

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,727

Leaderboard

Featured topics