KB article configuration

Aditya_hublikar
Kilo Sage

Hello Community,

 

adityahubli_0-1768898580629.png

 

adityahubli_1-1768898877144.png

 

This above article is created by publishing one policy . I have one requirnment i want to show valid from and valid to date of policy from that policy record in highlighted area of kb article . will  you please help in configuring these requirnment .

 

Thanks in advance 😄 .

 

Regards,

Aditya

1 ACCEPTED SOLUTION

Hello @GlideFather ,

 

The requirement was fulfilled by cloning the existing Article widget and retrieving the policy “Valid From” and “Valid To” dates using a GlideRecord in the widget’s server-side script. The cloned widget was then added to the sn_km_portal application portal page to display the required information.

 

adityahubli_1-1769146001821.png

 

adityahubli_2-1769146112667.png

 

 

View solution in original post

8 REPLIES 8

GlideFather
Tera Patron

Hi @Aditya_hublikar,

 

there will most likely be this widget:

GlideFather_0-1768903084431.png

 

https://yourinstance.service-now.com/nav_to.do?uri=sp_widget.do?sys_id=a47ea1cb0b9432004ce28ffe15673a5b

 

Definitely DON't modify this!! rather duplicate, make the changes to that duplicate and replace it on Portal/ESC.

 

But what is the goal of this? If an article has Valid to in the past, then it will not be displayed... and for a reader does it matter if it is valid until 31.12.2026 or 3.4.2027? I mean is it really worthy the efforts?

 

EDIT: I checked the system properties but it doesn't seen that any relevant one would exist for this.

_____
No AI was used in the writing of this post. Pure #GlideFather only

Hello @GlideFather ,

 

I already tried this also ,by cloning that widget 

Screenshot (14).png

 

 

 

 

But when im trying to add that widget in that page i getting error like 

This page is in the sn_km_portal application, but Global is your current application

so im not able to do that .

 

So temperory i write one BR Like 

 

adityahubli_0-1768905380782.png

 

 

By this BR valid from date is getting but in article body not in article header .

My Requirnment is like Users know the date the Policy KB becomes effective

@Aditya_hublikar

the error is clear: "This page is in the sn_km_portal application, but Global is your current application".

 

You have selected global scope but the record is not in global but SN KM Portal, so you need to switch the scope 🙂

 

What you are trying will not be easy and I would strongly discourage you from doing it... as said, the valid to takes care of this, if it is not valid, then it's not displayed. And is it really that important for a reader to know until when it will be valid? I believe that what's important is that it is valid NOW when I read it, why do I need to know if it will be valid in next month or next year? I read it now...

 

I don't understand your requirement and I think it's overkill, taking too much efforts for zero or low beenfits :((

_____
No AI was used in the writing of this post. Pure #GlideFather only

Hello @GlideFather ,

 

I tried to change scope but but its not getting change . I appreciate your concern but there was that type of requirnment so that why i was trying to change it .  I know that change will affect whole knowledge articles , i'm not going to change that but now i have curiosity how to configure that widget .