I have created a canvas app that collects user data and populates a word document, then converting it into a PDF. This PDF gets stored in the Onedrive.
Issue: Everytime the user feeds data and submits the document, the same document is getting refreshed instead of new pdf file generation. I need the user to enter a filename manually and then to submit the form to get saved sepeartely.
Could you share more details with your apps? Screenshots, Codes, Data source?
How did you populate the word document and convert to PDF? By flow? Could you share the steps?
More information is needed to provide further assistant.
Looking at your video, if you want people to be specifying the end file name, I'd suggest using a combination of IsBlank, Notify and SetFocus. This would be included in the OnSelect property of your final button.
If(IsBlank(<FieldName>),Notify("Enter a file name",Error);SetFocus(<FieldName>),
Where <FieldName> is your text input.
I'd also consider having another step in your flow to check for the existence of the file name already in the eventual directory. If it already exists, have it add an increment after the file name to differentiate and not lose data.
If you have only 2 or 3 parameters passed from PowerApps to PowerAutomate and it doesn't seems that you'll need the word document after the PDF file creation, why don't you reconsider your solution and use html code instead to create in OneDrive the data for PDF file.
In this way you have the possibility to name your file as powerapps parameter.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Your chance to join an engaging competition of Power Platform enthusiasts.
The Super User program for 2022 - Season 2 has kicked off!
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.