Skip to content

Converts a CSV containing Knowledge articles into the correct CSV with linked external HTML files

Notifications You must be signed in to change notification settings

HKOLWD/kaconvertor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knowledge Article Convertor

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.

Installation instructions

  1. Install node (https://nodejs.org/en/download)
  2. Clone this git repo

$ git clone https://github.com/HKOLWD/kaconvertor.git

  1. Change to directory repo was cloned into and Run npm install

$ npm install

  1. Start kaconvertor:

$ node ./bin/www

  1. Open http://localhost:3000 in browser

Usage

Step 1

KA Convertor

  • Set the CSV properties for Column separator, Quotation character and Escape character for the source CSV file.
  • Select the source CSV file
  • Press upload!

Step 2

KA Convertor

  • 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!

Step 3

Download zip file and upload in Salesforce setup, under "Import articles"

Schematic representation

KA Convertor

About

Converts a CSV containing Knowledge articles into the correct CSV with linked external HTML files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published