Adds a new favorite Page for current user. Favorite Pages are pages user would like to visit frequently.
Namespace: IngeniuxCMServiceAssembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
public XHRServiceResponseGeneric<bool> AddFavorite(
string pageId
)
Public Function AddFavorite (
pageId As String
) As XHRServiceResponseGeneric(Of Boolean)
public:
virtual XHRServiceResponseGeneric<bool>^ AddFavorite(
String^ pageId
) sealed
abstract AddFavorite :
pageId : string -> XHRServiceResponseGeneric<bool>
override AddFavorite :
pageId : string -> XHRServiceResponseGeneric<bool>
Parameters
- pageId
- Type: SystemString
Id of favorite Page to add
Return Value
Type:
XHRServiceResponseGenericBooleanTrue when added, False if Page doesn't exist
Ingeniux CMS site keeps 10 entries of favorite Pages. The oldest entries will be moved when over this limit.
If the page was already in the favorites list, it will be moved to the top of the list
Reference