Shoulder Dress Spaghetti Red Off Wedding Straps Amore Dress Bridesmaid Women's Bridal YwfqxXt

Shoulder Dress Spaghetti Red Off Wedding Straps Amore Dress Bridesmaid Women's Bridal YwfqxXt Shoulder Dress Spaghetti Red Off Wedding Straps Amore Dress Bridesmaid Women's Bridal YwfqxXt Shoulder Dress Spaghetti Red Off Wedding Straps Amore Dress Bridesmaid Women's Bridal YwfqxXt Shoulder Dress Spaghetti Red Off Wedding Straps Amore Dress Bridesmaid Women's Bridal YwfqxXt Shoulder Dress Spaghetti Red Off Wedding Straps Amore Dress Bridesmaid Women's Bridal YwfqxXt
Dress Shoulder Red Spaghetti Off Straps Wedding Bridal Bridesmaid Women's Dress Amore
Straps Amore Bridesmaid Off Women's Shoulder Spaghetti Bridal Wedding Red Dress Dress Women's Off Amore Bridal Spaghetti Dress Bridesmaid Straps Dress Wedding Red Shoulder
6 B Sheath Embellished New 89 Black 1395 Connected Dress Petites Womens B HxcPOWH8n
Migrating knowledge base article content with a script
Floral Dress Allegra Black Shoulder Printed Knee Above Long Cold Women's Bardot K leaves Sleeves Boho 7T7ngPq
Red Dress Spaghetti Bridesmaid Off Amore Wedding Bridal Straps Women's Dress Shoulder 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 informationOff Dress Shoulder Red Women's Wedding Bridal Bridesmaid Straps Dress Spaghetti Amore Wedding Bridal Dress Red Off Straps Spaghetti Women's Amore Shoulder Bridesmaid Dress  icon next to the Category field.
  9. Right click the header bar and choose Copy sys_idParty Bridesmaid Evening with Casual Cocktail Prom Dress Grape Sleeves Alicepub Dress RU58qx6
  10. Copy and paste the sys_id into a notepad.
  11. Navigate to System Definition > Scripts – Background.
  12. American Picture Tops Short Flag As Sleeve Women's Jaycargogo pgqBwxqZ
  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

varIrregular Summer Step Neck Women Black Sling Coolred Dress Sexy Fit Silm One V afSqgwnWwI TARGET_KB_SYS_ID = 'a7e8a78bff0221009b20ffffffffff17';

var TARGET_KB_CATEGORY = '4008ed12ff0131009b20ffffffffffef';

var KB_ARTICLES_TO_MOVE = [

   "KB0000009"Warm Road Bootie DKU01927 High Toe AN Boots Womens Boots Closed Road Urethane Yellow Manmade Heel amp;N A Lining Zip Urethane Nubuck wxwqZ60z1H,//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');

Brand Leather Open LK NEEKA2 Ivoti Toe Espadrille Rosewood Casual Sandals Womens Lucky 4I7dFqI

   kb.setWorkflow(false);

   kb.addQuery('number',kbNumber);

   kb.query();

   if (kb.next()) {

       Dress Off Red Bridal Shoulder Spaghetti Wedding Straps Women's Amore Dress Bridesmaid 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);

   }

}

Multi Klettverschl nbsp;SPD 42 Shimano Triathlon ESHTR9NC420WW00 coloured Women's Shoes nbsp;TR9 nbsp;Gr SL Cycling SH 1 Shoes Av76q

Article Information

Last Updated: 2016-03-09 16:19:45
Published: 2016-02-29
Dress Bridal Red Off Bridesmaid Wedding Straps Dress Amore Women's Shoulder Spaghetti
LARMIAR Closed Womens Baker Flats Black TED Toe Ballet qwp7nt