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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint connector -...
Power Automate
Unanswered

SharePoint connector - formatting of generic 'Item' field

(0) ShareShare
ReportReport
Posted on by 6

I am trying to update SharePoint file properties through the standard connector. There are multiple document libraries where the file may reside and this is selected via a variable value.

The file properties are therefore not displayed and instead there is a single 'Item' field. However I am not sure how to format the fields to be updated.

 

Can someone advise the correct format to use?

 

Screenshot 2023-02-24 at 12.26.03.png

The above format results in the following error: The 'inputs.parameters' of workflow operation 'Update_file_properties' of type 'OpenApiConnection' is not valid. Error details: The resolved string values for the following parameters are invalid, they may not be null or empty: 'table'

 

The Microsoft documentation is not very helpful: https://learn.microsoft.com/en-us/connectors/sharepointonline/#update-file-properties

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @JohnnyB  as you need to use dynamic library name, I would suggest to use REST API with Send HTTP Request to SharePoint as shown in example below:

    annajhaveri_0-1677751525038.png

     

    In URI, replace 'test1' with your library name dynamic content, replace 1 with your File Item ID dynamic content. 

    Provide Header values as shown in screenshot

    In body provide field values in following format:

    {
    'Category':'Choice1',
    'FieldName':'Field Value'
    }

     

  • JohnnyB Profile Picture
    6 on at

    Thanks @annajhaveri for the suggestion.

    It seems a little complex to use the SharePoint API to do this when there is a built in connector which should work (if only I knew how!)

    I have tried your method as detailed above however it does not change the value. Can you see where I am going wrong?

    The http call completes successfully and returns this:

    Screenshot 2023-03-06 at 11.54.03.png

    And the flow is configured like this:

    Screenshot 2023-03-06 at 11.58.02.png

    No errors, just doesn't work.

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @JohnnyB  in the body parameter you need to put in your field name and field value as shown in example below

    {
    'Emailed_x0020_to_x0020_recipient':'Yes'
    }

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard