cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aarvind1
Helper I
Helper I

Update a column in a Document Library that has some required columns

I am working on a workflow where I have a document library with about 12 columns.  About 6 of these have required fields.  I want to update one of the columns using Flows.  I am trying to use "Update File" and "Update file properties" to write back a date to a date column in the document library.  The issue I am running into is this is forcing me to provide information on all required fields. I do not want to alter any existing information that the user filled out.  I need help in only targeting the date column I have created from my flow to populate a date.

workflow.png

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User
Super User

Hi!

Since some columns are mandatory, you can perform a  'Get file properties' just before your 'Update file properties'. Use 'Get file properties' output to fill 'Update file properties'.

Unless your trigger is 'When a file is created or modified'... if so file column values are already trigger outputs, so no need to 'Get file properties', just assign trigger outputs to your 'Update file preperties' inputs

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

1 REPLY 1
efialttes
Super User
Super User

Hi!

Since some columns are mandatory, you can perform a  'Get file properties' just before your 'Update file properties'. Use 'Get file properties' output to fill 'Update file properties'.

Unless your trigger is 'When a file is created or modified'... if so file column values are already trigger outputs, so no need to 'Get file properties', just assign trigger outputs to your 'Update file preperties' inputs

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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 (889)