Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IPortletTemplateManager.CreatePortletTemplate Method 

Returns an IPortletTemplate object that represents a new Portlet Template in the portal.

IPortletTemplate CreatePortletTemplate(
   int parentFolderID,
   int webServiceID
);

Parameters

parentFolderID
the folder in which to create the new Portlet Template
webServiceID
the ID of the Web Service with which to create this Portlet Template

Return Value

an object representing the new Portlet Template; the object will not be saved in the portal until IPortletTemplate.Save() is called.

Remarks

Note: This Portlet Template will not be created in the portal until the IPortletTemplate.Save() method is called.

Exceptions

Exception Type Condition
NoSuchObjectException if there is no object with the specified ID
HttpException if the query interface URL is not valid
PortalException if the operation resulted in an error on the portal

See Also

IPortletTemplateManager Interface | Plumtree.Remote.PRC Namespace