function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
asha gadiasha gadi 

Is there any way to migrate knowledge articles from org to org?

Our client is going to create all the knowledge articles in one sandbox and I need to export all these articles and import into production. I have seen export for translation and import for translation but this requires submitting each article for translation in order to export those articles and even after that, the datacategory mapping is missing in the export file. 
 
Khan AnasKhan Anas (Salesforce Developers) 
Hi Asha,

I trust you are doing very well.

It is an idea (https://success.salesforce.com/ideaView?id=08730000000kuTgAAI) to Move Knowledge Articles From One Org to Another.
However, you can use below Heroku tool to migrate article.

https://kbapps2.herokuapp.com/

I have never used this tool but I think this is what you are looking for.


I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.

Thanks and Regards,
Khan Anas
manodev OVmanodev OV
Knowledge articles can be exported from Salesforce as a package zip file which includes property file, csv, and folder of html files including attachments from production using an Salesforce third party app “Heroku”. This procedure doesn’t need any installation. By providing Salesforce login credentials, we can download articles based on below filters. 
  • Publication Status:
    • Online
    • Draft
    • Archived
  • Language
Maximum of 500 articles can be exported at a time from Salesforce Heroku. User with Sys Admin, CCBIC profiles can export articles from Salesforce.
Why Heroku:
Salesforce does not have any inbuild setup to export/transfer files from one sandbox to another. Salesforce provides export options only for translations, within the same org.
Step-By-Step Procedure:Log in Salesforce Production Org.
  1. Hit the Heroku export article Link https://kbapps2.herokuapp.com/exportk2k/ (https://kbapps2.herokuapp.com/exportk2k/" style="color:blue; text-decoration:underline)
  2. Choose Production and provide salesforce login credentials
  3. Export articles based on the filter provided by the app.
  4. Export in Salesforce Article importer format
  5. Once done, mail will be sent to the exported user. Download from the mail.
Import articles:
Salesforce itself provides a setup to import articles.
Salesforce pre-requisites:
  • Enable/Check the Knowledge user checkbox for the required user.
  • Ensure read/edit/create article permission for the profile.
  •  Ensure import article wizard is enabled for the users.

Step-By-Step Procedure:
  1. Enable/Check the Knowledge user checkbox for the required user.
  2. Ensure Read/Create/Edit permission is enabled for the profile.
  3. Ensure Article type and data category are identical in both the orgs.
  4. Rename the importing zip file as language code(en__US/ru) and ensure the zip file contains Property file, CSV and folder of html files.
  5. In salesforce setup, Search and open Import article wizard.
  6. In import article wizard, select the type of article and upload the updated zip file.
  7. Click import 
  8. Imported status and log can be viewed in import/export article log.
  9. The imported articles will be listed as draft files under knowledge draft folder.

Knowledge articles types and data category types can be exported through ant script and deployed to the required org.
The knowledge layout is translated based on the user’s local language.
Naveen KNNaveen KN

Effective ways to export articles from Salesforce sandbox 
https://www.codekiat.com/2020/04/export-knowledge-articles-salesforce.html 

--
Naveen K N
Mudit Pandey 15Mudit Pandey 15
Hey @manodev ov @Naveen KN

Need to confirm if the article Export using Heroku app is still working ..

need to know ,as I have entered our details and have not received any email with the link ..
Also the email would be same what is being registered with the login user ?

Let me know your  insights 
Shayne Hudson 29Shayne Hudson 29
make sure you have "all email" enabled under deliverability for your sandbox.