Hello Community,
I have a client requirement where the client would like to be able to print either the entity record displayed on the portal web page entity form or web form as PDF. Is this possible, and how can this be achieved?
So for example, when viewing the entity record on the portal web page, how can we provide users with the ability to print the record to a PDF?
Any pointers are appreciated.
Thanks!
Hi @Anonymous ,
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:
Please check if you have selected proper editable component from your Portal Design.
In addition, you could also consider go to your Portal Management, then find your Web Page you want to put the "Print" button under the Web Pages Menu, and open it:
Then click the Content Page under the "Localized Content" section for your opened Web Page:
then go to the "Copy (HTML)" part, switch to "HTML" tab, type the related HTML code and JavaScript code there:
then click "Save" button. After that, go to your Portal Design, click "Sync Configuration" button-> "Browse website", then check if the issue is solved.
Best regards,
Hi
in this post I talk about printing exactly a part of the page, in my example an entity list, with also an option to add a logo to your printable version: http://oliverrodrigues365.com/2018/04/25/dynamics-365-portals-exporting-content/
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hi @hardikv ,
Yes, I have read the blog (https://readyxrm.blog/2020/05/07/adding-a-print-button-to-a-power-apps-portal-page/) and tried to follow the same steps as suggested in the blog to add the following in the source code editor of the web page.
Paste in the following code:
However, when I do that, the "save" button on my source code editor is greyed out and basically it's not allowing me to save the above changes.
Would you have any ideas as to why it's happening like that?
Thanks!
Hi @Anonymous
You can print the web page in PowerApps Portal.
Please refere below blogs for Print the WebPage:
https://readyxrm.blog/2020/05/07/adding-a-print-button-to-a-power-apps-portal-page/
https://www.engineeredcode.com/blog/power-apps-portals-print-invoices
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional