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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Make Value of document...
Power Automate
Unanswered

Make Value of document library as null

(0) ShareShare
ReportReport
Posted on by 240

Hi All,

I have List A in which I am putting value of "WCCPDEP Phase "column and manually running flow on click of button, the flow is updating the value of "WCCPDEP Phase "column in document library B

I am able to fill the values of document file which is in document library B using "send an Http  action" but when I am not passing any value  in "WCCPDEPPhase" then it should remove the old value i.e "Phase 2", how to do that?

 

lib1.PNGlib2.PNG

@Expiscornovus Can you help on this?

Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @PowerUser0,


    I haven't had the chance to test this yet, but can you try and use null?

    https://sharepains.com/2019/03/07/microsoft-flow-how-to-clear-fields-in-sharepoint-list-items/

     

     

  • PowerUser0 Profile Picture
    240 on at

    Hi @Expiscornovus  Thanks for your help but this is not working for "Managed metadata " type column

     

    Thanks

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @PowerUser0,

     

    Did you type the string value null or did you add null as an expression? (aka undefined).

     

    The latter works for me in my test environment. Let me know if that also works for you.

     

    testclearmmsvalue.png

  • PowerUser0 Profile Picture
    240 on at

    Yes I tried this by creating a variable and assigned that as a NULL value but this is not updating the value which is already assigned in the column.

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @PowerUser0,

     

    Just to double check? Does your MMS column allow multiple values? 

     

    I have tested this approach with a single value MMS column.

  • PowerUser0 Profile Picture
    240 on at

    Hi @Expiscornovus 

     

    No it allows single value only

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @PowerUser0,

     

    Thanks for your response. Let me retest again in my environment. I just noticed you were using a document library. I was using a list in my example.

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @PowerUser0,

     

    Just retested it with a document library, the approach is also working on a document library for me.

     

    Maybe it is related to some other setup. Is there any specific settings you are using in your library? Is for instance Content approval enabled? And I would also be interested in the setup of your MMS column as well.

     

    In addition to that could you copy/paste your body of your HTTP action in this thread? I am using the body below in my testing:

     

    {
     "formValues": [
     {
     "__metadata": { "type": "SP.ListItemFormUpdateValue" },
     "FieldName": "WCCPDEP_x0020_Phase",
     "FieldValue": "@{null}"
     }
     ]
    }

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard