Questions tagged [liferay-7]

Please use only for Liferay Portal CE 7.0 and DXP 7.0. Liferay is an open source Java portal and social platform. Version 7.0 was released in 2016.

Liferay Portal is a free and open-source Java-based enterprise portal, content management system, and social platform used to power corporate intranets and extranets. Liferay DXP is the matching enterprise supported version of the software.

It has support for developing plugins using Blade Tools

The most important and remarkable improvements of "Liferay Portal 7.0 Community Edition" and "Liferay DXP 7.0" is Liferay’s module framework which makes it easier than ever for developers to create Liferay applications and to customize Liferay using modules and components!

A lot more information is available in the main tag. Liferay 7 is partially backwards-compatible with Liferay 6.2 Plugins, but provides a lot more customizing options when leveraging OSGi for building plugins.

Please note that Liferay Portal CE versions are only updated until the next version is out. Currently (August 2019) the active version is 7.2 - the last update to Liferay CE 7.0, 7.0.6 GA7, was released in May 2018.

887 questions
4
votes
2 answers

Moving portlet to the control panel section in liferay 7?

How can I add a custom portlet to the Control Panel section? I saw various tutorials but all are of liferay 6.2. How to accomplish it in liferay 7? Thanx in advance..
Abhishek Jain
  • 236
  • 2
  • 18
3
votes
2 answers

I cannot select a category in a web content. (Liferay 7.4.2)

I want to select a category in a web content in Liferay 7.4.2, but I cannot select it. I installed: Liferay 7.4.2-g3 CE Bundle JDK 8u221 MySQL 8.0 In the "Category" option, I create a vocabulary and a category. 1. Vocabulary 2. Category In the…
3
votes
1 answer

Is there any way to set alias for table in DynamicQuery in liferay 7.1

I want to execute a query on MySQL database which has alias in it in liferay 7.1 so i prefer a way of dynamicquery my query: SELECT id_, groupId, articleId, urlTitle FROM LRCXCHTASK.JournalArticle where version= (select…
3
votes
1 answer

How do I set the Provide-Capability header in the Apache Felix maven-bundle-plugin?

We use the Apache Felix maven-bundle-plugin to generate a manifest for our fragment bundle. This fragment bundle is intended to override resources on a Liferay host bundle. The Liferay DXP documentation specifies that the developer ought to include…
CJ Virtucio
  • 315
  • 1
  • 4
  • 12
3
votes
3 answers

From Gogo Shell, get version of com.liferay.portal.kernel

All I have is a Gogo Shell connection to a Liferay server. From that shell, is there any way to know the version of the com.liferay.portal.kernel package used by that server? For instance, if I want to know the version of the com.liferay.util.taglib…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
3
votes
1 answer

PDFBox not supporting multiple languages

I'm trying to generate a PDF report consisting of sentences in multiple languages. For that I'm using Google NOTO fonts, but google CJK fonts don't support some of the Latin special characters. For that reason, my PDFBox is failing to generate a…
3
votes
1 answer

How can I replace login portlet in Liferay 7.0?

First, I'm new to liferay. I am using the example from writing-a-custom-login-portlet. There you can find a zip file with the portlet module. I can successfully deploy it by draging the project in Eclipse to the server instance. I have even added…
3
votes
2 answers

User XXX is not allowed to access URL

I have successfully installed liferay 7 and configured CAS 3.6 for SSO. Everything is working fine. I was able to create users, assign roles, create pages etc etc. After few days, I was trying to create a new user via admin, I got warning "User…
Rushikesh Garadade
  • 617
  • 1
  • 8
  • 32
3
votes
1 answer

Liferay 7 : PermissionChecker not initialized while getting Organization custom field

I've created custom field for Organization in Liferay 7 portal. Now I wanna get a value of the custom field and getting PrincipalException - PermissionChecker not initialized: Long userId = (Long)…
Aybek Kokanbekov
  • 575
  • 2
  • 8
  • 29
3
votes
1 answer

Upgrading Liferay 6.2 maven theme into DXP theme

I want to upgrade a liferay 6.2 theme into liferay DXP theme. Problem is that my existing theme is Maven based. So it shows error when i try to import in theme generators: I use yo liferay-theme:import and absolute path of my theme, once press…
designershyam
  • 83
  • 1
  • 8
3
votes
3 answers

How to integrate Liferay DXP with Apache POI?

I'm trying to integrate Apache POI in Liferay DXP(OSGi), but unable to resolve dependencies with POI 3.17 version in gradle project. I've created standalone project with below JAR's :…
Ashish Dadhich
  • 4,737
  • 4
  • 17
  • 25
3
votes
3 answers

How to use JAXB 2.2.11 in osgi (Liferay DXP)

I’m trying to use JAXB 2.2.11 in an osgi environment (Liferay DXP). I am having issues creating a JAXBContext. Based on some other sources found while researching like this and this, I have determined that in an osgi container I need to provide the…
clav
  • 4,221
  • 30
  • 43
3
votes
2 answers

How to add language icons in liferay DXP

How to add the Language icon image in liferay 7(liferay-ce-portal-7.0-ga4). I have followed the steps mentioned in following article, https://web.liferay.com/web/salman.khan/blog/-/blogs/add-a-new-language-to-liferay-detailed-step-by-step- After the…
3
votes
1 answer

@Activate not called when starting component

Following Liferay's documentation about making modules configurable, I wrote this Liferay 7 module: @Component(configurationPid = "myproject.api.TranslationConfiguration") public class TranslationServiceImpl implements TranslationService { …
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
3
votes
1 answer

Liferay Service Builder - Column of type Collection (List)

I am newbie to Liferay. I would like to build with Service Builder the following column for the entity Traveller:
julianfperez
  • 1,726
  • 5
  • 38
  • 69
1
2
3
59 60