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

AccountManager Lookups in SlxMobile Web App

The post about "Owner" lookups got me thinking about lookups in general and then it hit me.. the AccountManager Lookup is pulling from the "User" entity (via SData) and is not restricted to "Enabled" users only. Thus one sees templates and retired users as available for Accountmanager assignment - which is not legal.

 

So what one needs to do is to modify "user" List.js:

   before:

       ......

       QueryOrderBy:.....

       QuerySelect: [

               .......

        ],

        resourceKind: 'users',

       ....

 

   after:

 

       ......

       QueryOrderBy:.....

       QuerySelect: [

               .......

        ],

        QueryWhere: 'Enabled eq true',

        resourceKind: 'users',

       ....

 

This will insure users will only see Active/Enabled users as available for AccountManager

 

NOTE: Issue is not confined to the Extjs versions (1.0/1.1/1.2) - the dojo (version 2.0) for Slx V8.0 has the problem/bug as well. 

 

... now if the "owner" lookup problem could be fixed as easily as this:

http://community.sagesaleslogix.com/t5/Developer-LAN-Mobile-Visual/Query-on-child-entity-in-SData/m-...

--
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
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: AccountManager Lookups in SlxMobile Web App

[ Edited ]

Still a problem...  Seeing templates, retired users, etc. even in the latest 2.0

--
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