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

sukawork
Giga Contributor

Hi


I'm currently looking at the 'Presence' in Geneva. From what i understand it is only a kind of trafic light on top of the form, which indicates who has the same record open?


I guess that you at this point have more experience with the new feature in Geneva and can help me inlighten me ?



/Susanne


yepp.. that's right... And if someone else updates the record you are viewing, you get this "lightning" icon at the specific field and the field updates with the new data.



lightning update 1.png


Hi Goran


Useful info, as i tried test this from the deveolper instance, but did not succeed somehow, although it should be active from OOB?



I see one issue, if i'm abouth to Resolve and someone else add in important update, which might impact on the solution and it would be too late as i'm closing the ticket.... right?



/Susanne


Hi Susanne,



Hmm.. It should. but the "lightning" will only show on the screen of the other user. You won't see it on your own if your'e doing the change. So try logging in your instance in two browsers and impersonate another use and go into to same record. Then you should be able to see it when you updating. Just remember that the user updating needs to save it as well to get it to pop up for the other user.



Well, if I understand you correct, yea.. If someone enters the same records, do a update and presses save just before you hit "resolve incident" you will probably just see the icon start to flash, then you resolve it.



//Göran


I tried to test as you describe but nothing happens, not even at the top. I might active something or du you have any suggestions what it might be so?


/Susanne