OverviewServicesAddFavorite Method
|
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.169
Syntax public XHRServiceResponseGeneric<OverviewPageInformation> AddFavorite(
string pageId
)
Public Function AddFavorite (
pageId As String
) As XHRServiceResponseGeneric(Of OverviewPageInformation)
public:
virtual XHRServiceResponseGeneric<OverviewPageInformation^>^ AddFavorite(
String^ pageId
) sealed
abstract AddFavorite :
pageId : string -> XHRServiceResponseGeneric<OverviewPageInformation>
override AddFavorite :
pageId : string -> XHRServiceResponseGeneric<OverviewPageInformation>
Parameters
- pageId
- Type: SystemString
Id of favorite Page to add
Return Value
Type:
XHRServiceResponseGenericOverviewPageInformationTrue 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