Keywords.setSubsiteDefaultSetting (Method)
Defines the keywords that will become the default for new pages created within the current subsite. It also sets how these keyword's affect descendant subsite settings.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
subsiteIDOrURL | SubsiteIDorURL_EmptyString | Required | The ID of the target subsite, or the server relative path to the target subsite, or an empty string for the current subsite. |
keywordList | KeywordList_EmptyString | Required | A comma-delimited list of keywords. |
descendantSubsitesAction | KeywordSettingDescendantSubsitesAction | Optional. Defaults to 'NONE'. | String identifying how a keyword's subsite settings affect descendant subsites. A value can be 'NONE', 'ADD', or 'REPLACE'. |
Context:
License Requirements | Keywords |
Permission Requirements | subsite:SubsiteAdmin |
Deny Context | None |
Require Context | AuthoringEnabled |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the site level, calls to this method will be logged |
Customization | This method may be customized at the site level |
Error Codes:
None
Notes:
None