I would like to create an extra SharePoint list for the page/processing form for customers and fitters and display it here.
When the form is completed, it should be saved in a SharePoint list and, if possible, converted into a PDF form and sent by e-mail.
This can be achieved in two ways, depending on limitations to use premium connector or working with work arounds.
In any case so far PDF Generator function (Experimental) has been sleek function to generate PowerApps forms-based PDF.
** Note: Solution mentioned sole relies in PDF function to generate PDF binary object and subjected to all conditions and limitations applicable to function's experimental state.
Implementation of PDF Function in Sharepoint Online List form by customizing them in PowerApps
PdfContent: A variable that stores the generated PDF content.
PDF(SharePointForm1, {ExpandContainers: true}): The PDF function generates a PDF of the specified form (SharePointForm1). The {ExpandContainers: true} option ensures that all containers in the form are included in the PDF.
Step 3: Configure the Attachment Control for Downloading the PDF
Add an Attachment DataCard to the screen (or use an existing attachment control).
Set the DisplayMode property of the DataCard to View to make it read-only.
Set the Item property of the attachment DataCard to the following:
{Name: PdfContent, Value: PdfContent}
Explanation:
{Name: PdfContent, Value: PdfContent}: Defines the item in the attachment control as the PDF content generated in Step 2.
Ensure that the attachment DataCard is only visible after the PDF is generated:
Set the Visible property of the attachment DataCard to PdfContent.
Step 4: Download the PDF
After clicking the "Print" button, PowerApps generates the PDF and stores it in PdfContent.
Once the PDF is generated, the attachment DataCard will become visible.
Users can click the attachment DataCard to download the PDF file.
Summary
Print Button: Initiates PDF generation of the form.
Attachment DataCard: Becomes visible after PDF generation and allows users to download the generated PDF.Implementation of PDF Function in Sharepoint Online List form by customizing them in PowerApps
PdfContent: A variable that stores the generated PDF content.
PDF(SharePointForm1, {ExpandContainers: true}): The PDF function generates a PDF of the specified form (SharePointForm1). The {ExpandContainers: true} option ensures that all containers in the form are included in the PDF.
Step 3: Configure the Attachment Control for Downloading the PDF
Add an Attachment DataCard to the screen (or use an existing attachment control).
Set the DisplayMode property of the DataCard to View to make it read-only.
Set the Item property of the attachment DataCard to the following:
{Name: PdfContent, Value: PdfContent}
Explanation:
{Name: PdfContent, Value: PdfContent}: Defines the item in the attachment control as the PDF content generated in Step 2.
Ensure that the attachment DataCard is only visible after the PDF is generated:
Set the Visible property of the attachment DataCard to PdfContent.
Step 4: Download the PDF
After clicking the "Print" button, PowerApps generates the PDF and stores it in PdfContent.
Once the PDF is generated, the attachment DataCard will become visible.
Users can click the attachment DataCard to download the PDF file.
Summary
Print Button: Initiates PDF generation of the form.
Attachment DataCard: Becomes visible after PDF generation and allows users to download the generated PDF.
Was this reply helpful?YesNo
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.