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 Apps
Answered

HTML to PDF links

(0) ShareShare
ReportReport
Posted on by 10

Hi everyone, 

 

I create some PDF with HTML using a Power Automate flow, in the html i have some images with links. They work fine but i want the link to open in a new tab. I tried using rel='noopener noreferrer' target = '_blank' but it does not work for me. Is there a way to achieve that? This is the code:

 

<a href='" & link & "' rel='noopener noreferrer' target = '_blank' ><img src=" & image & " style='width: 60px; height: 60px;'></a>

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    Jonathan Manrique Profile Picture
    2,695 on at

    Hi @Ivantg 

     

    This should suffice

    <p>Please click on the following link:</p>
    <a href="https://www.example.com" target="_blank">Link</a>

     

    Replace the URL with your URL which can come from a variable or a previous output and you are done.

    If it doesn't open in a new window it may be because of your browser, try it in another browser

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution
    Follow me on Linkedin, I talk about Power Platform
    www.linkedin.com/in/jonathan-manrique-rios

     

     

  • Ivantg Profile Picture
    10 on at

    Sorry @Jmanriquerios  for the late response. I already had the target = "_blank" and it does not work for me. Do you know if it can be done in another way?

  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @Ivantg 

     

    Check your browser settings to see if when you click a link it opens a new tab or if it doesn't allow it.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution
    Follow me on Linkedin, I talk about Power Platform
    www.linkedin.com/in/jonathan-manrique-rios

     

     

  • Ivantg Profile Picture
    10 on at

    If it's related to browser settings i can't do anything for my case. I will mark your first answer as solution.

     

    Thanks @Jmanriquerios 

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard