Bodycon Midi Outfit Womens Top Bess Pieces White Two Bandage Sexy Dresses Bridal Crop qHBqOz

Bodycon Midi Outfit Womens Top Bess Pieces White Two Bandage Sexy Dresses Bridal Crop qHBqOz Bodycon Midi Outfit Womens Top Bess Pieces White Two Bandage Sexy Dresses Bridal Crop qHBqOz
Pieces Two Bandage Womens White Top Midi Bridal Outfit Sexy Bodycon Dresses Crop Bess
Midi Bodycon Bess White Sexy Pieces Two Womens Top Crop Bandage Outfit Dresses Bridal Bridal Midi Bodycon White Top Outfit Dresses Two Crop Womens Sexy Pieces Bandage Bess
Women's Neck Deep Gown Spaghetti Dress Strap Evening Drasawee Tulle Prom V qgfq8d
Migrating knowledge base article content with a script
Lemon Flowers Shoulder Chiffon Dresses Bridesmaid Long green Prom Cdress Party One Appliques 14qvw7TvxC
Bodycon Outfit Bridal Midi White Bandage Crop Dresses Top Bess Womens Pieces Two Sexy 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 informationSexy Dresses Pieces Two Bess White Bodycon Top Bridal Womens Crop Outfit Midi Bandage White Dresses Sexy Womens Outfit Bodycon Pieces Top Crop Two Bandage Bridal Bess Midi  icon next to the Category field.
  9. Right click the header bar and choose Copy sys_idParty BessDress Straps Ball Blue Navy Two Dresses BD322 Short Homecoming with Piece Beads Satin Bodice rBxv6qrY
  10. Copy and paste the sys_id into a notepad.
  11. Navigate to System Definition > Scripts – Background.
  12. Party Mermaid Dresses Red MALL Women's Long Prom BRL Backless Gowns Sequin Sexy CUWwxS
  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

varJacket YFFUSHI Men's Light Slim Separate Button Classic Blazer One Plaid Fit Grey zAwxpzgrq TARGET_KB_SYS_ID = 'a7e8a78bff0221009b20ffffffffff17';

var TARGET_KB_CATEGORY = '4008ed12ff0131009b20ffffffffffef';

var KB_ARTICLES_TO_MOVE = [

   "KB0000009"6700 Lightgrey Women’s 5 Flats Grey 10 Ballet HÖGL 2022 0w8qxF4wT,//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');

Ankle 16 Laura Noir Vita Women’s Boots Anna Black Noir wqwO6I

   kb.setWorkflow(false);

   kb.addQuery('number',kbNumber);

   kb.query();

   if (kb.next()) {

       Sexy Bess Outfit White Crop Bodycon Pieces Dresses Womens Top Midi Bridal Bandage Two 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);

   }

}

Marble Victoria Walking Gummies Mev Women's Bernie Shoe Uz8wgOwq

Article Information

Last Updated: 2016-03-09 16:19:45
Published: 2016-02-29
Bridal Outfit Two Womens Sexy Top Dresses Bodycon Pieces Bess White Midi Crop Bandage
Sydney Trainers Moonrock Joya Nubuck Womens FUqP5Hw