best place to buy Pregabalin I recently had this question on how to programmatically add My Site Quick Links in SharePoint 2010.
This can be achieved using QuickLinkManager Class to create quick links.
public void AddQuickLinks()
SPSite site = new SPSite(“SITEURL”);
SPServiceContext serviceContext =SPServiceContext.GetContext(site);
UserProfileManager upm = newUserProfileManager(serviceContext);
// This is just an example and hence username is hardcoded but basically you can loop through Users and pass their Username.
string strUser = “DOMAIN\\USERNAME”;
UserProfile u = upm.GetUserProfile(strUser);
QuickLinkManager qlm = u.QuickLinks;
// I have hard coded the link but you will be reading these from your SQL DB.
string strTitle = “mylink”;
string sLinkUrl = “http://my”;
string strGroup = “my group”;
QuickLink ql = qlm.Create(strTitle, sLinkUrl, QuickLinkGroupType.UserSpecified, strGroup,Privacy.Public);
I have uploaded slides for my session on SharePoint 2010 workflow at Hamilton SharePoint User Group.
You can find them here.
Using workflows in SharePoint 2010
Thanks for everyone who attended my session.