Announcements
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.
@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!
Hello @CindyZ
Compare the item's creation and modified date.
On that Message's Visible property, do like this:
ThisItem.Created=ThisItem.Modified
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 541
WarrenBelz 434 Most Valuable Professional
Valantis 289