PANVEGA’s Blog

DotNet Development, SharePoint Customizing, Silverlight, MS Infrastructure and other tips and tricks

Posts Tagged ‘My Site’

Using ASP in JavaScript for URL Encoding in SharePoint fields

Posted by PANVEGA on February 3, 2009

In this post I want to show you how to rebuild the standard MyLinks –> Add to My Links for a custom MyLinks Control in Visual Studio and using ASP in JavaScript.

Active Server Pages exposes an object called ServerVariables, which is part of the Request object. This ServerVariables object allows the programmer to see many environment variables. You can use the ServerVariables along with IIS’s directory sercurity options to determine who is currently accessing your site. You can also grab the visitor’s IP address using the ServerVariables object. This article includes a question and answer from the Activer Server Pages mailing list, as well as an excerpt from the Visual InterDev 1.0 help files detailing all of the properties of the ServerVariables object.

https://panvega.wordpress.com/2008/02/24/different-way-how-to-customize-the-mylink-in-moss (4. How to develop your custom MyLink Control in Visual Studio.) Read the rest of this entry »

Posted in ASP.NET, C#, Delegate Controls, Deployment, DotNet, JavaScript, MOSS, My Links, My Site | Tagged: , , , , , , , | 2 Comments »

Changing the My Links Policy and customize the QuickLinks.aspx PageLayout

Posted by PANVEGA on January 26, 2009

the goal is to make in the custom quicklinks.aspx the fields Privacy and Grouping invisible by customizing the aspx offline. Howver you can not delete these two fileds, because they are mandatory fileds when creating a new QuickLink instance in the SP Object Model. See the Screen below. In the next step I wanna change the default Privacy value from Everyone to Only Me.

Customizing the quicklinks.aspx view

Eg.  QuickLink ql = qlm.Create(title, sLinkUrl, QuickLinkGroupType.General, strGroup, Privacy.Private);

You find the page in the http://legal.litwareinc.com/_layouts/myquicklinks.aspx and add a new Link. You will be navigated to the quicklinks..aspx (see below). Read the rest of this entry »

Posted in Administration, MOSS, My Links, My Site, Security | Tagged: , , , , | Leave a Comment »

MyLinks without MySite

Posted by PANVEGA on December 1, 2008

In this post I am gonna show you how to manage the global MyLinks for users without activating the MySite.

The goal is that every user can admin his own custom links (Like in the MyLinks) without having access to the MySite. In addition the user should see all his personal links in a webpart in the Startpage.

Read the rest of this entry »

Posted in Administration, MOSS, My Links, My Site, Security | Tagged: , , , | Leave a Comment »

Different ways how to customize the MyLink in MOSS

Posted by PANVEGA on February 24, 2008

1. Add a hard coded link in the global links view.

Posted in Administration, C#, Delegate Controls, DotNet, MasterPage, MOSS, My Site | Tagged: , , , , , , | 1 Comment »