1

In SharePoint 2010 when adding a link to a site/page I am able to set a number of properties. I'd like to be able to add a "no-follow" attribute so that users can easily select whether the link should be followed or not by a search engine spider.

I've seen how to add a button to the ribbon, just wondering if this is the way to add to the link tools tab?

If you look at the link tools tab you will see there is a "open in new window" checkbox for the link, I'd like to add a "No Follow" checkbox for the link that adds the no follow attribute to the markup.

3
  • Please correct me if i am wrong: Using a ribbon button, you want to add a "no-follow" attribute to a selected link?
    – Vivek
    Sep 13, 2010 at 17:11
  • Correct, in much the same way as you have a checkbox for "open in new window"
    – Mauro
    Sep 14, 2010 at 9:26
  • Did you ever find a solution to this? If so, can you please provide the answer?
    – Alex Angas
    Jun 6, 2011 at 3:09

1 Answer 1

2

You will want to add your checkbox here -

  • Group ID: Ribbon.Link.Link.Behavior
  • Controls ID: Ribbon.Link.Link.Behavior.Controls

I found this from investigating the out-of-the-box ribbon buttons that are all defined in this file:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL\XML\CMDUI.XML

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.