Hello, is there a way to see the date a user logged into Sugar for the first time. I know how to get the last login.
Hello, is there a way to see the date a user logged into Sugar for the first time. I know how to get the last login.
Hey Joseph Elvir ,
It might be possible with Trackers, but even then, Sugar should only keep that information for a period of time (so you won't end up having that information for a while). And also Trackers are normally disabled by default, as there is a global performance hit on the system.
The solution I would try is to create a code logic hook that copies data from the last_login field only on first login.
The simplest pseudocode could be:
If empty first_login_c, use last_login for first_login_c
or if you want to populate this only for newly created users the pseudocode could be:
if empty previous value of last_login and not empty current value of last_login (and maybe also double check if empty first_login_c if something else could populate it), use last_login for first_login_c
Hope it helps
--
Enrico Simonetti
Sugar veteran (from 2007)
Feel free to reach out for consulting regarding:
All active SugarCRM certifications
Actively working remotely with customers based in APAC and in the United States
Hi Joseph Elvir ,
I'm interested to know more about your use case. How are you planning to use this data point? We're about to release a new version of our User Adoption plugin that supports tracking login sessions, and lets you report on the durations and trends. Your real world use case would be great to help shape our new offering.
Hi Joseph Elvir ,
The v2 user sessions feature will support the out-of-box reporting module, allowing users to represent the data as counts, percentages, and charts with the ability to filter data where necessary. Most definitely! We offer a free 30 day trial - I'd be happy to set up a demo of User Adoption to see if it's a fit for your team. Feel free to contact me directly or reach out through our contact form.