Can I send to users(USERID) using below notification coding?
MyNotification.MESSAGE := 'This is a notification';
MyNotification.SCOPE := NOTIFICATIONSCOPE::LocalScope;
MyNotification.SEND;
In NAV 2017 notifications work within a one page only. For example if you have a Document page displaying some header and some lines, all notifications send from any code run on the page, or run in other objects called from that page, will show up on the page only.
Answers
MyNotification.MESSAGE := 'This is a notification';
MyNotification.SCOPE := NOTIFICATIONSCOPE::LocalScope;
MyNotification.SEND;
In NAV 2017 notifications work within a one page only. For example if you have a Document page displaying some header and some lines, all notifications send from any code run on the page, or run in other objects called from that page, will show up on the page only.
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03