Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Knowledge roles that can edit. (Knowledge versioning)

Shawn34
Tera Contributor

List of fields (comma-separated) that can be edited on published articles without creating a new version. 
I'm attemting to allow an entire group to make minor edits to knowledge articles without creating a new version.  I have my fields. 

 

List of fields that can be edited without creating a new version 

valid_to,kb_category,meta,kb_knowledge_base,can_read_user_criteria,cannot_read_user_criteria,kb_knowledge_base

 

The only roles that seem to be able to make changes to those fields have to the KB manager or owner. I need it to be on the contributor level. 

 

 

1 ACCEPTED SOLUTION

jMarshal
Mega Sage

Hi @Shawn34  - you're gonna want to have a look at the oob "Versioning : Make fields read only" client script. I think it's the "hasOwnProperty" function that you're going to be needing to modify...or you can just do it right in this client script perhaps?

Either way, this is a "high risk" config/customization which will likely result in skipped records during updates, so make sure you test rigorously!

View solution in original post

1 REPLY 1

jMarshal
Mega Sage

Hi @Shawn34  - you're gonna want to have a look at the oob "Versioning : Make fields read only" client script. I think it's the "hasOwnProperty" function that you're going to be needing to modify...or you can just do it right in this client script perhaps?

Either way, this is a "high risk" config/customization which will likely result in skipped records during updates, so make sure you test rigorously!