Hide Save and New option from Save Menu on Connection Entity in Dynamic CRM 2011

Unanswered Hide Save and New option from Save Menu on Connection Entity in Dynamic CRM 2011

  • Monday, 23 April 2012 6:08 AM
     
     

    I want to hide save & New option from File->Save option from Connection Entity , How can i achieve this?

    Please find below snap for your persual

    

All Replies

  • Monday, 23 April 2012 11:37 AM
     
     
    Do you want to hide for always or only with special conditions?
  • Monday, 23 April 2012 1:50 PM
     
      Has Code

    Hi there!

    You can play with that menu.. with getting some hands on the file menu. Add application Ribbon to your solution, export and add below code..should do the job

     <RibbonDiffXml>
        <CustomActions >
          <HideCustomAction Location="Mscrm.Jewel.SaveMenu.Save" HideActionId="sample.Mscrm.Jewel.SaveMenu.Save.HideAction" />
          <HideCustomAction Location=" Mscrm.Jewel.SaveMenu.SaveAndNew" HideActionId="sample.Mscrm.Jewel.SaveMenu.SaveAndNew.HideAction" />     
        </CustomActions>
        <Templates>
          <RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
        </Templates>
        <CommandDefinitions />
        <RuleDefinitions>
          <TabDisplayRules />
          <DisplayRules />
          <EnableRules />
        </RuleDefinitions>
        <LocLabels />
      </RibbonDiffXml>

    Hope this helps you

    Thanks

    Sama


    SAMA

  • Monday, 23 April 2012 2:39 PM
     
     

    Use the CRM2011 Visual Ribbon Editor is very simple

    http://crmvisualribbonedit.codeplex.com/


    windows live Id :hellohongfu@hotmail.com