Keywords.appendEnforced (Method)

Returns a comma-delimited list of all of the current subsite's enforced keywords appended to the end of the list contained within the 'keywordList' argument. The keywords are case-sensitive and this method removes duplicate items. If the 'keywordList' argument is an empty string, the returned value is a list of the subsite's enforced keywords.

Returns:

KeywordList_EmptyString (specialcase)

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.

Context:

License Requirements Keywords
Permission Requirements (none)
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

None

Notes:

None