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

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!



Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,959)