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:
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?
Hi @jamesp24 ,
Here is a test for your reference:
Here is library:
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'
}
Here is result:
Best Regards
Cheng Feng
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?
I am not aware of any way around your issue. You might consider using default values for theses columns.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2