OverviewServicesAddFavorite Method

Ingeniux CMS Web Services API

Adds a new favorite Page for current user. Favorite Pages are pages user would like to visit frequently.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<OverviewPageInformation> AddFavorite(
	string pageId
)

Parameters

pageId
Type: SystemString
Id of favorite Page to add

Return Value

Type: XHRServiceResponseGenericOverviewPageInformation
True when added, False if Page doesn't exist
Remarks

Ingeniux CMS site keeps 10 entries of favorite Pages. The oldest entries will be moved when over this limit.
Remarks

If the page was already in the favorites list, it will be moved to the top of the list
See Also

Reference