Enable Versioning

12uy
Mega Sage

Hello everyone!
I have a question: why does
this.isVersioningEnabled() return false?

12uy_3-1708931431828.png

 

when I have configured it like this:

12uy_1-1708931257297.png12uy_2-1708931318827.png

 

 

1 ACCEPTED SOLUTION

Thank you for your concern!
After reviewing the code again, I found a silly mistake: missing the underscore character at the beginning of the
initialize function. Everything is working fine now.

12uy_0-1708940239708.png

 

12uy_1-1708940308485.png

 

View solution in original post

4 REPLIES 4

Community Alums
Not applicable

Hi @12uy ,

Check the below :

  • Article Versioning is enabled (the Knowledge Management Advanced Installer plugin is activated)
  • The property glide.knowman.versioning.enabled is set to true
  • The article is in Published state

If you import published knowledge articles from a ServiceNow instance that does not support article versioning, you must run the Initialize Versions on Articles fix script to enable article checkout and editing.

 

Thanks @Community Alums ,

  • The article is in Published state

12uy_0-1708932954770.png

Why when accessing: /kb_view.do?sysparm_article=KBXXXXXXXX, it doesn't display the latest version?

12uy_1-1708933352539.png

 

Community Alums
Not applicable

Thank you for your concern!
After reviewing the code again, I found a silly mistake: missing the underscore character at the beginning of the
initialize function. Everything is working fine now.

12uy_0-1708940239708.png

 

12uy_1-1708940308485.png