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

Update File Properties - Show blank on word doc if source SharePoint list reference is empty

Hello!

 

I am working on populating a word document based on a SharePoint list.  I'm trying to avoid using the word premium connector so I'm using a series of steps:

 

(Triggered from PowerApp)

1. Get Item (get SharePoint list data to populate file)

2. Get File Content (word template - not an official template file but a .docx file)

3. Create File (creates new file to populate and not overwrite the template)

4. Update File Properties (updates based on another SharePoint List)

 

QUESTION:  In the resulting word file, how do I populate blank values for any reference that is blank in the SharePoint list?  Currently the resulting file has visible document properties so it is confusing to someone looking at the document.   

 

Here's an example below - I'd like the "Original" and "Current" table items to be blank since there is nothing in the reference list and not display "[OriginalDueDate]" and "[CurrentDueDate]"

 

 ExportCapture.JPG

 

Any tips are much appreciated!  Or any other ideas on how I can work around the premium word connector to achieve this!

 

Thanks!

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Super User
Super User

Hi @AppsBuilder310,

 

While not the most sophisticated approach, you could simply enter a single empty space character (' ').

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

1 REPLY 1
ChrisPiasecki
Super User
Super User

Hi @AppsBuilder310,

 

While not the most sophisticated approach, you could simply enter a single empty space character (' ').

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,638)