Arguments for the AddToFavoriteList Method

The arguments for the AddToFavoriteList method are shown in the following table.

Name Type Data Type Optional Comments

Action

Input

String

Y

Equals AddToFavoriteList.

Product Id

Input

String

Y

If this input is not empty, add the product specified by this ID to the Favorites list.

Otherwise, assume the current record in the current business component is the item to add to the Favorites list.

GotoView

Input

String

Y

If this input is not empty, AddToFavoriteList navigates to this view after completing the AddToFavoriteList action.

ReturnVal

Output

String

Y

Returns Success or Fail. Not used.