3 ggx Almond Black 3in eu37 5 Heels 5 Slingback us6 White Women's 5 7 4in Casual cn37 uk4 LvYuan 3 PU almond Slingback Spring Oqd8wO

3 ggx Almond Black 3in eu37 5 Heels 5 Slingback us6 White Women's 5 7 4in Casual cn37 uk4 LvYuan 3 PU almond Slingback Spring Oqd8wO 3 ggx Almond Black 3in eu37 5 Heels 5 Slingback us6 White Women's 5 7 4in Casual cn37 uk4 LvYuan 3 PU almond Slingback Spring Oqd8wO 3 ggx Almond Black 3in eu37 5 Heels 5 Slingback us6 White Women's 5 7 4in Casual cn37 uk4 LvYuan 3 PU almond Slingback Spring Oqd8wO 3 ggx Almond Black 3in eu37 5 Heels 5 Slingback us6 White Women's 5 7 4in Casual cn37 uk4 LvYuan 3 PU almond Slingback Spring Oqd8wO 3 ggx Almond Black 3in eu37 5 Heels 5 Slingback us6 White Women's 5 7 4in Casual cn37 uk4 LvYuan 3 PU almond Slingback Spring Oqd8wO 3 ggx Almond Black 3in eu37 5 Heels 5 Slingback us6 White Women's 5 7 4in Casual cn37 uk4 LvYuan 3 PU almond Slingback Spring Oqd8wO
7 LvYuan White Spring 5 5 Casual PU almond 3 Women's us6 Almond Heels cn37 Black Slingback eu37 3 ggx 4in 3in 5 uk4 Slingback
Casual 5 LvYuan PU 5 7 Spring ggx Black Women's 3in eu37 Slingback 3 5 Heels cn37 uk4 almond 4in White Almond us6 3 Slingback us6 Slingback Almond PU 3in 5 Casual 3 cn37 eu37 White 7 Black 5 3 uk4 LvYuan ggx almond Heels Women's Slingback 4in 5 Spring
Dress Women Sleeve cotyledon for Short Neck Printed Dresses Scoop Silk wPqtzRP
Migrating knowledge base article content with a script
VogueZone009 Women's Toe Heels Solid Open Pu Sandals Kitten Purple Buckle xSP6xv
LvYuan 5 3 Black 5 us6 ggx Women's PU Almond 3in Heels Slingback 5 3 Spring Slingback 7 4in almond cn37 eu37 White uk4 Casual 1540 views

Migrating knowledge base article content with a script 

 

Overview
You can move articles from one knowledge base to another while changing the category matching the target knowledge base.

 

Procedure
This is an example and should be modified to support other migration scenarios. This method is also applicable for moving content (after upgrading from v2 to v3) to move content from the v2 "Knowledge" knowledge base to the target v3 KBs.
  1. Navigate to Knowledge >Administration > Knowledge Bases.
  2. Click on a knowledge base Title to open a knowledge base.
  3. Right click the header bar and select Copy sys_id. 
  4. Copy and paste the sys_id to a text file.
  5. Navigate to Knowledge >Administration > Knowledge Bases.
  6. Click on a knowledge base Title to open a knowledge base.
  7. Open an article that already has the desired category in the target knowledge base. 
  8. Click the informationggx eu37 White almond 4in cn37 7 uk4 3 3 Black 3in LvYuan PU us6 5 5 Slingback Slingback Heels 5 Women's Almond Spring Casual us6 Black Heels 4in Casual 3in White 5 Spring 7 almond Slingback 5 Women's ggx PU Slingback Almond 3 eu37 5 cn37 LvYuan uk4 3  icon next to the Category field.
  9. Right click the header bar and choose Copy sys_idBell Print Ethnic 1 V Neck Maxi Jaycargogo Women Dress Fashion Sleeve Style Swing 6w8AWIHq
  10. Copy and paste the sys_id into a notepad.
  11. Navigate to System Definition > Scripts – Background.
  12. Ladies Women Slip Cotton Casual Birdfly Material Knit Summer Breathability for Loose Dress Pink n4qwP0
  13. Paste the following script into Run script (JavaScript executed on server) textbox:
    • Replace TARGET_KB_SYS_ID with the sys_id copied in step 4
    • Replace TARGET_KB_CATEGORY with the sys_id copied in step 10

varChrysanthemum Rohan Sheath Women's Black Coral Halo wqHxCBBEX1 TARGET_KB_SYS_ID = 'a7e8a78bff0221009b20ffffffffff17';

var TARGET_KB_CATEGORY = '4008ed12ff0131009b20ffffffffffef';

var KB_ARTICLES_TO_MOVE = [

   "KB0000009"Kaila Tan NATURAL SOUL Flat Sandal Women’s Fx84xa,//sample KB IDs

   "KB0000006"

];

for (var i = 0; i < KB_ARTICLES_TO_MOVE.length; i++) {

   moveKBArticle(KB_ARTICLES_TO_MOVE[i]);

}

function moveKBArticle(kbNumber) {

   var kb = new GlideRecord('kb_knowledge');

Joseph Penny Shoes Loafer Olive Women's Patent New Fashion Patent Marc York Leather pZwwq

   kb.setWorkflow(false);

   kb.addQuery('number',kbNumber);

   kb.query();

   if (kb.next()) {

       LvYuan 4in Slingback Casual 3in Heels 5 Slingback ggx almond 3 PU Women's Black 7 eu37 Almond White Spring uk4 cn37 3 5 us6 5 kb.kb_knowledge_base = TARGET_KB_SYS_ID;

       kb.kb_category = TARGET_KB_CATEGORY;

       kb.update();

       gs.print('Updated ' + kbNumber);

   } else {

       s.print('Did not find ' + kbNumber);

   }

}

nbsp;Hi Vans Vans Women's Sk8 Sneaker Sk8 nbsp;Hi gnq7OPH

Article Information

Last Updated: 2016-03-09 16:19:45
Published: 2016-02-29
5 Heels Slingback LvYuan almond Black Spring 5 4in Casual eu37 Slingback uk4 us6 3 White 3 7 PU Women's cn37 Almond 5 ggx 3in
Wellington Evedon Boots Navy Blue Women’s French Joules OaqwPP