The CreatorCon Call for Content is officially open! Get started here.

What is the way to know how many times a user visited a particular Dashboard”

Balasai peela
Tera Contributor

Hello All,

 

Is there any way to know how many times a person visited any Dashboard. 

 

Any help would be greatly appreciated.

 

Regards,

Bala

6 REPLIES 6

asifnoor
Kilo Patron

Hi,

you can add a onload client script on the dashboad and can store it in a session or cookie. EVerytime the page loads, fetch the cookie and increment and store back. you can store the key as logged_user_your_session_name. This way for every user you can have the number for every user stored seprately.

 

Mark the comment as a correct answer and helpful if this has helped to solve the problem.

Peter Bodelier
Giga Sage

Hi @Balasai peela,

 

I'm not completely sure this will work, but it's worth a try.

Create a custom field view count on the pa_dashboards table.

Create a display Business Rule which increases the view count by 1.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Ankur Bawiskar
Tera Patron
Tera Patron

@Balasai peela 

check this link

Tracking and Reporting on Dashboard Usage in ServiceNow 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar That is a nice find!

Especially if you want to see how many time a particular user visited it, instead of a global view count.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.