Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: How To Get Current SalesLogix User?

Inside of Mobile.. in argos-saleslogix - if one wants to compare the logged in user agaiinst.. say AccountManager(Id).. you would be looking at:

    App.context['user'][$key']

 

It comes from the Application(.js) as part of the authentication. ;-)

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Bronze Super Contributor
Posts: 192
Registered: ‎07-17-2011

Re: How To Get Current SalesLogix User?

RJ, I should have been more clear.


This - 

string strCurrentUserID = Sage.SalesLogix.API.MySlx.Security.CurrentSalesLog ixUser.Id.ToString();

 

Will not work if you call a C# business rule from mobile.

Bronze Super Contributor
Posts: 152
Registered: ‎02-01-2011

Re: How To Get Current SalesLogix User?

The error is:

 

Could not load file or assembly 'Sage.SalesLogix.Services.PotentialMatch, Version=7.5.4.7106, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. (mscorlib)

 I believe this was addressed in a hotfix. You may also need to clean your build and deployment targets (nuke & pave).

Andy Freeman
TrellisPoint, LLC