Answered by:
Hide activate/deactivate from the menu

Question
-
Is there any way to hide the activate and deactivate button from the "more actions" menu in the default view.Wednesday, September 23, 2009 9:44 AM
Answers
-
Hi, Tony.
It seems that this possible only with unsupported customizations like modifying of source pages. To do it Open folder of CRM web site, open _root folder open homepage.aspx with text editor like notepad and find following code there:
function window.onload() { HandleBackButtonIssues(_currentTypeCode); }
and place code for hiding page elements there. Save page and reload your browser.
Truth is opened the prepared mind My blog - http://a33ik.blogspot.com- Proposed as answer by ckeller Wednesday, September 23, 2009 11:33 AM
- Marked as answer by DavidJennawayMVP, Moderator Monday, October 26, 2009 3:03 PM
Wednesday, September 23, 2009 11:27 AMModerator
All replies
-
Wednesday, September 23, 2009 10:00 AM
-
Code available on my blog to download and use
Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1Wednesday, September 23, 2009 10:01 AM -
thx for your reply. i saw the blog and it is for the main form. i need a similar code but on the defaut view and not on the main form 10xWednesday, September 23, 2009 11:21 AM
-
thx for your reply. i saw the blog and it is for the main form. i need a similar code but on the defaut view and not on the main form 10xWednesday, September 23, 2009 11:22 AM
-
thx for your reply. i saw the blog and it is for the main form. i need a similar code but on the defaut view and not on the main form 10xWednesday, September 23, 2009 11:22 AM
-
Hi, Tony.
It seems that this possible only with unsupported customizations like modifying of source pages. To do it Open folder of CRM web site, open _root folder open homepage.aspx with text editor like notepad and find following code there:
function window.onload() { HandleBackButtonIssues(_currentTypeCode); }
and place code for hiding page elements there. Save page and reload your browser.
Truth is opened the prepared mind My blog - http://a33ik.blogspot.com- Proposed as answer by ckeller Wednesday, September 23, 2009 11:33 AM
- Marked as answer by DavidJennawayMVP, Moderator Monday, October 26, 2009 3:03 PM
Wednesday, September 23, 2009 11:27 AMModerator -
Hi andriy how do i hide the Deactivate Option on th more Actions menu
ThanksTuesday, October 27, 2009 9:25 AM -
Hi Vishwaz,
please have a look at the following thread
http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/1f704fff-0133-4bcb-893e-0df66bf3bef5Tuesday, October 27, 2009 2:01 PM -
Will this hide the option for all entities?
Lets say I want to hide the deactivate only for 1 of my custom entities.
Can this be done?
TnxWednesday, November 11, 2009 12:52 PM