The channel types provided by SAP include: Knowledge Management (KM) News, RSS, and Universal Worklist.
You can implement a custom channel entry provider, to handle specific business logic of a data source.
You have a runtime reference to the feeds public API façade.
For example, in the portalapp.xml descriptor, use the following reference:
com.sap.tc~ep.ext~feeds~facade
To integrate a custom channel, perform the following steps:
Step |
Description |
More Information |
---|---|---|
Create a channel template |
Use the XML Content and Actions tool to create a channel template. The value of the channel's type attribute is used to register the channel entry provider (see last step). |
|
Implement a channel entry provider |
The IChannelEntryProvider interface provides the following method to retrieve the entries from a specific channel: public IChannelEntries getChannelEntries(IChannel channel, Object user, Locale locale, Map<Object, Object> additionalParams); |
|
Register the IChannelEntryProvider implementation |
The IProviderManager interface provides the following method for registering a custom channel provider: public void registerChannelEntryProvider(String type, IChannelEntryProvider provider) throws ProviderRegistrationException; For the type parameter, you use the value of the channel's type attribute (see first step). |