cancel
Showing results for 
Search instead for 
Did you mean: 

Favorites API : adding custom URL entries in Favorites list

Amey-Mogare
Contributor
0 Kudos

Hello,

I have a custom application that uses Favorites API to display/add/remove current node into Portal favorites.

This is working fine.

There is a custom portal application that renders some tiles (like a launch pad) where, when a tile is clicked, opens some  URL in new window or in content area.

Now requirement is to allow user to add any one of these tile's data into favorites list.

I have seen/used the code to add/remove some entry in favorites in many threads on SCN, but all of them add a 'portal node' into favorite.

Here I have to add a custom, non-portal-node type entity (having some text & URL) into favorites.

Could you please let me know how to achieve it?

Thanks & Regards,

Amey

Accepted Solutions (1)

Accepted Solutions (1)

former_member193577
Active Contributor
0 Kudos

Hi,

see if this document can assist you:

Integrating External Favorites - Portal - SAP Library

Best Regards,

Tal

Amey-Mogare
Contributor
0 Kudos

Hello Tal,

Thanks for very helpful documentation.

I have a question.

Lets say if I implement this custom favorites provider and use it for putting external links in Portal favorites, will it replace the current default favorites provider?

I mean, I want to ensure current functionality of adding portal nodes to favorites should work fine in addition to new external favorites addition.

Thanks & Regards,

Amey

former_member193577
Active Contributor
0 Kudos

Hi Amey,

As written:

The Favorites Provider API enables you to extend portal favorites by integrating favorites from various external sources


So it should extend your existing portal favorites, adding more from various resources.

it shouldn't affect current existing favorites.

best regards,

Tal

Amey-Mogare
Contributor
0 Kudos

Thanks Tal

Answers (0)