Updating article data category assignment via the API is not possible. However, it is possible to delete existing data category assignments and insert or assign new categories to articles via the API using a client tool such as Salesforce Data Loader.
Administrators may consider manipulating existing Article Type__DataCategorySelection records by exporting existing assignments, deleting them, and then preparing a file to insert only their desired category assignments for articles to effectively achieve the same result as a mass update.
Notes:
| Warning Always back up your data before performing any data operation. See Export Backup Data from Salesforce or Export Data for more details. It is highly recommended to attempt the following steps in a sandbox or other test environment and then with a small subset of records in production to ensure the operation was successful through manually opening and verifying that the corresponding records are correct in Salesforce. |
Note: This process requires manual creation of a new file or manipulation of your export file and you'll need to ensure that you have created a unique row for each data category you would like to assign to each article. Using Article Type__DataCategorySelection to classify an article, you can't select both a category (for example USA) and one of its descendants (California) or ascendant categories (North America). In this case, only the first category is selected.
000382462

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.