Show Active Users on Current Record

jcote
Giga Expert

SNC Community,

How would you best go about attaining this functionality?

I have been thinking about a few different ways to deliver this requirement but I wanted to see if anyone else had any design ideas before I went ahead and got started here. I was thinking about doing a GlideAjax call back to the Events [sysevent] table for the Process name of 'user.view' for the current table that I am looking for. Here, I would simply be utilizing the server side data, on the client, all in real time. It appears as though for viewing a record, immediately when a event is fired, it starts in a state of "ready" and then after a few seconds, gets triggered to a state of "processed" and remains in this state. There is also the the idea of using a Script Action to monitor the events, but this is server side and won't work as I will need it to be on the client.

All I'd want it to look like would be a g_form.addInfoMesssage() at the top of the form to show who is currently viewing it and if the person stops viewing the form, then I'd like to remove their Info Message from the form on the client. I know that with Geneva coming out, there is the concept of "presence", especially related to the Visual Task Boards but this doesn't exactly attain to functionality I am looking for. I don't know if I will able to get this perfectly with how events are logged.

What are your thoughts on this approach? What would you change?

Thank you.

1 ACCEPTED SOLUTION

Looked like it was pretty much everywhere.   It was most definitely on the form in the example that was shown @ K15


View solution in original post

12 REPLIES 12

Uncle Rob
Kilo Patron

I'd wait.   This is addressed specifically in Geneva across the entire platform in a concept called "Presence".   Its a real time display of anyone viewing the ticket.   When Fred showed it off at K15 you could barely see the screens with all the socks flying through the air.


Thanks for your reply @rfedoruk.



But this isn't exactly on the form header itself, right?



This is on the Visual Task Board instead, so if I have ticket workers working on a form, it would not be visible here and they would have to go somewhere else?



Let me know if you do know the answer to this question.


Looked like it was pretty much everywhere.   It was most definitely on the form in the example that was shown @ K15


Thanks for your assistance @rfedoruk!



I think I will hold off for a few months until I see what Geneva entails.