Anybody can tell me how to show logged on user name on every screen of crm..?
any suggestion?
Thanks in advance...
Anybody can tell me how to show logged on user name on every screen of crm..?
any suggestion?
Thanks in advance...
Hi there, the last user to have logged on can be obtained with this script:
select top 1 User_Logon from vUserActivity order by Acty_Login Desc
You could use a field level customisation and a script to display this data on whatever screen you like.
Hope this helps.
Dear Triona,
above script is right but it is not static..i want static script to show currently logged on user's name on each screen of CRM..,in our CRM there are lots of screens..so it is very time consuming and not consistent..so we unable to apply this script to each screen....
Can we put this code in CRM's default .js file? and if yes then how?
You would need to inject some javascript that would get the user name (via ajax or the client side user object) and display it on a page.
crm72 has support for injecting js files on to each page.
Older versions dont but there is a secret method for doing it.....
There is a current user object you can look at also:
var users = CurrentUser.user_logon;
document.write(users);
Depends where you want the user_logon writing.
*Community Hub is the new name for Sage City