Search Results

All Results 626
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Service Builder not compiling correctly using Maven after the upgrade: ArgumentsResolver is not found in com.liferay.portal.kernel.dao.orm
Issue After upgrading from DXP 7.0 to 7.3 we are having the error "ArgumentsResolver is not found in com.liferay.portal.kernel.dao.orm" if we try to recompile our service builder services using Maven: [ERROR]...
Build error while doing buildService
Issue User gets below error when doing buildService outside the *-service module: FAILURE: Build failed with an exception. * What went wrong: Some problems were found with the configuration of task ':modules:xxxx:buildService' (type 'BuildServiceTask'). > File '/.../service.xml'...
Object Mapping: No object 'type' for an upload field
Issue Having created a new object, we can then create a new field. This example shows a new field for 'date' and is assigned the Type* Date When creating a field for a file upload, there is no applicable Type* that may be assigned. Environment DXP 7.4 Resolution This is currently being...
Exporting an empty package 'com.liferay.training.servicebuilder.gradebook.exception'
Issue I have tried to follow this tutorial: Back-End Developer - DXP 7.1 → Exercises: Create the Gradebook Service Layer - Steps 8-10, When I try to deploy by dragging the project to the Liferay server, I get the following error message: modules:gradebook:gradebook-api:compileJava...
Which is the most convenient tooling to create and build new themes?
Issue It is common among users being in doubt about which is the most suitable way to create and build new themes. Two main ways of doing this are available: Using Liferay Blade or Liferay Developer Studio, which will use Gradle or Maven tasks in turn. Using the Liferay Theme Generator,...
How to resolve slow Liferay PaaS build times when including many React modules
Issue After adding more frontend React modules to our Liferay Workspace, we're seeing consistent PaaS build failures due to timeouts. As a workaround, builds now succeed after configuring LCP_CI_BUILD_TIMEOUT_MINUTES to be multiple hours instead of the default 30 minutes. However, when...
Liferay Workspace build fails with "Unable to get product info for: dxp-7.3-sp2"
Issue Using the liferay.workspace.product=dxp-7.3-sp2 setting in Liferay Workspace's gradle.properties file results in an error: A problem occurred configuring root project '...'. > Unable to get product info for: dxp-7.3-sp2 Environment Liferay DXP 7.3 Fix Pack 2 Liferay Workspace...
How to replicate a production environment into a non-production one?
Issue In order to test new developments, we want to set up a test environment that is a copy of the production environment to confirm that we will not have problems in the subsequent deployment in production. How can we approach this operation? Do you have any official guide for this or...
java.lang.ClassCastException: class com.liferay.util.axis.SimpleHTTPSender cannot be cast to class org.apache.axis.Handler error when using axis library to call an external web service
Issue We have implemented a custom code in an OSGi module that uses the Apache Axis client and is trying to invoke an external SOAP web service. When we try to call the external service, a ClassCastException error is produced inside the Axis Library: Caused by:...
Is There An IDE That Liferay Recommends?
Issue Does Liferay suggest a particular IDE for development? Environment DXP 7.0 | DXP 7.1 | DXP 7.2 | DXP 7.3 | DXP 7.4 Resolution Liferay does not have an officially recommended IDE, you may use whichever you are most comfortable with so long as it can write Java. Additional...
Custom code failing to build due to the removal of FinderCache#getResult(FinderPath, Object[])
Issue Generated services that call FinderCache#getResult(FinderPath, Object[]) method fail to build due to its removal in 7.4 U47. This method was replaced by FinderCache#getResult(FinderPath, Object[], BasePersistence<?>). Environment Liferay Service Builder DXP 7.4 U46 and previous...
Unable to Build a DXP 7.1 Theme in Developer Studio
This article documents a known issue when building a theme in DXP 7.1, using Developer Studio 3.3. Steps to Reproduce Start Liferay Developer Studio 3.3 with a 7.1 workspace project. Go to New --> Liferay Module Project with the following properties: Name: umf-v7-theme Gradle Liferay 7.1...
DXP Features Summary
Liferay Digital Experience Platform (DXP) has been redesigned to include new functionality. The following list is a summary of what is new to Liferay DXP. Digital Experience Platform (DXP) Foundation OSGi Open Service Gateway Initiative (OSGi) is a framework that allows for modular...
Extension Environment Migration Tips
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. Ext-plugins were created to replace the extension environment that was used in Liferay 5.2.x EE and previous...
Changes in MVCActionCommands and portletIds
This article documents changes to the MVCActionCommand type of commands after Liferay DXP 7.0 Fix Pack 11 is deployed. This change most affects developers building portlets in Liferay IDE tools (e.g. Liferay Developer Studio or Liferay Blade). Before Fix Pack 11, developers did not have...
Overriding Core Classes with Ext Plugins
A supported use case for using Ext plugins in Liferay DXP is overriding Liferay Digital Enterprise's core classes (e.g., portal-impl, portal-kernel, etc.). You can reference the Finding Core Liferay Portal Artifacts section for help distinguishing core classes. Make sure you've reviewed...
Extending Core Classes Using Spring with Ext Plugins
This article documents a supported use case for using Ext plugins in Liferay DXP, which enables you to extend Liferay Digital Enterprise's core classes (e.g., portal-impl, portal-kernel, etc.) using Spring. You can reference the Finding Core Liferay Portal Artifacts section for help...
Building a DXP 7.0 Dashboard Example Using ELK
Liferay DXP 7.0 has close ties to Elasticsearch for search-related features.  As it happens, Elasticsearch is one part of the ELK stack.  So it is natural to ask, "What is possible if I use the whole ELK stack?" The answer is that there are many opportunities. One option presented here...
Using Liferay Developer Studio Without an Internet Connection
This article documents a temporary workaround for developers using Liferay Developer Studio 3.9.7 in a closed environment. At this time Liferay Developer Studio requires users to download dependencies from the Internet. However, this can be a problem for developers who do not have full...
Liferay Developer Studioのセットアップ方法
事象/ユースケース Liferay Developer Studioを使う際の各種設定方法について 解決策/提案 以下の公式ドキュメントを参照の上、環境に合わせて導入してください。 バンドルされているIDEをダウンロードしてインストールする: Install the Liferay Developer Studio Bundle Eclipseにインストールする: Install Liferay Developer Studio into Eclipse 追加情報 チュートリアル: Liferay Developer Studio Proxy環境下での設定:...
Issue: An option to select the Liferay version is not available in Liferay Developer Studio
Issue While creating a workspace using LiferayDeveloperStudio-3.1.2, an option to select the Liferay version is not available in LDS. Environment LiferayDeveloperStudio-3.1.2-ga3-windows Liferay DXP 7.1 Resolution By installing the latest LDS as listed in the Liferay compatibility...
The dependency versions are not removed by Liferay Upgrade Planner
Issue While upgrading code using Liferay Upgrade Planner, the dependency versions are not removed by Liferay Upgrade Planner after the step of "Remove Dependency Versions". Environment Liferay DXP 7.2 Liferay Dev Studio 3.6.2 and versions prior to 3.6.2 Resolution In Liferay Developer...
Gradle builds failing to complete
Issue When using Gradle my builds are failing to complete  Environment Liferay DXP 7.1 + Gradle ver. 4.10.2 Resolution Please try downgrading to Gradle ver. 3.5.1 and then repeating the full build process Approaches on how to...
How to resolve Dev Studio "Could not create DXP download token" installation errors
Issue When trying to install Liferay Dev Studio, I get a UI error that states "Problem running post-install step. Installation may not complete correctly. Could not create DXP download token," and no files are installed.  I am connected to the internet and I've verified the username and...
Change of context between themes is not working as expected
Issue Changing pages using the navigation from Liferay won’t actually trigger a reload in the page. Instead, the content that is being displayed will change, and some of the resources and imports won’t actually be loaded again, what gives Liferay a big boost in terms of load. This is the...
Error thrown while installing LDS
Issue While installing Liferay Developer Studio, after providing the email address and password when we click on Next, an error related to the token generation is thrown as shown below. Problem running post-install step. Installation may not complete correctly. Could not create DXP...
I can't autodeploy in DeveloperStudio
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue On the server in DeveloperStudio, the test module is displayed as "Could...
Known Issue: CSS Builder Versions Errors for War-style Projects
This article documents a known issue in the CSS Builder-3.0.0. This issue affects developers who are still using existing war-style (war-mvc-portlet or spring-mvc-portlet) projects and an older version of the CSS builder (css.builder-2.x) . It was discovered that if the CSS Builder...
Unable to Update User Records Using UserLocalServiceUtil Class
Issue The root issue is that using user.persist(); more than once while attempting to update User data via the UserLocalServiceUtil class fails in DXP 7.1. Example of failed code: user = UserLocalServiceUtil.getUser(oUserReg.getUserId()); user.setStatus(WorkflowConstants.STATUS_APPROVED...
The Command getPortletPath(PortletDataContext portletDataContext) does not return portlet's path
Issue Using the command protected String getPortletPath(PortletDataContext portletDataContext) { return portletDataContext.getPortletPath("quizentry_WAR_aaaportlet"); } to retrieve a portlet's path does not work, especially since implementing OSGi modularity functions. Environment...
Method Name Change for JournalTemplateServiceUtil.getStructureTemplates(groupId, structureId)
Issue In the past, developers could get the list of JournalTemplates in Portal 6.2 using JournalTemplateServiceUtil.getStructureTemplates(groupId, structureId) After renamed as DDMTemplate, the corresponding DDMTemplateServiceUtil.java class does not seem to have a method to retrieve...
Troubleshooting Service Builder Blob Compile Issues
Issue Service builder with Blob and compound primary key throws compilation error. The console errors might look like this: [javac] /Users/xxxx-yyyy/Projects/aaaa/dxp/plugins-sdk/portlets/bbbbb-services-portlet/docroot/WEB-INF/service/com/aaaa/portal/model/InvoicePDFBlobModel.java:42:...
Service builder error during build task
Issue With Liferay Workspace U47+, service builder fails at build task with error similar to: error: method getResult in interface FinderCache cannot be applied to given types; ... required: FinderPath,Object[],BasePersistence<?> found: FinderPath,Object[] reason: actual and formal...
Using the 'getOriginalServlet' Function to Retrieve the Default Query String in DXP 7.0
This article serves as a reference guide on how to use the getOriginalServletRequest function to get the default queryString when using the OSGi framework. Developers familiar with Liferay Portal 6.2 EE and now using DXP 7.0 (also 7.1, 7.2 or 7.3) will find that certain requests are now...
WeDeploy Auth Admin Portlet in Liferay DXP 7.0 Fix Packs
When deploying Liferay DXP 7.0 Fix Pack 24, 25, 26 or 27, the WeDeploy Auth Admin portlet will appear in the Control Panel. WeDeploy is currently a beta product. The addition of this portlet will have no impact or security risk.  Installing an affected fix pack will result in the...
LiferayPortletURLs Generated For a .War File Do Not Have Authentication Token
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable. Subscribers often develop custom portlets and themes based on the APIs Liferay provides. As part of the portlet...
JSONWS Guest Access
The Liferay platform's JSONWS page is available to unauthenticated users at your Liferay_URL/api/jsonws. However, this does not mean that guest users have access to execute JSON web services. Even if the web services are listed in JSONWS page when accessing as Guest, most of the web...
Getting Started With Developer Studio
With the purchase of a subscription to Liferay Digital Experience Platform (DXP), customers have access to Liferay Developer Studio, which  is a set of Eclipse plugins designed to ease development with Liferay DXP.  This article documents the features included with Liferay Developer...
An Object is missing from the Application or Control Panel menu after restarting
Issue A custom Object configured to display in the Application or Control Panel menu is missing after restarting the application. The custom Object was previously present with Update 49 installed, but has now disappeared. Go to Control Panel > Objects Create an object definition Add a...
Wrong Apache Commons Lang3 library version added to module manifest
Issue We have a service builder module that uses Apache Commons Lang3. Our Liferay version uses Apache Commons Lang3 version 3.11. In our module, we have defined the dependency as follows inside the build.gradle: compileOnly group: "com.liferay.portal", name: "release.dxp.api"...

Showing 321 to 360 of 672 entries.