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 / powerapp triggered flow
Power Apps
Answered

powerapp triggered flow

(0) ShareShare
ReportReport
Posted on by 36

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?

 

tylacha_0-1656600979627.png

 

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.

Categories:
I have the same question (0)
  • TheRobRush Profile Picture
    11,128 Moderator on at

    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

  • tylacha Profile Picture
    36 on at

    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.  

     

     

    • Add an action to “Parse JSON”.
    tylacha_0-1656605896616.png

     

    • Add Content, select Body as result there. We need to parse a comment from the value. So, we will add the following thing as schema.
    tylacha_1-1656605896632.png

     

     
    1. {  
    2.     "type""object",  
    3.     "properties": {  
    4.         "value": {  
    5.             "type""array",  
    6.             "items": {  
    7.                 "type""object",  
    8.                 "properties": {  
    9.                     "Comment": {  
    10.                         "type""string"  
    11.                     }  
    12.                 }
    13.             }  
    14.         }  
    15.     }  
    16. }  
    • Click an action “Compose” so that “Apply to each” will be created automatically.
    tylacha_2-1656605896727.png

     

    • In Compose, create the below formula.
    tylacha_3-1656605896740.png

     

     
    1. formatdatetime(items('Apply_to_each')['Modified'],'MM/dd/yyyy hh:mm tt')    
    • Now, add an action “Append to string variable”.
    tylacha_4-1656605896750.png

     

    In name, select the already created variable named “AppendComment”.

     
    1. concat('<div style="margin-bottom:5px;">',items('Apply_to_each')['Author']  
    2. ['LookupValue'],' (<span style="color: rgb(3, 131,  
    3. 135)">',outputs('Compose'),'</span>)','',items('Apply_to_each')  
    4. [variables('ColumnName')],'</div>')  
  • Verified answer
    TheRobRush Profile Picture
    11,128 Moderator on at

    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.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard