Questions tagged [liferay]

Liferay is an open source JSR 286 compliant portal and social platform, written in Java. It provides fully functional built-in portlets (60+) and also various integration points to seamlessly integrate with other third-party softwares like Alfresco, Sharepoint etc. Make sure to also tag with the specific version that you're asking about.

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

liferay 7.4 - I am trying to add roles programatically but get error when trying to view Roles page

I am trying to add a role programmatically. It works initially. I can see it in the database but when I log into the portal as an administrator, I get an error when I got to the Roles page "Roles ...
Eric Olsen's user avatar
0 votes
1 answer
14 views

Liferay 7.4 development using SDK

SO I am getting back into portlet and service development using Liferay. I have Liferay Portal 7.4 up and running and the Eclipse Development Studio. Is there an SDK I need to download like older ...
Eric Olsen's user avatar
0 votes
1 answer
22 views

Compiling a OSGi bundle with registered hook for Liferay

I am trying to make configurable logging application for Liferay 7.4.3 with Apache Maven. I have no problem making the app configurable using this approach, when compiling the project as a OSGi bundle ...
Dalimil Rozprým's user avatar
0 votes
1 answer
35 views

Liferay 7.3.5 Multiple react widgets that uses one core of the React Components

I have eg. 3 React widgets but for each of them I need to have separate components and node_modules. Is there a chance that in liferay 7.3.5 those 3 widgets can share the components, node modules, etc....
vergili's user avatar
0 votes
1 answer
26 views

How to import a LAR file into a Liferay Docker image?

I have been exporting pages from a Liferay installation, generating a LAR file. Rather than importing this file from GUI, I would need to add it to the Liferay configuration in a Docker image, so that ...
Luigi's user avatar
  • 183
0 votes
0 answers
32 views

Display only the working hours in the liferay 7.4 calendar portlet

I'm using Liferay 7.4 GA 24 CE and I want to change the default hours view in the calendar portlet from 24 hours to just working hours (8 am - to 7 pm). I've looked into the configuration and couldn't ...
Chirag Lakhamani's user avatar
3 votes
1 answer
83 views

Upgrading to Liferay 7.4 has caused existing code that called the JSONWS add-user-with-workflow call to fail

We just upgraded from Liferay CE 7.3 to Liferay CE 7.4 and now find that an app that calls the add-user-with-workflow is failing. The Liferay log did not provide error details, nor were there any in ...
Scott McIntosh's user avatar
0 votes
0 answers
18 views

LifeRay devStudio can't access BaseGetDataResourceImpl to create object from there why?

GetDataResourceImpl extends BaseGetDataResourceImp i can'i access this class BaseGetDataResourceImp to create object ? `package com.lr.IST.Get.Data.internal.resource.v1_0_0; import com.lr.IST.Get....
Abdallateef Abdallah's user avatar
1 vote
1 answer
52 views

liferay - how to render one portlet in another portlet

New to Liferay. Not sure if it's the right approach, but.. I have a page that renders a portlet. And in this portlet I need to render another portlet conditionally (based on a flag stored in the ...
Sumit Wadhwa's user avatar
  • 2,912
0 votes
2 answers
70 views

Get count value from a nested sql-query with Liferay Dynamic Query

Could anybody clarify to me if is it possible accomplishing the following sql statement (MVC example) from within the Dynamic Query world: select count(*) from <sub_select> where aggregate_field ...
txapeldot's user avatar
1 vote
0 answers
83 views

In Liferay how to get the identity provider info and use them to programmatically trigger the SSO

I'm really new to Liferay and SSO and I have to do a very specific thing. I am using Liferay DXP 7.4, so I have the Liferay SAML Connector 2.0 available. In particular I need to configure Liferay as a ...
George Lords of Castle's user avatar
0 votes
0 answers
31 views

Error with Android 26 and lower for Liferay app

I have created an app in Liferay, however when I try to run it on my phone I get a following error: (index):2405 Uncaught ReferenceError: AUI is not defined at (index):2405 at (index):2545 (...
Meso Cini's user avatar
0 votes
0 answers
65 views

Implementing Secure Access to Liferay 7.4 Page from External Mobile App with OAuth or Custom Filter

we are using liferay 7.4 and separate native mobile app. we have to provide the access to Liferay page when request is coming from mobile app which is already logged in. Liferay should accept token ...
Gnaniyar Zubair's user avatar
-1 votes
1 answer
58 views

Fetching navigation menu items inside a liferay fragment

I am working on a custom fragment in liferay 7.4 and I would like to fetch the navigation menu items in the fragment to use them as list items in my html component. The problem is, I used the headless ...
Saif's user avatar
  • 249
0 votes
0 answers
9 views

Blank data comming in controller layer

In HTML form trying to select size, After selecting not getting "size" data from "actionRequest", I name "namespace" but not working. if i click "Add Product" ...
Vishwanath's user avatar
0 votes
1 answer
49 views

Sign-in link in custom master page

I'm learning site and page building with Liferay DXP 7.4 using theme books, custom master page and so on. Even after extensive searching I could not find how to use the default login link (login ...
Gunnar's user avatar
  • 393
0 votes
1 answer
24 views

In liferay project While fetching html form values getting null result

In jsp i am making use of html form to display and select list of brands. Once i click submit button after selecting some brands, Accesssing those in controller layer that time giving null result. ...
Vishwanath's user avatar
0 votes
0 answers
66 views

Can't deploy liferay theme

I'm working on a liferay project and I can't deploy the theme. The npmInstall gradle task is causing the issue. Here is the error I have : Execution failed for task ':themes:montheme:npmInstall' I ...
JS1's user avatar
  • 641
3 votes
4 answers
1k views

Error compiling liferay workspace using gradle

I'm having problems with liferay and the workspace plugin. I had to remove all gradle caches of my computer and all of a sudden the liferay project won't compile again... I execute the command: ./...
Eryo's user avatar
  • 31
0 votes
1 answer
34 views

shopping-api module classes not found in shopping-web

I have created liferay project using versionportal-7.1-ga3. In web module, While trying to fetch list of Products and iterating that list in Web module ViewProductsMVCRenderCommand class, That time ...
Vishwanath's user avatar
1 vote
1 answer
76 views

javax.servlet.ServletException: java.lang.NoClassDefFoundError: EntityLocalServiceUtil

I am created liferay project using portal-7.1-ga3 and liferay-intellij-plugin-2.0.5 But if I call EntityLocalServiceUtil.getEntities(-1, -1) located in service-api from portlet-module ie (entity-web) ...
Vishwanath's user avatar
0 votes
0 answers
55 views

AutoLoginFilter: Current URL /health/index.html Generates Exception

This message fills the logs and makes anything else difficult to see. ERROR [ajp-nio-127.0.0.1-8009-exec-76][AutoLoginFilter:256] Current URL /health/index.html generates exception: null I don't know ...
Anubhav kalra's user avatar
1 vote
1 answer
55 views

How to log in to Liferay programmatically and avoid [JSONAction:92] User ... must be authenticated errors

I'm attempting to construct a k6 load test to exercise a WebSocket endpoint running in Liferay 7.1. We're having issues with our WebSocket connections in production, so I'm trying to emulate the sign ...
shawmanz32na's user avatar
  • 1,260
0 votes
1 answer
50 views

Liferay form POST to external URL and display the result in popup window

I am new to Liferay development. Currently I am using LR 7.2. I am tasked to create a form that take a few text input from user in LR. On submit, it posts the form data to an external URL and ...
UTEK's user avatar
  • 3
0 votes
0 answers
72 views

How can I call Liferay.Service from react-portlet

I've he example code from react-portlet in liferay 7.4 and a custom object called Pruebas. In swagger appear /o/c/pruebas, but I want to get all items with liferay object because authentication is ...
Alvaro Osorio's user avatar
1 vote
0 answers
23 views

Radio button is not clickable in a Liferay portlet after migration from 6.1 to 6.2

I am new to Liferay development and working on migration of portlets from 6.1 to 6.2. There am facing a strange behavior of a portlet which is having 3 tabs and each tab is to be displayed on clicking ...
KKKs's user avatar
  • 11
0 votes
2 answers
91 views

Get my own properties in cas client and Liferay

I have a project with Liferay 5. The basic cas client used is old, and I needed to update it to cas client v3.2.1 So I update the jar on the server, and modify the web.xml of Liferay : <filter> ...
user2178964's user avatar
0 votes
0 answers
66 views

Liferay 7.3 How to Search only Content of JournalArticles?

SearchUtil.search( Collections.emptyMap(), booleanQuery -> { BooleanFilter booleanFilter = booleanQuery....
Nikola's user avatar
  • 1
0 votes
1 answer
77 views

I want to override some methods of SearchResultsPortlet.java. Liferay/dxp-7.4.13-u76

I am trying to achieve this through liferay module fragment. Is it possible? I created a fragment and created the packages with exact names as they have in source code. I created a public class ...
John117's user avatar
  • 31
0 votes
0 answers
89 views

SSO withh KeyCloak from FrontEnd app with Liferay 7.4 as Headless CMS

This is the scenario. I have a Liferay 7.4 CE configured to log in with KeyCloak. At this point every thing is fine. I can create a user un KC and it is imported into LR seamlessly. On the other hand, ...
aritzg's user avatar
  • 39
0 votes
0 answers
136 views

Liferay 7.4 extend session returning internal server error from Liferay until fetch

In Liferay 7.4 session.js Liferay.util.fetch(“/c/portal/extend_session”) retuning 500 status and “internal server error” in browser console. In server log “unable to extend session” warning is ...
Sami's user avatar
  • 21
0 votes
1 answer
116 views

How can I get instance_id from menus and breadcrumbs in liferay 7.4

I'm trying to insert custom menu with template in theme, but I don't have enough information. I have this code <@liferay.navigation_menu instance_id="XXX" />, but I don't know how can ...
Alvaro Osorio's user avatar
0 votes
0 answers
53 views

When doing ajax call user session becomes inactive

In Liferay 7.4. in custom portlet whenever I do Jquery ajax call it calls c/portal/expire_session and user session becomes inactive and have to do login again. Checked all portal_ext and portal....
Sami's user avatar
  • 21
0 votes
1 answer
63 views

Question about Liferay DXP Forms: When are they the best choice?

I have a question that requires clarification. It would be greatly appreciated if someone from the Liferay team could answer it: When is it appropriate to use Liferay Forms, and when is it not? We ...
Gnaniyar Zubair's user avatar
0 votes
1 answer
248 views

I can't build Liferay Spring MVC Portlet Project

I can't build my Liferay Spring MVC Portlet Project. Full error report in console: FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'HelloWorld'. ...
Matti Kiviharju's user avatar
0 votes
1 answer
78 views

Liferay 7.4 circular dependency detected by gradle

I want to use multiple projects in Liferay 7.4 and am facing a circular dependency issue: Project A depends on Project B and Project B depends on Project A. When we add these dependencies in build....
Muhammad Ibtisam's user avatar
0 votes
0 answers
205 views

Adding Custom Login Flow for Liferay Portal 7.4.3

I have a requirement to customize the authentication flow of the Liferay. I have to authenticate users by calling an external API with username and password after that I have to invoke Liferay's open ...
MobDev's user avatar
  • 1,489
0 votes
0 answers
78 views

How do I solve the error when running build xml file in ant build?

I'm new to programming and coding. I was working on liferay portal and tried to make a portlet. when I tried to run the build.xml on ant build it threw error which I didn't understand. this is my ...
Faiq Dzihnan's user avatar
0 votes
0 answers
20 views

Liferay API delete-organization not working for me, has anyone successfully used it?

I am trying to use the API to delete organizations from a separate application. However, the call to delete-organization is not actually deleting the organization. This doesn't work from my ...
Scott McIntosh's user avatar
0 votes
0 answers
29 views

Liferay 7.0, OPEN_ID_CONNECT_SESSION was not set

I implemented a LifecycleAction for post login. I need the data from OpenIdConnectSession to access the OIDC UserInfo endpoint for more info about the user. I tested the following code in 7.1, it ...
Xtonic Chen's user avatar
0 votes
1 answer
140 views

Getting: org.apache.jasper.JasperException: /view.jsp(35,3) PWC6117: File "/assignment/entry_search_columns.jspf" not found

The problem is: javax.portlet.PortletException: org.apache.jasper.JasperException: /view.jsp(35,3) PWC6117: File "/assignment/entry_search_columns.jspf" not found I am trying to build the ...
Md Tahmid Ashraf Chowdhury's user avatar
0 votes
0 answers
94 views

Liferay redirect from http to https not working correctly

I currently have a portal created with Liferay 7.1 and when I copy a url from http and paste it into the browser (converting it to https), it concatenates an extra /es/web in the url, so it does not ...
Daniel Medina Garcia's user avatar
0 votes
0 answers
44 views

how create liferay portal war file for deploy on weblogic

I am changing Liferay 7.3.7 source and add some modules on it and develop this task and deploy that on bundles tomcat. I want to finally create war files and deploy on Weblogic. I don't find ...
Mokhtar Hatampor's user avatar
0 votes
0 answers
35 views

Liferay 7 Osgi - search for prometheus simple client jar bundle

It's my turn to post a question about #liferay context. I want to integrate Prometheus Java Simpleclient for metrics exporting into a custom liferay module. This lib https://mvnrepository.com/artifact/...
Daniele Baggio's user avatar
0 votes
0 answers
113 views

Which library should import to use Liferay.ThemeDisplay in Js?

Hello everyone i’m trying to run this code on my react application but it doesn’t work because ‘Liferay’ is not defined. I’ve already tried to import alloyUi library but it doesn’t work, so what ...
Gregorio Rossi's user avatar
0 votes
1 answer
225 views

NVM is not detecting node version || nvm use command is not working || Liferay DXP Theme Generator issue

NVM is not detecting installed node version, Trying to change node version from 14.0 to 12.22.2. nvm use 12.22.2 Above command is not working. It showing node V12.22.2(64 bit) is not installed.
Darshan Dalwadi's user avatar
0 votes
0 answers
40 views

What is the package for paginator on Liferay 7.4?

i need to customize the paginator on liferay 7.4, i need to create a fragment on eclipse for this and i dont know what is the package that i need to use. I need to overrrite start.jsp and ...
Devel0per's user avatar
0 votes
0 answers
92 views

How to pass data between portlets in Liferay (from frontend)?

How to pass data between two portlets located at different pages? Assume we have two pages in Liferay, say that URLs are /a/ and /b/, and portlet a is located at page with URL /a/ and portlet b is ...
KRISTIJAN TOMASINI's user avatar
0 votes
0 answers
376 views

OpenID Connect - Unable redirect to provider’s sign in page

I faced an issue when trying to connect the provider’s sign in page after I select OpenID Connect provider and clicked the Sign In button. I get the following error message on liferay log: 2023-02-27 ...
billydekid's user avatar
0 votes
0 answers
218 views

Loop redirect on login after upgrading from Liferay Portal 6.2 to 7.4. Any suggestions?

As far as I can tell Liferay 6.2 did not have a LayoutUtilityPageEntry table. When I upgraded the database, this LayoutUtilityPageEntry table was created. This is the method that is throwing the ...
Patricia Borges's user avatar

1
2 3 4 5
130