SharePoint Events

  5/13/2013 - Conference: SharePoint Summit 2013
  5/21/2013 - Webcast: SharePoint 2013 and ECM: Content Migration and Storage
  5/22/2013 - Webcast: Managing CAD in SharePoint
  5/23/2013 - Webcast: SharePoint Document Automation and E-Forms for Financial Services
  5/24/2013 - Webcast: What's New in Search for SharePoint 2013

 SharePoint Videos

  Why SharePoint 2013
  SharePoint 2013 Launch
  SharePoint 2013 Migration and Governance
  SharePoint 2013 and Enterprise Content Management
  Top Benefits of SharePoint 2013
  What's New in Business Intelligence in Office and SharePoint 2013
  SharePoint and Office 2013 Integration
  SharePoint 2013 Infrastructure Preview
  SharePoint, Lync, and, Exchange in the Cloud with Office 365
  Advanced Reporting in SharePoint with Microsoft Power View

 Archives

Opening SharePoint Links in a new windowUse SHIFT+ENTER to open the menu (new window).
Mail Enabled Lists vs. The Missing Windows 2008 POP3/IMAP Server Use SHIFT+ENTER to open the menu (new window).
7 Tools for SharePoint DevelopersUse SHIFT+ENTER to open the menu (new window).
Public Facing Masterpage TechniquesUse SHIFT+ENTER to open the menu (new window).
How to Quickly Deploy and Activate a Timer Service to Your Site CollectionUse SHIFT+ENTER to open the menu (new window).
Custom SharePoint Master Page Feature with WSP BuilderUse SHIFT+ENTER to open the menu (new window).
Date Math with InfoPathUse SHIFT+ENTER to open the menu (new window).
Enterprise Search Tricks and Tips Part 1Use SHIFT+ENTER to open the menu (new window).
Populating Word Documents With SharePoint Data. Try The DIP!Use SHIFT+ENTER to open the menu (new window).
Programmatic Deep Dive into Blank SharePoint Lookup ColumnsUse SHIFT+ENTER to open the menu (new window).
1 - 10 Next
MyLinks in SharePoint 2010

By: Omar Stewart

 

MyLinks is a feature that lets users create a personalized list of links, accessible throughout a farm. The functionality still  exists in SharePoint 2010, however, it takes a little more work to make it accessible to a site.

 

In this tutorial I'll show you how to re-add a link to MyLinks on the user menu, as well as how to get the MyLinks WebParts back in the Webpart Gallery.

 

First We'll add MyLinks to the users drop down menu.

 

Launch Visual Studio.

 

Create an empty SharePoint project

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

 

We'll make this a farm solution

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

 

Right Click on the project Node, then click Add Item

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

 

Select to add an Empty Element

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

Then we just drop in the xml to declaratively add a custom action,  and point it to the Personal Actions Group.

 

Laura Rogers wrote a great article pointing out that MyLinks still exist in SharePoint 2010. The list can be accessed from an application page @ "_layouts/MyQuickLinks.aspx". We'll just point our new button to that link.

 

<Elements xmlns="http://schemas.microsoft.com/sharepoint/">

  <CustomAction

  Id="myLinksButtonLink"

  GroupId="PersonalActions"

  Location="Microsoft.SharePoint.StandardMenu"

  Sequence="1000"

  Title="MyLinks"

  Description="Open Your custom page"

  ImageUrl="/_layouts/Images/MyLinks/MyLinksIcon.png" >

    <UrlAction Url="~site/_layouts/MyQuickLinks.aspx"/>

  </CustomAction>

</Elements>

 

I've added an image by right clicking on the solution then clicking Add SharePoint "Images" Mapped Folder

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

 

We'll just hit F5 to deploy our solution. If we navigate to our team site, click our user name, we can see that the MyLinks has been added to the available options.

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

 

If we click on the link, it takes us to the MyLinks Application Page.

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

 

Now to re-add the MyLinks WebParts, just navigate to SharePoint's WebPart Gallery.

(Site Actions >> Site Settings >>  Galleries: Web parts)

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

 

Then click the New Document Button, if you scroll down, you'll see 3 Webparts related to MyLinks

 

QuickLinksMacroView, QuickLinksMicroView, QuickLinksPublicView. Check all three then click Populate Gallery.

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

 

If you navigate back to your home page, edit the page, then click Insert: WebPart. In the Miscellaneous section, you should see all three MyLinks WebParts listed.

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010 

 

These are all now accessible to your site.

 

The_SharePoint_Blog_MyLinks_in_SharePoint_2010

Here's a link to the WSP and VS Solution Project, if anyone is interested. Hope this has been helpful.

 

By: Omar Stewart

        

Comments

James Zheng

Brilliant post. That is exactly what I am looking for. Highly appreciated!
at 7/22/2011 2:13 AM

Aaron Fischer

Looks like a great post but can I install this by just deploying the WSP file?
at 7/26/2011 8:41 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Your Name *


e-mail address *


Website (optional)


Comment *


Attachments

 Subscribe

  GigWerks RSS  Gig Werks Mailing List 

 Contact Us

 Connect

 Resources

  On Demand SharePoint Webcast Recordings
  Upcoming Webinars
  SharePoint Resources
  Business Intelligence Resources
  Gig Werks Website



©2009 Gig Werks. All rights reserved. Privacy Policy