Screen Name in Liferay is very important which is unique in the Portal. While creating user the Screen Name is mandatory field and Screen Name represents the actual user in the portal. Sometimes its necessary to validate the screen name entered by the user at the time of creation of users. In this article we […]No Comments.
We can make our portlet configurable at runtime. Portlet Preferences are the key points of configurable portlet.In Liferay 7 or Liferay DXP the process of making configurable portlet is different from Liferay 6.2. In this article we will discuss portlet configuration on Liferay 7. We will create a sample portlet before enabling the portlet configuration. […]No Comments.
The theme development approach drastically changed in Liferay 7 (DXP). In liferay 6.2 we could easily develop child theme from existing parent theme like classic theme. However its not straight forward in liferay DXP. Along with liferay 7 it has introduced various tool and technologies like node, npm, OSGI, blade CLI etc. Theme development in liferay […]No Comments.
Context Contributor simply provides contextual information to template files like Velocity or Free Marker Template. Templates are widely used in Application Display Template (ADT), Web Content Display Portlet and Liferay Theme. Using Context Contributor we can write piece of code to inject contextual information which can be reused in various template files. In this article we […]Comments Off on Context Contributor Concept in Liferay 7/DXP
We can easily Consume OSGI Service in Liferay Portlet. Before reading this article please read my previous article. This article is an extension of the previous article. In this article we will create a Sample Portlet and consume the OSGI Service which is explained in the previous article. Read my previous article Writing your first […]3 Comments.
In this article we will try to understand about OSI Service and its usage. In Liferay 7, OSGI plays a vital role. So its very important to understand the basics of OSGI Service. In this article we will create a basic OSGI service and in the next article we will create a portlet to consume […]2 Comments.
In one of my previous article I have explained how to access Gogo Shell. However its also possible to open Gogo Shell using Liferay IDE. In Liferay the Gogo Shell can be used to interact Liferay Portal's module framework. Step 1: Install Liferay IDE Step 2: Add Liferay Portal as Server Runtime in the IDE Step […]No Comments.
Using Maven we can easily create OSGI module in Liferay 7. Liferay has already published many Maven Archetypes for creating OSGI based application. In this article we will show how to create a basic MVC Portlet using Maven as build tool. The archetype is capable of generating necessary source code compliance with OSGI specification. The portlet will […]1 Comment.
Yes we can invoke Liferay JSON Web Service from Web Content Display Portlet too. Web Content Display Portlet is used for displaying HTML content in the portlet. However we can easily consume JSON Web Service from it. In this article we will build one small POC to consume JSON Web Service. Highlight of this article 1. Identify […]No Comments.
Asset Publisher Portlet is one of the most important and widely used portlet in Liferay Portal. By Asset Publisher Portlet we can display different assets in the Portal. This portlet is highly configurable and can be customized using Application Display Template (ADT). This article provides some important code snippets for writing Application Display Template (ADT) for […]4 Comments.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.