thumbnail

Liferay Objects has been one of the powerful features of Liferay. It provides codeless approach of building application. It provides headless api which can be used for accessing object entry data. These endpoints provide us options for searching, filtering, sorting and aggregating the data (Refer). In this blog, we will see how we can make use of this Filter, Sort and Search...

thumbnail

Publication Framework of Liferay is one of the powerful feature which helps us to track the change set, review and publish it (Refer). By default Liferay provides this feature which is already enabled with many of the out of the box modules like WebContent, Blogs, etc.. We can also use this feature with our Custom Entity by Integrating Publication Framework with our Custom module. ...

thumbnail

Liferay provides an option to configure password policy (refer), it provides an option to mention Password Expiry Time. Once the Password is expired then user will not be able to login to the system and when user tries to login, Liferay shows error message :   Error: Your password has expired. Please contact an administrator to reset your password. Admin needs to...

thumbnail

By default when session timeout occurs, Liferay will redirect to home page. In case we need to redirect to custom url we can do that by implementing SSO interface as below : 1. Create an OSGi module and place a new Java class into a package in its src folder. 2. In the @Component annotation, add service=SSO.class and implement SSO Interface as below...

thumbnail

Liferay  Image Editor is  one of the built in feature provided by Liferay for editing and updating the images, to know more about this please refer. Many times we come up with requirements of having image editor in our custom module. To use Image Editor in our custom code we can do the following steps : 1. Load the Liferay Image Editor   2. Save the...

thumbnail

Liferay Web Content is very powerful feature , which is used in almost every portal developed using Liferay  , we might have situations where we may need to add ,edit and save the Web content from our Custom Module /Portlet . 1. Rendering the Web Content Form based on Structure  2. Creating Web Content from the rendered form 3. Pre populating the Web Content Form 1 ....

thumbnail

By default Liferay does not encrypt the password at client side  as with SSL already Data will be encrypted but some security audit demand for password to be encrypted before submission . So we will be seeing how to perform client side encryption of password  in liferay.  I will  encrypting  with RSA Algorithm which uses public and private key .Public...

thumbnail

Liferay Forms are one of most powerful feature in Liferay with which we can create and edit form without code change. Today we will be seeing how to use Liferay Form in our Custom Module along with edit and update. Step 1 . Create and Configure the Form  by referring the below url  https://portal.liferay.dev/docs/7-2/user/-/knowledge_base/u/creating-and-managing-forms...

thumbnail

Spring MVC Portlet will be requiring Internet for checking and creating beans from xsd's. In case we need to deploy and use Spring MVC Portlet without internet then we can achieve it by saving the xsd file in Liferay Tomcat server  and using this xsd  in application-context.xml. Steps  1. Download the Following  XSDs based on your version required ...

thumbnail

By Default in Liferay, Resource Importer will import journal articles,structures,templates,sites and document to all portal Instances present in the System If we need to restrict Resource importer to one particular instance we can do it by following steps STEP 1 : In your Theme Plugin go to docroot/WEB-INF/liferay-plugin-package.properties file and add the Portal Instance Web...