Converts a CSV containing the HTML of knowledge articles, to a zip file containing import.properties for use in the Salesforce Article Import feature.
Extracts HTML values in separate files and an updated CSV where the original HTML has been replaced with references to the HTML files in the zip.
Also allows remapping of column headers from the original CSV.
- Install node (https://nodejs.org/en/download)
- Clone this git repo
$ git clone https://github.com/HKOLWD/kaconvertor.git
- Change to directory repo was cloned into and Run npm install
$ npm install
- Start kaconvertor:
$ node ./bin/www
- Open http://localhost:3000 in browser
- Set the CSV properties for Column separator, Quotation character and Escape character for the source CSV file.
- Select the source CSV file
- Press upload!
- Select the columns that contain HTML (check the "Extract HTML" box for those columns).
Optional:
- Edit column headers to match fields on the target Knowledge object
- Modify import.properties values (defaults should be fine to import articles+translations)
Press Convert!
Download zip file and upload in Salesforce setup, under "Import articles"