I have gotten most of my word document to fill using a Power App to start a flow and Automate to write to the properties of a SharePoint Library to fill the document. Where I am having issue is trying to create a faux table. I have looked thru the internet and it looks like you can build a regular table without premium so I am trying another way by concat the different columns and then push that to the document. Below is the code to send it to word:
Set(MissionCardNames,Concat(ShowColumns(colMissionCardTravelers,Traveler,Unit,StartDate,EndDate),Traveler,Char(10)));
Set(MissionCardUnit,Concat(ShowColumns(colMissionCardTravelers,Traveler,Unit,StartDate,EndDate),Unit,Char(10)));
Set(MissionCardDepart,Concat(ShowColumns(colMissionCardTravelers,Traveler,Unit,StartDate,EndDate),StartDate,Char(10)));
Set(MissionCardReturns,Concat(ShowColumns(colMissionCardTravelers,Traveler,Unit,StartDate,EndDate),EndDate,Char(10)));
'MARFORSOUTH-G37-MissionCard-CODIApp'.Run(ThisItem.ID,MissionCardNames,ThisItem.Title,MissionCardUnit,MissionCardDepart,MissionCardReturns)
It pushes the text to the SharePoint Library and each column is setup as multi-line. At first I had a couple set to single line and thought that was a problem but alas it wasn't. When I open the word document everything populates right except the different columns from above. The Name comes in correct and shows the breaks but the other three columns do not. They appear as a single line but when I look at the properties of the page it shows the breaks for each input. I am stumped. If anyone has any ideas I am open for them.
Update to the above. I created new Columns on SharePoint for the items above giving me issues. Then I readded them to my template. It works fine but if anyone has an easier trick still looking for suggestions.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional