O'Reilly logo

Microsoft® SharePoint® Designer 2010 Unleashed by Kathy Hughes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sharing Custom Action Resources Throughout Site Collections

In the preceding exercise, you created an ASPX page named print.aspx that is used to create a custom action in a list in the current site (Web). However, if you want to use the same page for adding more print functionality to lists and libraries throughout your site collection then you need to save the file to a common location, such as the _layouts directory defined in the original solution. The /_layouts directory in SharePoint is a virtual (IIS) web directory shortcut that refers to the following file location on the Web front-end server:

%SystemDrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS

Saving the file to the _layouts directory means ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required