on 04-15-2016 5:10 AM
Hi Experts,
I have a custom object and I wish to build My Team type search queries as available for standard objects. In standard objects this work even for a deep structure for instance
A is a manager of B,
B is a manager of C
For instance
if A selects My Team query he should be able to see objects created by A, B and C
if B selects My Team query he should be able to see objects created by B and C
This works in standard but I cannot find anything in the UI designer which influences this. Please share any tips/tricks to achieve this scenario.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhan,
I am not looking at the approach that you suggested as I have hit a road block with transformation.
The blog you pointed out used normal query where I am using a SADL Query. Hope that should be fine.
I also spent some time researching how this works for standard objects for e.g. Sales Quote and it uses access context 1015 - Employees, Territories and Sales Data. How do I now relate this to SADL query for instance My Open Quotes should show quotes created by me but My Teams Quotes should show me Quotes created by all team members and team members o the sub units.
Regards,
Sandeep
Hi Sandeep,
I did not use any query for this.
Set the EmployeeUUID to the current logged in user.
Open the WC view and set the property Access Context code - 1010 Employee
Open the OWL and property Access Controlled Business Objects flag off the unrestricted access.
In the front end make the Access restriction(Read/Write access) for the Employee and for Manager set the restriction in the Org unit level.
For me it worked like A is the manager of B and C, so in A's view we can see the instances of A,B and C.
For your case hope this might help.
Thanks,
Madhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.