Wednesday, June 29, 2011

Understanding the Application Page CopyUtil.aspx

I have recently came to know about an Application Page called CopyUtil.aspx.
Ever came across a scenario where you have to navigate either to Dispform or EditForm by passing in parameters like siteId,ListId and ItemId.
These are some of the parameters that this page expects which will help you in smooth navigation.
Mostly this is used with SPSiteDataQuery .
The URL would look like this
/_layouts/CopyUtil.aspx?Use=id&Action=dispform&ItemId="itemID"&ListId="listID"&WebId="webId"&SiteId="siteId"
The Action Parameter is the one you have to decide ,it might be dispform or editform.

1 comment: