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 / Need help implementing...
Power Apps
Answered

Need help implementing a "Comments history" feature on my form, showing user/timestamp of previous updates to the "Comments" field

(0) ShareShare
ReportReport
Posted on by 383

I have been working in SharePoint for  a long time but I'm still fairly new to Power Apps. I have a request to create a new form based on a SharePoint list, and one of the features they want is to capture a log of past entries to the multiline text field named "Comments."

 

I have come across quite a few posts where people are trying to implement this feature, but none were explained clearly enough to where I could follow it. A lot of the content I've found for this topic ends up linking to YouTube videos, and I can not access YT at work so that doesn't help me.

 

Here is what I have currently - My form is created and I have all the fields in there I want, including a multiline text field named "Comments." Within PowerApps I have "Comments_DataCard1", and the text box within it is "DataCardValue22". When someone goes to edit or view an existing item, below the Comments field I'd like to have a history section that shows something like the following:

Comments History:

Everything further updates today -- Bob Smith -- September 13, 2022

Added additional rates -- Sharon Jones -- September 12, 2022

 

Please let me know if you need any additional info and thanks for your help.

 

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @TrayH 

    I suggest a separate list for comments.  It could consist of two fields in addition to the metadata that is automatically collected every time a record is entered.  One field would be parentID and the second would be the multiline field Comment.  In PowerApps, you would have two galleries, one for the parent record and the other would be the Comments list filtered by the record selected in the parent list. 

  • TrayH Profile Picture
    383 on at

    Thanks for the info, but I have zero experience with galleries and to be honest most of what you said did not make any sense to me.

     

    Some of the suggestions I've come across for example suggested adding an additional text input box to the Comments data card, and then entering a formula within one of the properties to achieve this functionality. I was hoping for something simple like that. Here is an example of what I'm talking about: https://powerusers.microsoft.com/t5/Building-Power-Apps/Comments-History/m-p/715763#M228981

     

    Unfortunately I get an error when I try what they said, so I think it's just missing something or I need more clarification.

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi,

    You can use this in Default property of your Comments History column in your form - 

    If(IsBlank(Parent.Default),Concatenate(DataCardValue67.Text, " --- ", User().FullName, " --- ", Text(Today(),"mmm dd, yyyy")), Concatenate(DataCardValue67.Text, " --- ", User().FullName, " --- ", Text(Today(),"mmm dd, yyyy"), Char(10),Parent.Default))

    DataCardValue67 is CommentsDataCard

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard