locked
Sharepoint 201 EditForm.aspx Ribbon Icon RRS feed

  • Question

  • Hi

    I have 2 custom actions on the editForm.aspx in Sharepoint 2010

    How do i go about changing the ribbon icon so that my 2 custom actions are on the right of the ribbon and the system icon (save, close attach file etc...) stay on the left ? i can use Sharepoint designer, C#, javascript, jquery  or whatever tool is needed.

     

    Thanks in advance

     

    Monday, February 6, 2012 7:30 PM

Answers

  • Hello CSharpAlex,

    Thank you for your forum post, I have reviewed it and from what I understand you're looking to control where the custom buttons are located on the ribbon.

    To do this you'll need to set the Ribbon location of the button followed by setting the sequence of the button, If you set the Sequence with a number 0 - 10 it'll be first button in the Ribbon Location, if you set it to 11 - 20 it'll be second and so on. There's no need for Java or CSS to separate these buttons.

    Gregg


    MSFT

    • Proposed as answer by GreggPJ - MSFT Tuesday, February 21, 2012 6:21 PM
    • Marked as answer by CSharpAlex Friday, March 9, 2012 2:54 PM
    Friday, February 17, 2012 9:16 PM

All replies

  • Hi CSharpAlex,

    We can add buttons to ribbon with SharePoint Designer and sequence buttons follow this blog.
    http://ranaictiu-technicalblog.blogspot.com/2010/06/sharepoint-2010-add-button-to-ribbon.html

    And we can also create a new group on the ribbon and add buttons to the custom group programming.
    http://msdn.microsoft.com/en-us/library/ie/gg552606.aspx
    http://www.sharepointnutsandbolts.com/2010/01/customizing-ribbon-part-1-creating-tabs.html

    Best regards,
    Emir



    Emir Liu

    TechNet Community Support

    Wednesday, February 8, 2012 6:20 AM
  • Thanks for the info. unfortunately althought it gave me some good information, it is not realy what i was looking for.

    I already added the buttons with Sharepoint designer. i would like a way to separate the buttons(using css, javascript or whatever)

    ie on button on the left and one button on the right.


    Thursday, February 9, 2012 2:41 PM
  • Hello CSharpAlex,

    Thank you for your forum post, I have reviewed it and from what I understand you're looking to control where the custom buttons are located on the ribbon.

    To do this you'll need to set the Ribbon location of the button followed by setting the sequence of the button, If you set the Sequence with a number 0 - 10 it'll be first button in the Ribbon Location, if you set it to 11 - 20 it'll be second and so on. There's no need for Java or CSS to separate these buttons.

    Gregg


    MSFT

    • Proposed as answer by GreggPJ - MSFT Tuesday, February 21, 2012 6:21 PM
    • Marked as answer by CSharpAlex Friday, March 9, 2012 2:54 PM
    Friday, February 17, 2012 9:16 PM