cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Data dont fill in the Word document

Hello, im building a powerapp, which is basicly a form. My flow should get the data, write it in the Excel table and create a PDF from a Word template. I can see it fills the data in Sharepoint library but the template and the PDF are both empty. I have the XML fields in Word (fast particles). I think there is something wrong with the template file Pruvodka_new.docx since its values are all empty. Thx for help.flow.PNG

 

sharepoint.PNG

 

 

 

 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Data dont fill in the Word document

So re-did the flow from scratch and it is working. No Idea what was the problem. Thx for help. You guys are awesome!

View solution in original post

11 REPLIES 11
Highlighted
Super User III
Super User III

Re: Data dont fill in the Word document

Hi @Pechy92 

 

Most likely this might be a timing issue. Add a Delay action step after the create file. 

image.png

 

Thanks 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Highlighted
Solution Specialist
Solution Specialist

Re: Data dont fill in the Word document

Hi @Pechy92 ,

 

If I get it right you are populating word file with repetitive data in it. Please go through the following url to populate a word template 

 

https://www.briteglobal.com/blogs/community/generate-document-templates-in-cds-using-flow/

 

Thanks

Highlighted
Frequent Visitor

Re: Data dont fill in the Word document

Doesnt work. Even 5 minutes delay did not help 😕

Highlighted
Super User III
Super User III

Re: Data dont fill in the Word document

Hi @Pechy92 

 

Thanks for your reply. Could you please check your run history and see the Create file SharePoint is successfully done or not. Also expand every single step and do an inspect.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Highlighted
Frequent Visitor

Re: Data dont fill in the Word document

Hi, 

 

Sharepoint created the file but it is empty.

 

He are expanded steps.

 

Thx for helping.

1.PNG

 

2.PNG

 

Highlighted
Super User III
Super User III

Re: Data dont fill in the Word document

Hi @Pechy92 

 

 

Try the following for the Get File content using the identifier.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Highlighted
Frequent Visitor

Re: Data dont fill in the Word document

Nothing 😞

 

Files created, data filled in Sharepoit library, fields in files empty 😞

3.PNG

 

Highlighted
Super User III
Super User III

Re: Data dont fill in the Word document

Hi @Pechy92 

 

I tried exact steps as you followed except the XML file you mentioned in the post. It did worked as expected. Could you please explain more about the docx file?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials
Highlighted
Community Support
Community Support

Re: Data dont fill in the Word document

Hi @Pechy92,

 

Your template doc file (Pruvodka_new.docx) is empty, right? 

I think the reason why the doc file and PDF file created are empty is that you didn't put the data in. In your Flow, I don't see any steps to place the data.

If you want to make these data in the Excel file could append into the doc template, you should use the following action:

 

Annotation 2020-06-11 142308.jpg

 

If you not familiar with it, please refer to the tutorial provided by @ManishJain.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Frequent Visitor

Re: Data dont fill in the Word document

So re-did the flow from scratch and it is working. No Idea what was the problem. Thx for help. You guys are awesome!

View solution in original post

Highlighted
Super User III
Super User III

Re: Data dont fill in the Word document

Hi @Pechy92 

 

Thanks for the update and fantastic news.

 

If your problem has solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,020)