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 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

 

formula error for height.png
formula error.png
PowerApps.png
I have the same question (0)
  • Suggested answer
    jrletner Profile Picture
    720 Moderator 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
    155,427 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard