![]() ![]() I can't remember the exact syntax for this, but its something to the effect of variables('varPhotoArray'), variables('varPhotoArray'), variables('varPhotoArray'), etc where the numeric value is the image's position within the array.From here, you need to access positions within varPhotoArray and place them into the template.This will "pad" the image array with the defaultImage.jpg until the number of images = the number of placeholder images in the template.Get file content by path and grab the defaultImage.jpg file from Site Assets.Do until varCounter is equal to 4 (or what ever the max photos is in the Word Template).Create a new Do until action outside the Apply to each loop.This will place the 0 to 4 attachments that may be present in Sharepoint into an array variable. ![]() Next, add formatting and images to the document. The process begins with creating a document. It can be a simple business card, resume, or a multiple page proposal. Microsoft Word allows users to create both simple and complex templates to suit their needs from the list of free Office templates. Initialize Variable ( varCounter, Number) Customizing and Creating MS Word Templates.Initialize Variable ( varPhotoArray, Array).This will be the default image placed into the template when the # of Attachments the number of placeholder images.Place a defaultImage.jpg file in the Site Assets folder.If you have a Microsoft Word template with say, 4 image placeholders, you will need to plug in 4 images every time or the Populate Word Template action in Flow will fail. The proper way to handle this is quite complex. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |