locked
Hide activate/deactivate from the menu RRS feed

  • 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
    Wednesday, September 23, 2009 11:27 AM
    Moderator

All replies

  • Code available on my blog to download and use
    Tiaan van Niekerk http://crmdelacreme.blogspot.com Skype:tiaan.van.niekerk1
    Wednesday, 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 10x
    Wednesday, 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 10x
    Wednesday, 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 10x
    Wednesday, 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
    Wednesday, September 23, 2009 11:27 AM
    Moderator
  • Hi andriy how do i hide the Deactivate Option on th more Actions menu
    Thanks
    Tuesday, October 27, 2009 9:25 AM
  • Tuesday, 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?

    Tnx
    Wednesday, November 11, 2009 12:52 PM