AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortlet.AddCommunityPortletSetting Method

Adds a CommunityPortlet setting for the Portlet.

void AddCommunityPortletSetting(
int communityID,
string name,
string value
);

#### Parameters

communityID
  The ID of the community to add the setting for.
name
  The name of the new setting to add.
value
  The value of the setting to add.

#### Remarks

CommunityPortlet settings are specific to a particular Portlet in a particular Community. If there is already a CommunityPortlet setting of the same name, this method will overwrite it. Note: This setting will not be saved in the portal until `Save()` is called.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentException | The method passed an invalid (blank) setting name.
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

IPortlet Interface | Plumtree.Remote.PRC Namespace