Announcements
Hi,
I am following the tutorial here for an appended comment solution: https://www.c-sharpcorner.com/article/display-appended-comments-version-history-from-sharepoint-list-on-powerapps/
I am running into an issue where I am getting null values in my comments from when I update my form without entering notes. How can I filter these out?
Also, side question... I have two screens for my form. Edit and View. Can a button not be clickable in view mode? I can't seem to get it to work.
what is the control type displaying those comments, and what does its items or text property contain code wise.
If it is a gallery, could you also share what the source column containing the comments looks like
I added a link to the tutorial in my original post, the comments are retreived from an HTTP request, then parsed with json, finally combined with concat to a single variable in an apply for each . I'm very new to powerapps, so hopefully I am explaining properly. Here is the snipet from the tutorial where everything is coming together.
{ "type": "object", "properties": { "value": { "type": "array", "items": { "type": "object", "properties": { "Comment": { "type": "string" } } } } } }
formatdatetime(items('Apply_to_each')['Modified'],'MM/dd/yyyy hh:mm tt')
In name, select the already created variable named “AppendComment”. concat('<div style="margin-bottom:5px;">',items('Apply_to_each')['Author'] ['LookupValue'],' (<span style="color: rgb(3, 131, 135)">',outputs('Compose'),'</span>)',': ',items('Apply_to_each') [variables('ColumnName')],'</div>')
In name, select the already created variable named “AppendComment”.
add a conditional loop in your forall to check if the item is null or not before appending your comment.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 392 Most Valuable Professional
11manish 181 Super User 2026 Season 2
MS.Ragavendar 112 Super User 2026 Season 2