addUserFavorite( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds a page to the current Wix user's list of favorite dashboard pages. If the Wix user doesn't have a list, the method creates a new list and adds the favorite page to it.

Method Declaration
Copy
Method Parameters
favoriteFavoriteRequired

Favorite page to add to the list.

Returns
Return Type:Promise<AddUserFavoriteResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?