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 / Get parents from Share...
Power Automate
Unanswered

Get parents from Sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Good morning, everybody Smiley Happy,

I have a list and a library.
My library contains the parents and my list contains the children.
Each parent can have several children, so I try to fill in a "parents" column in my list.

 

Here is the real example : 

FLOW.png

My flow :

flow2.png

Condition:

@contains(body('Get_file_2_properties')?['Action']?['Value'], items('foreach')?['Title']) 

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @BenjaminSTRIEBI,

     

    Which date type is the ElementOfList column in your SharePoint library?

    Could you please show a bit more about Action Value within your Condition box?

    Further, have you tested your flow in Microsoft Flow already?

     

    I don’t think your flow could achieve your needs, the “Update item” action would overwrite previous value in Parents column of your SharePoint list. I have created a SharePoint Library and a SharePoint list on my side:10.JPGNote: ElementOfList column is a Multiple line of text type.12.JPG

    Note: Parents column is a Multiple line of text type.

     

    I have made a test on my side and the flow works well. My flow’s configuration as below:7.JPG

     

    8.JPG

    Note: Within Parents field, we should type dynamic Name content of “Get file properties” action and type dynamic Parents content of “Get items” action in next line (Maybe this item has a parent item in Parents field already, avoid updating previous parent item ).

     

    The flow works successfully as below:9.JPG

     

    11.JPG

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-xida-msft,

    Thanks for your help ! Smiley Happy

     

    I use the "Look Up" type for "ElementOfList" column.

    Your example works but has bugs. For me at least.

     

    For example: if I use the SharePoint tool "Quick modification" the flow only takes into account the last line of modification:

    flowalexander.png

     

    Best regards,

    Ben

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
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard