Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPresentationTemplate.ClearAssociatedPortletID Method

Clears the portlet association for this Presentation Template.

void ClearAssociatedPortletID();

#### Remarks

The portlet that was previously associated with this Presentation Template can be associated to a different Presentation Template or content item after this method is called and the Presentation Template is persisted.

The portlet disassociation will not be persisted until `Store` is called on the template.

Calling this method twice in a row on a Presentation Template that does not have an associated portlet will not result in an exception.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The Presentation Template has been deleted.

#### See Also

IPresentationTemplate Interface | Plumtree.Remote.PRC.Content.PresentationTemplate Namespace | SetAssociatedPortletID | GetAssociatedPortletID