Answered by:
Filter in Assign button CRM 2011

Question
-
Hi all,
I'm trying to apply a filter to the Assign window when I select Assign to another user or team.
This window shows when I press the lookup for the Owner field, not declared like lookup.
Any one could help me?
Thanks!
Js
- Edited by Gresziu_Dub Thursday, August 2, 2012 3:36 PM
Thursday, August 2, 2012 2:15 PM
Answers
-
You cannot modify this dialog or change the out of the box functionality for assigning a record. You could potentially look at alternatives like a process dialog or web resource that allows a user to perform the action and have a filtered list of users as you require.
MS CRM Bing'd - http://bingsoft.wordpress.com Dynamics XRM Tools CRM 4 to CRM 2011 JavaScript Converter Tool CRM 2011 OData Query Designer CRM 2011 Metadata Browser CRM Forum Guidance - Proposed as answer by JLattimerMVP, Moderator Friday, August 3, 2012 1:46 PM
- Marked as answer by Gresziu_Dub Wednesday, August 8, 2012 10:28 AM
Friday, August 3, 2012 1:12 PMModerator
All replies
-
You cannot modify this dialog or change the out of the box functionality for assigning a record. You could potentially look at alternatives like a process dialog or web resource that allows a user to perform the action and have a filtered list of users as you require.
MS CRM Bing'd - http://bingsoft.wordpress.com Dynamics XRM Tools CRM 4 to CRM 2011 JavaScript Converter Tool CRM 2011 OData Query Designer CRM 2011 Metadata Browser CRM Forum Guidance - Proposed as answer by JLattimerMVP, Moderator Friday, August 3, 2012 1:46 PM
- Marked as answer by Gresziu_Dub Wednesday, August 8, 2012 10:28 AM
Friday, August 3, 2012 1:12 PMModerator -
Thanks Rhett,
do you think I could do somethin similar to this?
http://sumedha8.blogspot.ie/2012/05/filtered-lookup-in-crm-2011-dynamic.html
Js
Friday, August 3, 2012 3:06 PM -
Not if you intend on using the Owner Lookup field to assign records. You would have to add a new System User Lookup to the form and apply the filter to that. Once you set this you could then perform the action of assigning programatically or via workflow upon saving the form for example. There are a number of ways to implement a new feature like this, it sjust depends on how your users will accept it.
If you are just trying to prevent users from assigned to the wrong team or group of users then you could create a pre stage plugin against the assign message, validate the assign is valid and handle it this way. If you want to filter the list of users in the lookup then you will need an alternative like I've already mentioned.
Don't forget there is also an Assign button in the Ribbon... If you create your own feature then you will need to remove this button.
MS CRM Bing'd - http://bingsoft.wordpress.com Dynamics XRM Tools CRM 4 to CRM 2011 JavaScript Converter Tool CRM 2011 OData Query Designer CRM 2011 Metadata Browser CRM Forum Guidance Friday, August 3, 2012 3:17 PMModerator -
Thanks Rhett,
I finally leave it like is now, with normal behavior.
Thanks for your time!
Js
Wednesday, August 8, 2012 10:30 AM