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: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<bool> AddFavorite(
	string pageId
)

Parameters

pageId
Type: SystemString
Id of favorite Page to add

Return Value

Type: XHRServiceResponseGenericBoolean
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