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 ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.