Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi,

In this blog post I will discuss the use of JAM widgets in HANA Cloud Portal.

SAP Jam is a social software platform which enables social collaboration within the enterprise.

It is truly a great platform in what it provides.

You can read more about Jam here:

http://www.successfactors.com/jam

http://www.news-sap.com/sap-redefines-enterprise-social-software-with-new-cloud-offerings/

Jam Feed Widget Builder is a Jam feature which allows you to get a code snippet which will show a Jam feed inside a div in your page.

It is done by selecting some options regarding the feed and copying a few lines of javascript code into your site.

Jam supports several feed types in this widget builder - company feed, follows feed or group feed.

The group feed allows you to get content from multiple groups, by supplying a comma separated value list of group IDs.

Using Jam Feed Widgets in HANA Cloud Portal is EASY!

The support for Jam Feed widgets is now part of HANA Cloud Portal.

You don't need to copy-paste code - just add the Widget to your content catalog and use it in your sites.

Of course, you do need an already running Jam account with the Jam Feed Widget API enabled.

Adding the widget to the content catalog is similar to adding URL or OpenSocial widgets and is done using the "Add Widget" panel by the tenant admin.

The new "Jam Feed" Widget type requires you to configure the Jam server and Company Domain, so that the information will be retrieved from the correct server and the authentication process will be done correctly. Authentication is done purely from the client side and is handled by Jam's Widget itself.

Spreading Jam on a site

Now that we have this widget in our content catalog, site authors can add it to pages in their sites by dragging it into a page.

When the widget is first placed in a page, a configuration form is displayed, asking for the feed type, and also for Group IDs if a group feed is selected.

For example, I would like to see a group feed from my very own private testing group.

I will select "Group Feed", enter the group ID, confirm and see the feed inside Jam's widget.

Wait… where is the group ID coming from? The easiest way to find it is by going to group's page in cubetree.com and looking at the URL.

For example, my group is at https://www.cubetree.com/c/jamatsap.com/groups/wall/530162 so its ID is 530162.

I am not worried about unauthorized access to my ultra private testing group where I can freely talk to myself :smile:

How is that? Well, HANA Cloud Portal does not handle authentication and access to content at any level with these created widgets.

This is done purely by the Jam widget, therefore Jam restrictions apply - site visitors will only see my group feed if they are members of my private group.

Using the widget

You can post to your general feed by entering text to the "What's on your mind" field and pressing the right arrow. This is not related to any group; to post to a specific group, select the group from the auto-complete list which appears in the "Share with Group" field.

What's next?

Well, if you are already using Jam and you can use the Widget Builder in Jam, you can also create Jam widgets in SAP HANA Cloud Portal.

Try it out using an unlimited cloud portal trial account. We will be glad to get your feedback or any open question on that topic.

This is so cool, indeed! :smile:

13 Comments