web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

append comments

(0) ShareShare
ReportReport
Posted on by 8
Hi, I followed the instructions in the youtube video by Reza Dorrani on How to append changes to existing text (append comments) in Power Apps. I followed it the best I could but because of the difference in versions mine is not working as it should. Reza suggested asking this forum. Is anyone aware of newer instructions for this process? Please see attached copies of the form and copies with the error messages for height and Visible
 
Thank you,
Gloria

 

I have the same question (0)
  • Suggested answer
    jrletner Profile Picture
    720 Super User 2025 Season 2 on at
    Hi Gloria, the issue you are experiencing is due to a type comparison mismatch.
     
    DisplayMode.View results in a text "view" and FormMode.View results in a numeric value of 2.
     
    Notice Form2.DisplayMode.View = view, data type text
     
    Notice FormMode.View = 2, data type number
     
    So you need to determine the correct logical comparison for what you're trying to attempt.
     
    If you're able to describe more of what you're wanting to compare and how to handle that, we can probably clear this up for you pretty quickly.
  • GF-12111424-0 Profile Picture
    8 on at
    Hi, I do not know how to answer your question as far as what I am wanting to compare. I copied this code from someone else but the end result that we are wanting is to be able to add appended comments that include the name of the individual and the date and time the comment was made.
    We want to have these comments for historical record keeping. Does this help? Also, please see attached a screenshot from the Comment field we were using in Microsoft Planner. This is an example of what we want to do in Power Apps.
     
    Thank you,
    Gloria
  • Verified answer
    WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at
    You simply need Mode, not DisplayMode - for the first one (you do not need If/true/false )
    MethodsForm.Mode <> FormMode.View
    and the second
    If(
       MethodsForm.Mode = FormMode.View,
       0,
       100
    )
     
  • GF-12111424-0 Profile Picture
    8 on at
    Thank you for your response. This solved the issue and I have no more errors.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard