Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Notifications - deleteable - updateable

Posted on by 33
Hello dear community,
 
i have got a problem with notifications:
 
i have a field. if the user enters a string with a length over 13 he gets a notification. 
if the the string length is less than 13 then he gets a notification. 
 
when the user opens the page he gets the notifications via trigger onaftergetreccord on the page.
 
so now, i if the user changes and existing entry or add a new entry i want the notifications to update. 
i did this on the onvalidate trigger but the problem is the last notification regarding this field does exist. 
this is a problem. 
 
i did already some research and but i can not find a solution. 
I would also be happy if i could notify the user with something like rec.fielderror however with this, the entry does not insert.
Solution via Messages is not a solution.
 
Dear community, please help. 
 
 
Categories:
  • Notifications - deleteable - updateable
    After doing some research i think it is impossible to delete notifications on a page. 
    Either way, thank @YUN ZHU
  • YUN ZHU Profile Picture
    YUN ZHU 63,922 Super User on at
    Notifications - deleteable - updateable
    Sorry I may not fully understand, adding this notification to the table's trigger, such as OnInsert or OnModify can solve your problem?
    PS: Dynamics 365 Business Central: Adding New Notifications
     
    Hope this helps.
    Thanks.
    ZHU

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans