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
2
votes
0 answers

use filter by Terms in a BooleanQuery in Liferay

I was able to use postfilters: POST _search { "query": { "bool" : { "must" : { "term" : { "user" : "kimchy" } } } }, "post_filter":{ "terms" : { "tag" : ["tech",…
xistoso
  • 55
  • 6
2
votes
1 answer

Liferay 7 DXP EE Form Email Formatting

I've created a new custom form in Liferay DXP EE. I would also like to modify and create a custom formatting for how the email is sent. The current email displays the for label then has a line break and then shows the enter value below it like so: •…
2
votes
0 answers

Basic configuration page not responding

I have installed Liferay 7.1 on my PC which has Windows 7 (32 Bit). I have installed Eclipse Neon IDE for it. I went according to the documentation provided by Liferay, but now after configuring my server, the initial page that opens up for basic…
2
votes
3 answers

How to read a specific language.properties file?

Here's my problem. I need to generate PDF in particular language chosen by user. Some informations are in language.properties files and I cannot manage to read other files than the current site language. For example current language is Spanish and…
kilicos
  • 89
  • 1
  • 10
2
votes
1 answer

Using maven repository credentials in settings.gradle

I am working on a Liferay workspace project. How can I setup the credentials for a maven repository in some external file like gradle.properties in home folder and use it in settings.gradle. I know the above setting will work for build.gradle, but i…
Livin
  • 41
  • 1
  • 8
2
votes
3 answers

Liferay - Using Third Party Library doesn't work

I'm new to Liferay. For my first project, I need to create a module which uses a third party library. This library was developed by a university and is not used very often, so it's not on any maven repo or anything. Therefore I copied it into my…
EyedPeas
  • 146
  • 4
  • 17
2
votes
0 answers

Liferay 7 - Add form field with type file

I'm using Liferay 7 CE. Following the Liferay steps to create a new form field type using Liferay IDE (New Liferay Module Project - Gradle - Project Template Name: form-field), I need to create a new field type to upload a file (with this saving in…
Marco
  • 147
  • 9
2
votes
1 answer

Local url being concatenated to absolute url using jquery ajax

We are using jquery ajax to make a service get call: $.ajax({ url: _sbUrl + "gates/1.0/sweeps/getVehicleDetails/" + request.data.regn_no, method: "GET", success: function(response) { if (200 === response.statusCode) { if (typeof…
2
votes
2 answers

Liferay asset publisher entry variable assignment to itself in adt

I'm using Liferay 7 and by looking at the default adts for asset publisher I see, in the "Rich Summary" adt, the following portion of code <#list entries as entry> <#assign entry = entry assetRenderer = entry.getAssetRenderer() …
Carlo
  • 642
  • 1
  • 5
  • 16
2
votes
4 answers

In Liferay 7, How do I configure the User role to NOT inherit Guest permissions?

I am building a site on Liferay 7. By default, all the authenticated users inherit the Guest permissions (anonymous users). There is even a label in the permissions section: "Under the current configuration, all users automatically inherit…
angelcazares
  • 107
  • 1
  • 2
  • 10
2
votes
1 answer

Liferay 7 - Create a child theme of Classic Theme

Using the Liferay IDE, I have the necessity to create a new theme project that extends the Classic Theme of Liferay. But there isn't a way to override specific templates of Classic Theme (at example with custom header, menu and footer), or add…
Marco
  • 147
  • 9
2
votes
1 answer

AngularJS page loading twice

Below is my angularJS code present in app.js: 'use strict'; var app = angular.module('app', ['slick']); app.config(['$locationProvider', function($locationProvider) { $locationProvider.html5Mode({ enabled: true, requireBase:…
Srijan Sharma
  • 683
  • 1
  • 9
  • 19
2
votes
1 answer

Several configurations (@Meta.OCD interface) in the same component

I have a component MyComponent that needs to access AConfiguration and BConfiguration: my.MyComponent: @Component( configurationPid = "[my.AConfiguration,my.BConfiguration]" ) public class MyComponent { @Activate @Modified protected…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
2
votes
2 answers

Liferay 7.0 Data Migration from one database to another

I'm using Liferay 7.0 with the Default Database(HSQL DB) and have many sites,pages and users in it. I'm trying to configure the portal to access mySql DB and it worked. But, I want all the Content in the previous Database in the newly configured…
2
votes
2 answers

Adding Portlet Preferences in Liferay 7

How do I add Portlet Preferences in Liferay 7, as we don't have portlet.xml anymore, what is the equivalent for the following in Liferay 7(OSGi Bundle). isVeg VEG