Saturday, April 25, 2009

Specify a destination library when using Remote Actions URL extension

When constructing a "Remote Action" URL, is there a way to specify a destination library?

A remote action is triggered using the query string parameter ?wcmAuthoringAction=action, where action is one of the following:

This is used to open new item form. You must also specify a "type" parameter.

For example:

* ?wcmAuthoringAction=new&

Now if you want to create a new content and also want to specify a destination library, then you must use &library=libraryName.