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 Apps / Add data to a SharePoi...
Power Apps
Answered

Add data to a SharePoint column without removing data just keep adding

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello - 

 

I have a SharePoint list with a column titled "Comments" where users can add new and updated comments. I would like to allow the user to update that column by being able to see the existing data and add a new comment without deleting the previous/saved comment.

 

I have a Canvas App connected to this list serving as the UI for the users to add/edit records.

 

Here are two solutions I'm looking at:

 

First option:

Allow the users to edit the record by simply adding new a line then add the comments following the previous comment. My concern is if the user fat-fingers and deletes the previous comment.

 

Second option:

 

Create a new column, called updated comments. Only expose this field in the Canvas App when the user chooses to edit the record. When they hit save or submit I will instruct the app to save the data by adding to the comments column along with the previous data.

 

Is this possible?

Categories:
  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    If you're going with the model of adding comments, you'll need to change the Update property on the card to concatenate the existing comments with whatever new comments are typed in. It would look something like:

    ThisItem.Comments & Char(10) & // this inserts a newline character
    inpUserComment.Text // this is the control/property reference for the newest comment

    Now, here's the tricky part: columns have length limits. A short text column for a SharePoint List holds 255 characters. A multiple lines of text column can hold more, but users are good at exceeding limits. Plan ahead for how you intend to handle that.

     

    Hope that helps,

    Bryan

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello -

    Thank you for your prompt and thorough reply, very helpful. I was able to put a solution together by adding two Rich Text fields inside a data card. One for when the user is entering new comment and another that shows a thread of those comments below in the other rich text field. Works out great. I would share a screenshot but it's on my company laptop.

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 Apps

#1
11manish Profile Picture

11manish 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard