none
Hide Ribbon on PDP Page RRS feed

Answers

  • Using the IDE i have found out the CSS it is calling and Hide the Tab from CSS. and Made the Initial Tab to Borwse so user will not see this Tab.

    Thanks, Parth

    • Marked as answer by Parth Rawal Tuesday, September 11, 2012 8:00 AM
    Tuesday, September 11, 2012 8:00 AM

All replies

  • Hi Parth,

    Did you try to use Display "None" for id= "Ribbon.Tabs.PDP.Home"? 

    Could you please tell us about your requirement in details because if don't display the ribbon, you might not be able to access ribbon related functionalities.



    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Monday, July 30, 2012 9:15 AM
  • Hi Parth,

    You can use the Jquery & disable the buttons on a PDP page. Please see the below thread having the Jquery code.
    http://social.technet.microsoft.com/Forums/en-US/projectserver2010general/thread/0beeed2d-bebc-4217-981a-41b1252c7cc2/

    For one of my customers, Was able to disable the save button on a customized PDP page.  

    Hope that helps.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82

    Monday, July 30, 2012 12:12 PM
  • Hi Guys its me again !!

    I have Following code which is working great for hiding the GROUPS from the project Center and FRom PDP Pages as well, what i failed at is to hide the TABs

    can anybody help me with this?

    Follwing is my Code:

    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
      <!--Id="Ribbon.ContextualTabs.ProjectCenter.Home.ChangeProjectType.Change"-->
    <CustomAction Id="Ribbon.ContextualTabs.ProjectCenter"			      
    			Location="CommandUI.Ribbon"
    			Title="Disables the EPT Change button in the Project Center Ribbon">
    		<CommandUIExtension>
    			<CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.ChangeProjectType.Change" />
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.Share" />
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.ShowHide" />
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.Data" />
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.Navigate" />
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.GoTo" />
            <CommandUIDefinition Location="Ribbon.ContextualTabs.ProjectCenter.Home.Editing" />
    			</CommandUIDefinitions>
    		</CommandUIExtension>
    	</CustomAction>
      <CustomAction Id="Ribbon.Tabs.PDP.Home"
    			Location="CommandUI.Ribbon"
    			Title="Disables the EPT Change button in the Project Center Ribbon">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.Tabs._children"/>
            <CommandUIDefinition Location="Ribbon.Tabs.PDP.Home.Project" />
            <CommandUIDefinition Location="Ribbon.Tabs.PDP.Home.Workflow" />
            <CommandUIDefinition Location="Ribbon.Tabs.PDP.Home.GoTo" />
            <CommandUIDefinition Location="Ribbon.Tabs.PDP.Home.Page" />
          </CommandUIDefinitions>
        </CommandUIExtension>
      </CustomAction>
      <CustomAction
        Id="Ribbon.Tabs.PDPCreate.Home">
        <CommandUIExtension>
          <CommandUIDefinitions>
            <CommandUIDefinition Location="Ribbon.Tabs.PDPCreate.Home.Project"/>
            <CommandUIDefinition Location="Ribbon.Tabs.PDP.Home.Project" />
          </CommandUIDefinitions>
        </CommandUIExtension>
      </CustomAction>
    </Elements>
    


    Thanks, Parth

    Thursday, September 6, 2012 7:32 PM
  • Using the IDE i have found out the CSS it is calling and Hide the Tab from CSS. and Made the Initial Tab to Borwse so user will not see this Tab.

    Thanks, Parth

    • Marked as answer by Parth Rawal Tuesday, September 11, 2012 8:00 AM
    Tuesday, September 11, 2012 8:00 AM