cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
clausbusk
New Member

When generating a mail from a SharePoint list with links to items hyper link doesn't work

I have a SharePoint list from which I generate an email. I generate a HTML table with the contents which seems to work fine. If I just add Link to Item in my mail everything works but looks ugly as the link is quite long. If i add <href="Link to Item">some text</a> instead the link doesn't work. Reason seems to be that the following is added to the link. Is that a bug or should I do something different?

file:///Applications/Microsoft%20Outlook.app/Contents/Frameworks/EmailRendererKit.framework/Resources/;https://link that works without the a href around it...

1 ACCEPTED SOLUTION

Accepted Solutions

Resolved this as the syntax should be <a href='link to item'>text</a> rather than <a href="link to item">text</a> 

View solution in original post

5 REPLIES 5
grantjenkins
Community Champion
Community Champion

Is that exactly how you have your hyperlink? If so then you just need to change the start of it slightly.

 

<href="Link to Item">some text</a>

//Should be

<a href="Link to Item">some text</a>


----------------------------------------------------------------------

If I've answered your question, please mark the post as Solved.

If you like my response, please consider giving it a Thumbs Up.
clausbusk
New Member

Thank you for the reply. Obviously my bad. My link looks like this

clausbusk_0-1670328465518.png

and produce what is mentioned in the first post

Resolved this as the syntax should be <a href='link to item'>text</a> rather than <a href="link to item">text</a> 

I just tried with Link to item and works successfully for me when adding into an email.

 

Can you ensure you've switched your email body to HTML mode (clicking on the </> in the Body).

 

grantjenkins_0-1670333491647.png

 

grantjenkins_1-1670333511047.png

 



----------------------------------------------------------------------

If I've answered your question, please mark the post as Solved.

If you like my response, please consider giving it a Thumbs Up.

Just saw your post now - nice that you got it working 🙂



----------------------------------------------------------------------

If I've answered your question, please mark the post as Solved.

If you like my response, please consider giving it a Thumbs Up.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,596)