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

Get parents from Sharepoint list

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at
    Re: Get parents from Sharepoint list

    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
    on at
    Re: Get parents from Sharepoint list

    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

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard