Knowledge articles are formed of metadata and data components, and Gearset can help you deploy them to your target orgs. As with any data records in Salesforce, make sure you deploy the metadata to the target before migrating the data records.

Metadata 

Knowledge articles are considered Custom Objects  in the metadata type. You can select Knowledge__kav and deploy them to the target just like any other metadata. 

Knowledge articles appear in the comparison results as custom objects, as show in the screenshot below.

Data 

To deploy Knowledge data records with Gearset, you can follow the data deployment workflow (learn more about our data loader here). 

In the screenshot below, we are migrating 4 knowledge articles to a target where none exist.

Using the data loader you can migrate the knowledge articles over to the target org. In this example, you would select the knowledge__kav object. (If you are interested in migrating other the  articles types, look for the corresponding __kav object.)

Follow through the rest of the data deployment to move the articles across to your target org.

Once the articles are deployed, they will appear as DRAFT in the target org, ready for you to publish in your target org.

Troubleshooting

To deploy knowledge article data you will need the following:

  • To have the data loader feature in Gearset purchased and enabled by your team owner
  • The Knowledge object metadata type needs to exists on both the source and target
  • The user running the deployment needs to have permission to access the Knowledge objects
  • The attributes of the Knowledge object need to allow Gearset to read and write to them, therefore the values of queryable  and updateable  need to be true

If you are still having trouble deploying Knowledge Articles, please get in touch.

Did this answer your question?