Modifying default "Assign" button option in CRM 2011
-
Monday, August 08, 2011 10:08 AM
Hi,
In CRM 2011, there is a default "Assign" button in the ribbon of a form which assigns or changes the owner of the multiple selected records of an entity.
Now the requirement is that instead of changing the owner field of all the selected records, i want to change the different field or attibutes of an entity.
Please let me know how do we achieve this functionality in CRM 2011.
Regards,
Ashok
.Net/Business Intelligence
All Replies
-
Monday, August 08, 2011 10:33 AM
Hi,
In CRM 2011, there is a default "Assign" button in the ribbon of a form which assigns or changes the owner of the multiple selected records of an entity.
Now the requirement is that instead of changing the owner field of all the selected records, i want to change the different field or attibutes of an entity.
Please let me know how do we achieve this functionality in CRM 2011.
Regards,
Ashok
.Net/Business Intelligence- Merged by Andrii ButenkoMVP, Moderator Monday, August 08, 2011 11:46 AM The same question
-
Monday, August 08, 2011 10:48 AMModerator
Changing the functionality for the existing assign button is unsupported, but if you want to create a new button and put jscript behind it to perform the operations of changing the field you want and performing a save operation, this is supported.
http://gtcrm.wordpress.com/2011/01/18/quick-reference-for-adding-a-button-to-the-crm-2011-ribbon/
Jamie Miley
Check out my about.me profile!
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!- Proposed As Answer by Jamie MileyMVP, Moderator Monday, August 08, 2011 10:49 AM
-
Monday, August 08, 2011 10:57 AM
Hi,
You can not use the existing Assign button dialog to return any other attribute value. If the field value have to be select from the lookup then why do not you create a lookup field, if it does not fit your scenerio then you might have to develop a custom ribbon button and on click of button can open a Silverlight Application hosting Grid and on selecting the grid record you can set the form field value.
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".- Proposed As Answer by Jehanzeb.Javeed Monday, August 08, 2011 10:58 AM
-
Monday, August 08, 2011 11:10 AM
Hi,
Few Suggestions:
You can not use the existing Assign button dialog to return any other attribute value. If the field value have to be select from the lookup then why do not you create a lookup field, if it does not fit your scenerio then you might have to develop a custom ribbon button and on click of button can open a Silverlight Application hosting Grid and on selecting the grid record you can set the form field value.
Jehanzeb Javeed
http://worldofdynamics.blogspot.com
Linked-In Profile |CodePlex Profile
If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". -
Monday, August 08, 2011 12:39 PM
HI Javeed,
Thanks for your reply....
Could you please send me know the sample code for creating new button similar to the Assign button in the ribbon and creating a silverlight grid on click of that button.
Thanks,
Ashok
.Net/Business Intelligence -
Monday, August 08, 2011 4:45 PMModerator
http://mileyja.blogspot.com/2011/05/how-to-use-assign-requests-to-assign.html - assign request in jscript (also has c# example
http://gtcrm.wordpress.com/2011/01/19/adding-a-button-to-the-main-crm-ribbon-in-2011/ - adding a button to the ribbon
http://blogs.avtex.com/blogs/azimmer/archive/2011/08/02/overriding-the-behavior-of-the-ribbon-in-crm-2011.aspx - shows how to add jscript to a web resource in 2011 and then call it from the ribbon.
Jamie Miley
Check out my about.me profile!
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter!- Proposed As Answer by Jamie MileyMVP, Moderator Monday, August 08, 2011 4:48 PM
-
Saturday, February 18, 2012 11:53 PMModeratorDid you get this figured out?
Jamie Miley
Check out my about.me profile!
http://mileyja.blogspot.com
Linked-In Profile
Follow Me on Twitter! -
Thursday, August 02, 2012 3:02 PM
Hi!
Is possible change the behavior of this button?
When I select Assign to another user or team, can I apply a filter, i.e, for show just users of the owning team filled.
Thanks!
Js

