11 mins
Apr 03, 2024
Flexibility of allowing the integration of widgets to any third party website/application increases the reach of application as well as provides the insights about working strategies.
Many social applications such as Facebook, Google+ and LinkedIn provide the code snippet and it is the common practice for developers to embed a widget plug into any third party website using that code snippet.
Applications developed using Liferay, can also handle Widget Sharing along with customized view, very easily.
The portlet applications developed for Liferay can be considered as widgets. Liferay provides an out of the box (OOTB) feature for publishing its portlets to other websites or applications. Simply by using this portlet sharing feature, we can plug our portlets to other websites virtually without any efforts.
Suppose we have created a weather portlet in our Liferay portal and we want our users to be able to embed this weather portlet on their own website or portal.
Additionally, the user should be able to set: