mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
928 B
928 B
Added, Status
Added | Status |
---|---|
v2.0.0 | Active |
Favorites Api service
Gets a list of items a user has marked as their favorites.
Methods
getFavorites(personId: string, options?: any): Observable<NodePaging>
Gets the favorites for a user.
Details
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.