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

Adding the Print Command to the LIM

Next, you need to associate the print.aspx page with a custom action. In the original solution, the action URL was defined as

<UrlAction Url="{SiteUrl}/_layouts/PrintList.aspx?list={ListId}"/>

In SharePoint Designer, you are only concerned with including the {SiteUrl} and {ListId} tokens in the Navigate to URL action in the Create Custom Action dialog.

To create a new custom action and associate it with the print.aspx page, perform the following steps.

Note

In this example, I used an out-of-the-box Announcements list, which was populated with some dummy entries to help demonstrate the effect of the custom action.

1. In SharePoint Designer, navigate to the Announcements list Settings page and click the hyperlinked ...

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