Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Installation of the Knowledge Management Advanced Plugin fails if unique index already exists in article number - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Installation of the Knowledge Management Advanced Plugin fails if unique index already exists in article number
KB0634959

Installation of the Knowledge Management Advanced Plugin fails if unique index already exists in article number


5688 Views Last updated : May 5, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Installing the Knowledge Management Advanced plugin fails if a unique index on an article number field already exists. 

Release

This issue has been identified in all currently supported releases

Resolution

The following corrective steps need to be taken as corrective action:- 

Step 1. Execute the below script to remove the Unique index created on table "kb_Knowledge" for field "number":-

    var tableName = "kb_knowledge";

var isUniqueIndex = true;

var columnsInIndex = ["number"];

var util = new GlideIndexUtils();

var count = util. dropByExactElementSequence(tableName, isUniqueIndex, columnsInIndex);

gs.info(count + " index dropped.");

 
Step 2:- Uncheck the "unique" field for table kb_knowledge in sys_dictionary
  1. Navigate to System Definition > Dictionary
  2. Search for Table = kb_knowledge and Column name = number
  3. Open the record and uncheck Unique field

Only If Unique field is not available:

    1. Right click on Form Header > Configure > Form Layout
    2. Move the entry Unique from the Available to Selected list.
    3. Save changes. The Unique field is now visible.

Step 3:- Now retry activating the plugin.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.