+

Search Tips   |   Advanced Search

Remote action plug-in

Use the RemoteAction plug-in to reference remote actions from the web content. Remote actions enable you to trigger actions that are typically performed with the authoring portlet, such as creating and editing items and generating views.

We can reference remote actions using plug-in tags with the following format:

[plugin:RemoteAction action=" " docid=" " 
useCurrentSelection=" " dialog=" " useCurrentContext=" "]

This example demonstrates a "new" action to create a content item:

[plugin:RemoteAction action="new" type="com.ibm.workplace.wcm.api.WCM_Content" pid="com.ibm.workplace.wcm.api.WCM_SiteArea/ID2" atid="com.aptrix.pluto.presentation.template/ID1" wcmfield.content.name="newcontent" wcmfield.autosave="true" wcmfield.saveValidate="true" ] 

For details on the remote actions that we can access with plug-in tags, see Use remote actions.


Parent: Render plug-ins provided with Web Content Manager

Related:

Use remote actions