How to discover the client ID in webnotification?

1

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?

    
asked by anonymous 10.09.2014 / 13:54

1 answer

1

You have to use the Webnotification object ClientId property.

For more information you can check in this topic:

WebNotifications

// Pega o ID do client Atual
    &Clientid = &webnotification.ClientId

    // Notifica apenas o Client(Browser atual)
    &webnotification.NotifyClient(&Clientid,&NotificationInfo)
    
10.09.2014 / 15:10