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 / Update sharepoint list...
Power Automate
Answered

Update sharepoint list items: add instead of overwriting

(1) ShareShare
ReportReport
Posted on by 98

Hi all,

 

I have a SharePoint list with five columns. Except for one column, the remaining four are filled with information. Thats fine....

The fifth and last should run through a loop and add entries instead of overwriting them.

 

The final "Apply to each" loop looks like this:

 

vipfafen_0-1720130282413.png

Column Expression:

 

items('Apply_to_each_-_Update_sharepointItem')?['accessPackage']?['displayName']

 

 

The flow running into a "Succeeded" Status:

but.... the loop overwrites all previously set entries

 

vipfafen_1-1720130553557.png

 

Is there a add Funktion / Expression to avoid overwriting?

 

Sharepoint List "Append changes to existing text" is not a option. I need legible, first-hand information for the email automation task.

 

Thank you!

 

Regards

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,476 Super User 2026 Season 1 on at

    Hi @vipfafen ,

     

    Assuming that your column is of string data type, you can use a concat() expression: concat([your_current_value], ', ', items('Apply_to_each_-_Update_sharepointItem')?['accessPackage']?['displayName']).

     

    You must replace the text in red for the dynamic content of your current column value. Based on the image shared by you, it will probably be items('Apply_to_each)['Active_Zugriffspakete']

     

    Also, you must replace the text in blue for the separator that you want to use for each new displayName included in the column. I used a comma and a blank space as example, but you can change it for anything else.

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 
    https://www.linkedin.com/in/raphael-haus-zaneti/ 

  • vipfafen Profile Picture
    98 on at

    Thank you for feedback @rzaneti !

     

    Datatype ist string i suppose. Sharepoint field-Type is "Multiple lines of text".

     

    The expression I set looks like this

    concat(items('Apply_to_each')?['Active_Zugriffspakete'], ', ', items('Apply_to_each_-_Update_sharepointItem')?['accessPackage']?['displayName'])

     

    Output: However, the output is the same... old entries are overwritten, only a comma is now in front of each entry (, AP-Name).

     

    Did I do something wrong?

     

    Regards

  • vipfafen Profile Picture
    98 on at

    ok, i got it. 

     

    wrong: "Active_Zugriffspakete"

    correct: "AktiveZugriffspakete"

     

     

     

  • vipfafen Profile Picture
    98 on at

    maby one more Questions, how to seperate by "new line" instead of comma?

     

    I try this one, but get an error. Have to be placed right...

    - decodeUriComponent('%0A')

  • rzaneti Profile Picture
    4,476 Super User 2026 Season 1 on at

    Hi @vipfafen ,

     

    You will need to store the decodeUriComponent('%0A') in a string variable or a Compose, and then use the dynamic content from this variable/compose into your concat.

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 
    https://www.linkedin.com/in/raphael-haus-zaneti/ 

  • vipfafen Profile Picture
    98 on at

    Solution in my case:

    concat(items('Apply_to_each_-_Update_item_1')?['AktiveZugriffspakete'],decodeUriComponent('%0A'),items('Apply_to_each_-_Update_sharepointItem')?['accessPackage']?['displayName'])

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 482

#2
11manish Profile Picture

11manish 280

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard