cancel
Showing results for 
Search instead for 
Did you mean: 

How to associate "New ! " icon with the each new document added in KM

Former Member
0 Kudos

Hi All,

Someone can help me with this.

I need to associate a "New !" icon image with each new document uploaded into KM content. This "New !" icon should disappear after some time when the document is no longer new for the KM.

Thanks

DK

Accepted Solutions (1)

Accepted Solutions (1)

former_member189326
Active Participant
0 Kudos

Hi Deepak,

you could do this by writing a custom property renderer to render the icon as appropriate. For older documents, you could show the default icon as it is shown now, for new ones you could show your desired icon.

Edited:

The best guide for doing this is the KMC developer guide:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/kmc/Knowledge%...

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Deepak,

Keep in mind, there is already something similar implemented out of the box from SAP. Their item shows a blue flag next to a document when it's new for a specific user. As soon as the user views the document, the flag will be removed for them. Note: The appearance of the flag isn't based on whether the document is still new for KM; It's whether the document is still new for the user currently logged into the Portal. So a document could be new for quite some time, until the user read it.

You can see this flag by using the AppQuicklinkExplorer layout set in your KM Navigation iView. The specific property that displays this "new" flag is rnd:newitem.

Hope this helps!

Fallon