AquaLogic Interaction Development Kit (IDK) 6.0.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 | There is no Portlet Template with the specified ID.
HttpException | The query interface URL is not valid.
PortalException | The operation resulted in an error in the portal.
SoapException | There was a communication problem during the execution of the remote method call.

#### See Also

IPortletTemplateManager Interface | Plumtree.Remote.PRC Namespace