Show latest published version of the article in KB View page

Nitin Kumar2
Kilo Contributor

Hi,

When a user tries to see the article in kb_view he is getting displayed the latest version of the article irrespective of it's state ie., draft, rejected etc., which is not the correct thing. We would like to display the latest published version of the article.

Thanks

find_real_file.png

6 REPLIES 6

Roq
Tera Contributor

KBViewModelSNC is on "read-only" mode for Vancouver release.

Anyone having the same requirement and manage to display only the published articles in the related items for knowledge?

 

Thank you,

Thank you,

Hi Roq,

 

If you want to alter the behavior of "KBViewModelSNC", you can modify the "KBViewModel" script include instead. You can copy the entire method you'd like to modify from KBViewModelSNC, paste it in KBViewModel, and make your changes there. I haven't modified that one, but I've done the same with similar OOB script includes.

 

Thanks,

Kristen