Using datatype webnotification I have the notifyclient method that needs an ID of the client browser.
How do I find out which ID to make a specific notification for a current (logged in) client page?
Or can I use the ID of the client session?
Using datatype webnotification I have the notifyclient method that needs an ID of the client browser.
How do I find out which ID to make a specific notification for a current (logged in) client page?
Or can I use the ID of the client session?
You have to use the Webnotification object ClientId property.
For more information you can check in this topic:
// Pega o ID do client Atual
&Clientid = &webnotification.ClientId
// Notifica apenas o Client(Browser atual)
&webnotification.NotifyClient(&Clientid,&NotificationInfo)