capabilities.work

Favorite Lifecycle

A 3-step recipe with Salesforce Experience Cloud. We can help you get access.

Recipe · 3 steps

Favorite Lifecycle

Add, verify, and remove a user favorite.

  1. Add the target item to the context user's favorites.
  2. List the user's favorites to confirm the new favorite is present.
  3. Remove the favorite that was created. Returns no body on success.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token for the Salesforce instance.
  • favoriteName: Name of the favorite to add.
  • target: ID or reference of the item to favorite.
  • targetType: Type of item being favorited (Record, ListView, or Object).
  • sortOrder: Sort position for the favorite.
For your developer

Arazzo workflow salesforce-experience-cloud:favorite-lifecycle, 3 operations: addFavorite → getFavorites → removeFavorite. Specs on APIs.io.