Gets a list of items a user has marked as their favorites.
getFavorites(personId: string, options?: any): Observable<NodePaging>
Gets the favorites for a user.
string - ID of the userany - (Optional) Options supported by JS-APIObservable<NodePaging> - List of favoritesremapFavoriteEntries(entries: any[]): any[]
any[] - any[] - remapFavoritesData(data: FavoritePaging = {}): NodePaging
FavoritePaging - NodePaging - remapEntry(__namedParameters: Function): any
Function - any -Process Services allows users to mark items as "favorites". These are typically items that are important or frequently used.
Use getFavorites to find a user's favorite items. You could use this, for example,
to create a menu for the user to access their favorites quickly rather than by
navigating or searching. Using "-me-" for the personId indicates that the target
person is the currently logged-in user.
You can specify a number of options to modify the search further. See the
Alfresco JS API page
for getFavorites for more information.
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.