Widget to show 'latest' Knowledge Articles in HR Portal

Carl Fransen1
Tera Guru

Hi Team,

We have a requirement where inside the HR Portal we want to be able to show a widget of the 'latest articles'.  The 'Latest' timeframe should ideally be configurable, but for starters we're going with 'within the last month'.

Has anyone done anything similar that I could use as a starter?

 

Thanks

Carl.

 

1 ACCEPTED SOLUTION

Gaurav Bajaj
Kilo Sage

Hi,

I have designed a new widget to display latest articles created in last 30 days which is also a configurable property through widget options.

Please try it & let me know if you need any help.

 

find_real_file.png

 

Attached is the code for the widget.

Please mark it correct/helpful based on the response.

Thanks
Gaurav

 

View solution in original post

10 REPLIES 10

Venkat799
Kilo Expert

Hello Carl,

Please go to page designer and select the page on which you want to show the articles, and create a new container to drop a widget.

Once you have created this, drop the widget Data table from instance definition to the desired location.

Now configure it using the pen icon in the right corner of the widget. 

In the table field section select the knowledge, fields to show,  select number of entries to show, order by updated field, finally link that to kb_article page.

if you want only HR articles enter the category as HR in the filter section.

If you found it helpful please like.