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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,435)