Questions tagged [liferay-7.2]

For questions regarding Liferay Portal CE 7.2 or Liferay DXP 7.2, released in June 2019

See for version independent details on Liferay Portal and Liferay DXP.

Liferay CE and DXP 7.2 were released in June 2019. The architecture is based on , and the backend is implemented in , with the use of many web-related different frameworks, languages on the frontend.

39 questions
3
votes
1 answer

Liferay 7.3 java.lang.NullPointerException after porting from 7.2

I'm doing a porting from Liferay 7.2 to Liferay 7.3.6 GA7. I have a customTable. When i add a first row using ..LocalServiceUtil it's ok. But every subsequent time I use persistence (for example tablePersistence.update(table);) fail and liferay…
3
votes
1 answer

Liferay 7.2: Open asset publisher viewURL in a Display Page Template

I am using Liferay 7.2. I want to display the viewURL link of an asset publisher in a Display Page Templates page. I couldn’t solve the problem. After searching, I realized that this problem can be solved in three ways: Method 1: 1- As and admin, in…
2
votes
1 answer

Liferay Elastic Search Query: Search for DLFileEntries that have a Custom Document Type

I work with Liferay 7.2 and I need to make an Elasticsearch query that finds als DLFileEntries that have the Document Type "XY". Currently I need to do this in Postman. I am already able to find all DLFileEntry: { "query": { "bool": { …
2
votes
2 answers

How to edit classic theme in Liferay 7.2?

I'm trying to essentially recreate the classic theme on liferay 7.2 however I'm having issues with doing so. I've tried downloading the liferay folder from github that contains everything so that I can get the theme folder form there however, this…
inderbir
  • 43
  • 7
1
vote
0 answers

How to access a text file in root directory from a browser in Liferay 7.2?

I need to access a text file (ads.txt) from a browser (ex: https://mydomain/ads.txt) in the ROOT directory in Liferay 7.2. Thx It works fine if the file is in the html directory (https://mydomain/html/ads.txt). It works fine if the file has a jsp…
Jacques
  • 11
  • 1
1
vote
2 answers

Which version of log4j is used in Liferay 7.2

I use liferay 7.2.1 GA2, and its have log4j inside. But I can't figure out where it is and which version of it used in liferay. The only thing i found is liferay package com.liferay.portal.log4j.extender in app manager. Which version of log4j used…
NULL pointer
  • 33
  • 1
  • 5
1
vote
0 answers

How to refresh a portlet on a page where there is more portlets? (liferay-7.2)

I have a portlet "Portlet A" that displays a content and calls another portlet "Portlet B" with "runtime". So I have two portlets on the same page. The "Portlet B" has a search-container. When I click on next or page 2 in the search-container it…
NoSe
  • 99
  • 8
1
vote
1 answer

Replacement of renderRequest.getParameter("param") in Liferay 7.x

When I'm using below code getting warning that it's deprecated renderRequest.getParameter("param") Then I used renderRequest.getRenderParameters().getValue("param") as this was suggested by v3.0. But after that getting bellow error at run…
Joy
  • 560
  • 1
  • 8
  • 28
1
vote
1 answer

Font-Awesome issue in Liferay 7

I'm using Liferay Developer Studio 3.8 and Liferay Portal Tomcat 7.3.1. I was wondering how can I insert Font-Awesome icons in a portlet (portlet4SpringMVC with JSPX in a widget's page) generated through IDE neither theme generator nor Blade…
1
vote
2 answers

Can not render custom form field in Liferay 7.2

I was migrating a 7.1 DXP portal to 7.2 DXP but I can not bring my custom form field to work. I used the dynamic-data-mapping-form-field-type module as a blueprint. My new field is available inside of the form builder - but when using it, nothing…
Andre Albert
  • 1,386
  • 8
  • 17
1
vote
2 answers

How do you check the Liferay version in a FreeMarker template?

I am working on a theme for Liferay that I wish to work with both versions 7.2 and 7.3 of Liferay. How can I check what version is being used within the template, so I can do code like this: <#if liferay_version == "7.3">

Liferay…

SamWM
  • 5,196
  • 12
  • 56
  • 85
1
vote
1 answer

Custom Filter in Liferay Portal 7.2

I have to build one functionality for the filter of Liferay documents and media. I have to filter out a search on the basis of the extension of the file. For example, we have a set of .pdf,.xml,.txt or image file. Then when the user selects PDF it…
Sanat005
  • 33
  • 1
  • 8
1
vote
1 answer

Gradle build fails on packageRunBuild Segmentation Fault

I cannot get Gradle (v4.10.2) to build my Liferay portlet project on my Ubuntu 19.04 machine. Please see errors in log below. It looks like Gradle has no issue running the npmInstall command, which to me sounds like Node and npm are installed and…
user2305363
  • 157
  • 2
  • 15
1
vote
1 answer

Can't able to add new language(Thai) in Liferay DXP 7.2

I want to add a new language (Thai) in my Liferay DXP 7.2 but can't able to add. I have followed below steps: Added mapping to web.xml file (LIFERAY_HOME\tomcat-\webapps\ROOT\WEB-INF) I18n…
AritraDB
  • 315
  • 4
  • 13
1
vote
1 answer

Upgrading Ext-Plugin from 6.2 to 7.2

I am trying to upgrade our companys Ext-Plugin from version 6.2.5 CE to 7.2 CE. We used to override the following classes in the old version: PortalImpl, CASFilter, AutoLoginFilter and several CMIS classes. For PortalImpl I simply did another EXT…
1
2 3