web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : X6dW3tX57+BVy+z3dM04S1
Power Automate - General Discussion
Answered

Update File Properties - Ignore required fields

Like (0) ShareShare
ReportReport
Posted on 7 Nov 2022 15:37:40 by

Hi,

I have a flow that when a file is created it updates the managed metadata for the file. I have 4 fields:

Subject Type

Document Type

Internal

External

 

The flow will give the Subject Type a value automatically based on the folder it is placed in (this works fine). The issue is Internal and External are both required fields, which given the fact the file is new are empty and saying in the sharepoint site:

jamesp24_0-1667834982769.png

 

I wish it to continue saying required info as the user will need to update these manually in due course and it flags on the sharepoint site this needed so team admins can make sure people are tagging correctly.

The problem is that the update file properties flow is failing saying: You must specify a value for this required field. because I am not providing values for the other required fields. Is there a way I can get it just to update the one field and ignore the other fields that need values?

jamesp24_1-1667835373633.png

 

 

  • Verified answer
    v-chengfen-msft Profile Picture
    on 08 Nov 2022 at 06:15:51
    Re: Update File Properties - Ignore required fields

    Hi @jamesp24 ,

    Here is a test for your reference:

    Here is library:

    vchengfenmsft_3-1667888090360.png

    Uri:

    _api/web/lists/GetByTitle('')/items('')

     

    Headers:

    IF-MATCH: *

    X-HTTP-Method: MERGE

    content-type: application/json;odata=verbose

    Accept: application/json;odata=verbose

     

    Body:

    {'__metadata':{'type':'SP.Data.TestforMoveItem'},

    'Test':'aa'

    }

     

    vchengfenmsft_4-1667888090373.png

     

    Here is result:

    vchengfenmsft_5-1667888090377.png

     

    Best Regards

    Cheng Feng

  • jamesp24 Profile Picture
    on 07 Nov 2022 at 17:06:09
    Re: Update File Properties - Ignore required fields

    I have been reading and apparently Send an HTTP request is a way around things as you can only send one field update? But I can't seem to get the correct method to make it work. Any ideas here?

    jamesp24_0-1667840663206.png

     

    jamesp24_1-1667840747698.png

     

     

  • ScottShearer Profile Picture
    25,236 Most Valuable Professional on 07 Nov 2022 at 16:14:10
    Re: Update File Properties - Ignore required fields

    @jamesp24 

    I am not aware of any way around your issue.  You might consider using default values for theses columns.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete