Blogs

RSS
RSS
thumbnail

We have a lot of distributed web content management in our Liferay installation and many articles are undoubtedly edited many times over a period of years. Let's take a look...: select count(*) from journalarticle; Returns 19,984 records And, via the script console we can see there are much fewer unique articles: ...

11694
thumbnail

Refer https://web.liferay.com/web/antonio.junior/blog/-/blogs/12168124 and create web service client for Portlet_DL_DLAppService.   package com.lr.ws.soap.fileupload;   import java.net.MalformedURLException; import java.net.URL;   import com.liferay.portal.service.ServiceContext; ...

9926
thumbnail

When you are upgrading to DXP on SQL Server, it is recommended to set the following property in the portal-upgrade-ext.properties file: verify.process.concurrency.threshold=10000 Otherwise you can encounter issues during the upgrade related to schema changes after cursor opens, etc. This can hit you during the verification of audited models or resource permissions,...

17082
thumbnail

Do you have a lot of documents in your Liferay instance? It may be worth it to clean out old document versions... Let's take a look: mysql> select count(*) from dlfileentry; Returns 12,300. mysql> select count(*) from dlfileversion; Returns 13, 678. Looks worth it to remove historic versions. I decided to explore one of our sites that has a lot of documents in their...

10361
thumbnail

Getting ready to upgrade to DXP from Liferay 6.2? You reached the section of the documentation about pre-upgrade preparations that will speed up the process? Me, too. With much appreciation to Sébastien Le Marchand for his excellent article "5 tips to improve usage of the Liferay script console" and Corné Aussems for his public groovy scripts that propelled me along. ...

9124
thumbnail

New Installers Released   Hello all,   We are pleased to announce a new release of Liferay Project SDK 2018.4.4 installer, Liferay Project SDK with Dev Studio Community Edition installer and Liferay Project SDK with Dev Studio DXP Installer.   New Installers:   New installers requires Eclipse Oxygen at least. For customers,...

19595
thumbnail

May 25 is fast approaching. Every business impacted by GDPR should be well underway in preparing for the changes to data processing set forth by the regulation. To address the heightened requirements for empowering users' control of their personal data, Liferay has been evaluating and building features into Liferay DXP to aid our customers in their journey toward compliance. I wanted...

15966
thumbnail

Introduction So in any production system, there is typically a desire to capture metrics, use them to define a system health check, and then monitor the health check results from an APM tool to preemptively notify administrators of problems. Liferay does not provide this kind of functionality, but it was functionality that I needed for a recent project. Rather than roll my...

16401
thumbnail

Introduction I have never liked one aspect of Liferay logging - it is not persistent. For example, I can't debug a startup issue unless I get the portal-log4j-ext.xml file set up and out there. Not so much of a big deal as a developer, but as a portal admin if I use the control panel to change logging levels, I don't expect them to be lost just because the node restarts. ...

19068
thumbnail

I'm pleased to announce the immediate availability of: Liferay Portal 7.1 Alpha 1     Download Now! We announced the Liferay 7.1 Community Beta Program on February 19th alongside our first 7.1 Milestone release.  We launched the first phase of the community beta program which was to receive feedback from our community on...

18988
thumbnail

While working on Elasticsearch debugging, I just made a docker-compose file to start up an external Elasticsearch with plugins that Liferay DXP / 7 installed with debugging tools. Hope this would be helpful for somebody working on investigation of search.   Liferay 7 GA6 / DXP fixpack 42 and onwards, Liferay uses Elasticsearch 6.1.3. According to the...

19956
thumbnail

I'm happy to report that according to the following graph from Maven Central, the download stats for Liferay Faces are trending upward. In fact, our downloads have approximately  doubled with an all time high surpassing 11,000 downloads/month!   The download stats encompass all artifacts such as: Liferay...

19488
thumbnail

When you compare a CE release with an EE release, you'll find that there are a few additional modules that are only available in EE releases. In Liferay terms, these are called "private" modules. They are private in the sense that their source code doesn't exist in any public GitHub repositories (only private ones, and usually inside of a folder named "private"), and their binaries...

12838
thumbnail

Introduction Recently I was building a fragment bundle to expose a private package per my blog entry, . In the original bnd.bnd file, I found the following: -dsannotations-options: inherit Not seeing this before, I had to do some research... Inheriting References So I think I just gave it away. When you add the instruction to your bnd.bnd file, the class...

18850
thumbnail

Introduction So once you've been doing some Liferay OSGi development, you'll recognize your component properties stanza, most commonly applied to a typical portlet class: @Component( immediate = true, property = { "com.liferay.portlet.add-default-resource=true", "com.liferay.portlet.display-category=category.hidden", "com.liferay.portlet.layout-cacheable=true", ...

18053
thumbnail

Liferay Portal 7.0 CE GA6 Release was announced about 2 weeks ago and Liferay containerisers may desire to upgrade their Docker container to the new Liferay version. Well, this is a not so hard task to accomplish, but some steps can be not so obvious the first time one faces them. This is the reason behind this little guide on how to migrate from GA5 to GA6 inside a Docker container. ...

12995
thumbnail

Just a quick blog post to talk about compile time vs runtime dependencies in the OSGi container, inspired by this thread: https://web.liferay.com/community/forums/-/message_boards/view_message/105911739#_19_message_106181351. Basically a developer was able to get Apache POI pulled into a module, but they did so by replicating all of the "optional" directives into the bnd.bnd...

16623
thumbnail

Introduction On a project recently I had a Theme war and, like those themes you can download from the MarketPlace, I also had pages, contents and documents imported by the Resources Importer (RI) as a site template. Which is pretty cool, on its own, so I could deploy the theme and create a new site based on the theme and demo how it looks and works. But I ran into...

12836
thumbnail

I'm pleased to announce the immediate availability of: Liferay Portal 7.0 CE GA6!   Download Now! What’s New Bug Fixes - Liferay 7 Portal CE GA6 is mainly a bug fix release and contains over 800 fixes. A complete list can be found here. Known Issues LPS-71774 - Browser button border overflow on Documents and Media ...

21862
thumbnail

Introduction This blog covers Liferay DXP SP4 integration with Microsoft ADFS (2.0) through SAML 2.0 (Liferay SAML plugin 3.1.1). Please note as per new update in Liferay SAML plugin, you don't require to restart the server post any changes at Liferay end. Also, in this blog Liferay is registered as Service Provider and ADFS as Identity Provider. This article is inspiration...

13078