Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortletTemplateManager.GetPortletTemplate Method

Returns an `IPortletTemplate` object that represents an existing Portlet Template.

IPortletTemplate GetPortletTemplate(
int templateID
);

#### Parameters

templateID
  The ID of the Portlet Template to be returned

#### Return Value

the Portlet Template being queried

#### Remarks

Any changes made to the Portlet Template will not take effect in the portal until `IPortletTemplate.Save()` 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