Plumtree EDK (Enterprise Web Development Kit) 5.4.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 | if passed an invalid (blank) setting name
HttpException | if the query interface URL is not valid
PortalException | if the operation resulted in an error on the portal
SoapException | if there is a communication problem during the execution of the remote method call

#### See Also

IPortlet Interface | Plumtree.Remote.PRC Namespace