Is it possible to generate PDF from a SharePoint list item with all the form data when an item is saved into SharePoint?
I've looked into the option RenderListDataAsStream. but I guess this only converts word documents into stream
Solved! Go to Solution.
I have generated a pdf, meeting my requirements. But, I face a isuue in saving each user submission as a different pdf file. Now, the same file is getting refreshed.
How to create a flow that automatically saves with same filename or to prompt the user to enter the filename along with date?
Vigneshraj C T
Sorry for not being able to help you, I abandoned this project since the word connector is premium, I don't want to pay additional for something that should already be included.
Thank you very much! I have this working now after many tries; many ways.
I still have an issue, however. My field from my Sharepoint list is an HTML text field. So, my PDF is showing all code instead of a nice clean printout.
To clarify, my content originates in a SharePoint list Enhanced Rich Text field. It is then assigned the property of HTML text in my Power App and presents beautifully. Not so much in the PDF.
Any thoughts on the best approach to fix this?
Thanks for your suggestion, but unless i don't understand, that is a premium connector to which I don't have access. I did try...no luck.
I've been trying to accomplish this. I'm running into an error on the Create HTML table, BadRequest The 'from' property value in the 'table' action inputs is of type 'String'. The value must be of type 'Array'.
I don't quite understand this. I'm not a programmer. Any ideas? Any assistance is greatly appreciated.
It seems like is an error in the JSON structure,
Watch this video and probably you will get a better idea,
Watch the video first and understand how the data is connected between PA and Flow. You can Parse any value form PA to your document using the JSON structure.
I am not a programmer too, And I had many fail attempts until I did it step by step. Not quite easy but doable.
Thank you for the video, it helped. I was able to add the initialize variable for the array. Now, I just have to figure out where it placed the PDF file!
Found the PDF file. However, it only has the word Title in it. So I will continue to play around with it to see if I can get the data into the file. Thank you for your help in pointing me in the right direction.
Glad to help.
this site can help you building your tables.
And if you only can see Title, probably is not correctly mapped.
@itrole_44 - can you share your initialize variable and create HTML table? I'm initializing a variable of integer type from my the ID of my sharepoint list get item. the HTML table doesn't like that as it wants the array type. I'm not using PA so i'm not sure what i'm missing here.
When I try to do this Convert File only allows me to choose files from my personal OneDrive for Business:
and not from the Sharepoint location where the file is stored:
How can I tell him to look for the files in Sharepoint rather than in my personal account of OneDrive (for Business)?
Check out new user group experience and if you are a leader please create your group
May the fourth be with you, join us online!
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.