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 / Show message ONLY when...
Power Apps
Answered

Show message ONLY when the record is first submitted; not on future edits

(0) ShareShare
ReportReport
Posted on by

I have a message and button I'd like to show based upon a field selection in my form upon submit.  The message gives instruction regarding a required action and provides a link to a site outside of SharePoint/PowerApps. 

The issue is: I'd like that message to show ONLY when the record is first created; when it was/is a new record.  Once the record is created and is no longer new; and is edited, I don't want that message to pop up on edits.   

 

Any idea how I can do that?    Thank you for your help. 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    @CindyZ before submitting you could use the following code to check if this record exists already:

     

    If(CountRows(Filter(DataSource, UniqueFieldOrName = DataCardWithUniqueFieldOrName)) = 0, Notify("Your Message", NotificationType.Information))

     


    With DataCardWithUniqueFieldOrName I mean the datacard or field of the record you are trying to submit / update. You can swap the 'Notify' with a set variable true and use that variable in the OnVisible of your button and message.

    If I answered your question fully, would you be so kind as to accept it as a solution.
    Thanks!

  • Verified answer
    cha_cha Profile Picture
    4,932 Moderator on at

    Hello @CindyZ 

     

    Compare the item's creation and modified date. 

     

    On that Message's Visible property, do like this: 

    ThisItem.Created=ThisItem.Modified

    cha_cha_0-1670934940463.png

     


      ✔️
    Just in case my response helped you solve your problem, please mark/accept this as a SOLUTION This helps community members if they experience a similar issue in the future.

     

      🔗
    🕸bistek.space  🐦 @cha_bistek  📺 @BisTekSpace 
  • CindyZ Profile Picture
    on at

    This is the method I used and it worked beautifully!  However, I'm sure both suggestion work equally as well.  Thanks to bot of you @cha_cha  and @LaurensM !  

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard