cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DHAGZ
Helper III
Helper III

ATTACHMENTS

Good Day!

Asking for Help.

 

How to view attachments PDF display in HTML Text then click  the the PDF Show in  PDF viewer
Is it possible ?


HtmlText Code :

Concat(
LookUp(
SPLIST,
ID = RECORD_ID).Attachments,"<a href= '" & AbsoluteUri & "'>" & DisplayName & "</a></br>")


attch.png

 

thanks and advance

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi @DHAGZ,

Do you want to click the PDF file in the HTML and display the selected PDF file in the PDF viewer control?

Actually, you could make the html text clickable in the HTMLText box and navigate you to a page where display the PDF file in a browser. However, there is not any parameter that you could refer to so that you could pass the HTMLText.Selected value.

I don't think you could get the value in the HTMLText box, you could add a Label, and try to get the value you entered in a HTML input into this label. I have made this test and I can tell you that I could only got the <input type=text> in my Label.

If you want to make the HTMLText select and display the selected PDF file in the PDF Viewer, I am afraid that there is no way to achieve this currently in Power Apps.

I would suggest you add an idea in PowerApps Idea forum to ask if this limitation could be extended for future release:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

Best Regards,

Qi

Best Regards,
Qi

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,152)