cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Inserting image into word template to generate a document

Is it possible to create a document with image captured from Powerapps using Flow and Powerapps (no 3rd party apps)

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

16 REPLIES 16
v-bacao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Do you want to get the image from PowerApps, then create a document via Flow and insert the image into this document?

Could you provide more details about your needs?

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-bacao-msft ,

Thats correct,

I want to collect signatures using powerapps and then generate a offical document with the signature in the document along with other information collected via powerapps.

 

Currently I'm using powerapps, Sharepoint, workflows and flow to generate the document but this does not allow me to add images. I've managed to find that Word Online connector can be used to generate documents from a template document using text content control but i was wondering if i can do the same with images that is passed on.

 

Regards,

Sub

Anonymous
Not applicable

Image content control has been added to word connector
https://docs.microsoft.com/en-nz/connectors/wordonlinebusiness/

Hi there,

 

I have been playing with this for a long time, but is very confusing.

 

Would you mind to explain a little bit for a new guy?

 

What I have so far is:

 

I have created an app where I collect the data and using a flow I can populate a word template and pass the data. But I am having difficulties trying to add the pictures collected and saved in my share point folder associated with the record inserted in the same word document.

 

 

Could you plese point me in the right direction?

 

Thanks in advance,

 

Regards

@sajarac Were you able to get this to work? I have been trying the same thing but no luck so far.


@sajarac wrote:

Hi there,

 

I have been playing with this for a long time, but is very confusing.

 

Would you mind to explain a little bit for a new guy?

 

What I have so far is:

 

I have created an app where I collect the data and using a flow I can populate a word template and pass the data. But I am having difficulties trying to add the pictures collected and saved in my share point folder associated with the record inserted in the same word document.

 

 

Could you plese point me in the right direction?

 

Thanks in advance,

 

Regards


 

Anonymous
Not applicable

 

Hi @sh020ho / @sajarac 

 

If you adding 1 image this should be easy to do

  1. Add Image control to template
  2. Save the image to SharePoint
  3. Use 'Get file content' action in flow to get the Image encoded bit stream.
  4. Add the output of the 'Get File Content' into the Word Template action in flow
  5. this should work, below is screenshot of my template action in flow

44456ss1.png

Thank you very much for your help!

 

Thank you. In my solution, I am trying to add multiple images from SP library to the word document.
Anonymous
Not applicable

Is it a Static number of images (in my case I have 3 images being added) or is it more dynamic?

  • If its static then just repeat what I mention.

Sorry looks like Nested Image Controller, Once that has been implemented the below should work.

If it is dynamic then you will need to add the Image Control in a Repeating Section Control and then you will need to tag all the images in a way so that when you do a 'Get Items' action that you're able to get only the items that are required.

 

Then add these into a Object Array (you'll need to do a 'Get File Content' for each file) and then add this Array into the Word Template action.

 

Reference:  Word Online (Business) Connector Document 

 

Sorry I havn't done this with images yet but I think if the above should work. Please let me know if it does, otherwise i'll try and this myself when I have some free time and post my example.   

Thank you again......"when I have some free time and post my example. " I hope you can upload a sample because this is not simple for a new guy.

 

Much appreciated!!!!

Unfortunately, it is not static. The image file is passed to SP as a part of an checklist and each audit can have multiple images. (N is varying). I am able to extract text by making use of arrays but cannot seem to do this with images.
If you do find some time and help that would be great as I am new to this.
Note: Text data is in SP LIST and images are in SP library.
Anonymous
Not applicable

@v-bacao-msft,


@sh020ho wrote:
Unfortunately, it is not static. The image file is passed to SP as a part of an checklist and each audit can have multiple images. (N is varying). I am able to extract text by making use of arrays but cannot seem to do this with images.
If you do find some time and help that would be great as I am new to this.
Note: Text data is in SP LIST and images are in SP library.

From my understanding to make this happen Image Controls need to added into a Repeating Section Control. But from the MS Flow Connectors Docs it mentions that Nested Image controls not supported yet, is there a timeline on when this will be? 

@v-bacao-msft any update on this? I can see no workaround to have repeating images by row in tables via a flow.. Is this a planned or soon to be implemented feature?

 

Do you have a suggestion or work around for now?

Have the same issue. Can't find a way to use an image on a list and put it into a word template.

rolivier
Helper I
Helper I

Would also really like to see this functionality added.    Need some sort of way to have repeating images.  

GPronnya
Helper II
Helper II

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,893)