AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IContentItem.ClearAssociatedPortletID Method

Clears the portlet association for this content item.

void ClearAssociatedPortletID();

#### Remarks

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

An `InvalidOperationException` will be thrown if this method is called on an item that has not been checked out. The portlet disassociation will not be persisted until `IContentItemManager.CheckInItem` is called.

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

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The content item is not checked out or has been deleted.

#### See Also

IContentItem Interface | Plumtree.Remote.PRC.Content.Item Namespace | SetAssociatedPortletID | GetAssociatedPortletID