Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

getFeeds(pulseContext, feedID, feedClass, feedFilters, fetchFeedsCancelTokenSource, c11nEnv, isLoadMore)

Updated on July 20, 2021

Obtains the feeds for a given context.


A Promise that resolves to an object.


pulseContextstringThe name of the application context or case context for which the feed must be fetched.
feedIDstringThe ID of the feed that must be fetched.
feedClassstringThe class associated with the feed to be fetched.
feedFiltersArray.<object>The list of conditions through which the feed to be fetched is filtered.
fetchFeedsCancelTokenSourceArray.<object>The list of API requests for fetching the feed.
Note: The latest API request becomes active if the previous API request is pending.
c11nEnvobjectThe name of the context where the API is being called.
isLoadMorebooleanThe flag that determines if the next set of feeds should be loaded.
  • The default value is false.
  • Set isLoadMore to true if you want to load the next set of feeds.

Usage example

In this example, the API obtains the feed of a case whose ID is pyDashboardFeed.

PCore.getFeedUtils().getFeeds('DATA-PORTAL', 'pyDashboardFeed','class','[{id: 'All', label: 'All', on: false, disabled: false}]',[],'app/primary_1',true)
.then(feedResponse => {
   // feedResponse array
}).catch(err => {
  // errors

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us