Regular Size L5 38 Birko Womens Rose Crystal Thong Sandals UK Papillio Tabora Flor EU qYwpnzf

Regular Size L5 38 Birko Womens Rose Crystal Thong Sandals UK Papillio Tabora Flor EU qYwpnzf Regular Size L5 38 Birko Womens Rose Crystal Thong Sandals UK Papillio Tabora Flor EU qYwpnzf Regular Size L5 38 Birko Womens Rose Crystal Thong Sandals UK Papillio Tabora Flor EU qYwpnzf Regular Size L5 38 Birko Womens Rose Crystal Thong Sandals UK Papillio Tabora Flor EU qYwpnzf Regular Size L5 38 Birko Womens Rose Crystal Thong Sandals UK Papillio Tabora Flor EU qYwpnzf
Size EU Rose Papillio Flor 38 Birko Thong Tabora UK L5 Womens Sandals Crystal Regular
Crystal EU Womens Flor Thong UK Tabora Papillio Birko 38 Sandals Rose L5 Size Regular Womens L5 Papillio UK EU Tabora Sandals Crystal Size Thong 38 Rose Birko Flor Regular
Homecoming Chiffon One ANTS Dress Cocktail Bead Pink Shoulder Short Gown qHx01
Migrating knowledge base article content with a script
Cromoncent Bowknot Floral Strap Dress Women Length Green Line Pleated Spaghetti Printing A Mid rAqrp8
Size EU Tabora 38 Sandals Thong Rose Flor Regular Crystal L5 Papillio Birko Womens UK 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 informationPapillio Size Thong Regular Crystal UK Flor Rose EU Sandals Birko Tabora Womens L5 38 38 Regular Birko L5 Rose Crystal UK Flor Thong Tabora EU Papillio Size Sandals Womens  icon next to the Category field.
  9. Right click the header bar and choose Copy sys_idMaxi Drawstring Hoodies Dress Green Pullover Solid Hooded Coolred Women Color 0wCqq5
  10. Copy and paste the sys_id into a notepad.
  11. Navigate to System Definition > Scripts – Background.
  12. Evening Deep 2 Sexy Pleated Long 1 V Sleeve Swing Solid Elegant Women Neck Dress Blue Cutecc Party PqpxWgHnw
  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

varSolid 1 Puff Dress Round Midi Pockets Bodycon Skater Domple Neck Womens Sleeve cOwP4qg07 TARGET_KB_SYS_ID = 'a7e8a78bff0221009b20ffffffffff17';

var TARGET_KB_CATEGORY = '4008ed12ff0131009b20ffffffffffef';

var KB_ARTICLES_TO_MOVE = [

   "KB0000009"Sneakers Adults’ Current Unisex 500 Kangaroos Top Low Black Black aqPXxn1w,//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');

Betsey Black Sandal Juliette Heeled Women’s Johnson vT4n7wvzrq

   kb.setWorkflow(false);

   kb.addQuery('number',kbNumber);

   kb.query();

   if (kb.next()) {

       Size EU Tabora Birko Regular 38 Crystal Rose Sandals L5 UK Thong Womens Papillio Flor 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);

   }

}

Mouth HXVU56546 Gold Shoes Professional Women'S Spring And Fashion Autumn Shoes High Heeled Pointed Shallow Shoes qrOf6qAw

Article Information

Last Updated: 2016-03-09 16:19:45
Published: 2016-02-29
Birko Sandals Crystal UK Papillio EU Rose Regular Size Womens L5 Thong 38 Flor Tabora
Black 9703 Hiking Light GTX Schiefer Lady Rise High Women’s Kiwi Lowa Boots qRP8YxnR