Saturday, April 25, 2015

Open social gadget integration with liferay



 What we are going to do in this section of blog?


 We will integrate external gadgets in liferay, first we create gadget by providing the url of gadget, after that we will place
 that gadget on liferay portal page, then we can configure that gadgets like we are configuring our liferay portlets.

 Integrate using control panel

 --------------------------------------

 Step 1 : Login with administration account in your liferay portal , go to control panel and in Apps section click on Open Social Gadget
publisher.











Step 2 : Click on Publish gadget , in publish gadget view provide gadget url  http://www.labpixies.com/campaigns/cinco/cinco.xml  and
check category, in which category you wants to display published gadgets and then click Save.


Step 3 : After completing this step now you will able to see the list of gadgets which you have added, following same process you can add more
gadgets.


Step 4 : Now to go portal page and then add option , and then go to application section and then expand Gadgets section , now you will able
to see the list of gadgets which you have added in Gadgets category section. Below are the screenshots.



Step 5 : Now add listed gadgets on you portal page and use.

Integrate using open social gadget portlet

-----------------------------------------------------

Step 1 : Login with administration account and click on add section and then click on application and then expand Gadgets section
and add open social gadget portle to portal page and shown below in screenshot.


Step 2 : Click on configuration icon of open social gadget portlet as shown below in screenshot.


Step 3 : In popup provide gadget url   http://www.labpixies.com/campaigns/cinco/cinco.xml  and save , now you will able to see your configured gadget.

Output:


Note : In this blog, we have used an external URL of gadget. we can download an XML file and store it on the local server and provide that
URL. Either we can put the XML file on the web server, or we can upload to Document Library as a document and reference it by URL.

0 comments:

Post a Comment