orion.core.favorite | ||
---|---|---|
![]() |
![]() |
|
orion.core.contenttypes | orion.core.file |
The orion.core.favorite service is used to access and store the user's bookmarks or favorites. While a user may opt to use their own browser's bookmark mechanism instead, there are some specific advantages to using Orion's favorite service instead:
Here is an example usage of the favorites service:
serviceRegistry.getService("orion.core.favorite").makeFavorites(itemOrArray);
See orion.favorites.FavoritesService in the Orion client API reference for a complete list of functions available on the favorite service.
![]() |
![]() |
![]() |
orion.core.contenttypes | orion.core.file |