RSS
thumbnail
Neha Goyal | 05 May 2018

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; ...

12194
0
thumbnail
David H Nebinger | 04 May 2018

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,...

19366
0
thumbnail
Daniel Tyger | 04 May 2018

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...

13016
0
thumbnail
Daniel Tyger | 04 May 2018

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. ...

11947
2
thumbnail
Yanan Yuan | 18 Apr 2018

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,...

22230
1
thumbnail
Dennis Ju | 19 Apr 2018

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...

19565
3
thumbnail
David H Nebinger | 17 Apr 2018

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...

19324
1
thumbnail
David H Nebinger | 16 Apr 2018

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. ...

22406
0
thumbnail
Jamie Sammons | 13 Apr 2018

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...

21885
1
thumbnail
Yasuyuki Takeo | 18 Apr 2018

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...

22832
5
thumbnail
Neil Griffin | 11 Apr 2018

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...

22603
1
thumbnail
Minhchau Dang | 10 Apr 2018

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...

16002
3
thumbnail
David H Nebinger | 10 Apr 2018

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...

22375
1
thumbnail
David H Nebinger | 07 Apr 2018

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", ...

22516
9
thumbnail
Iacopo Colonnelli | 18 Apr 2018

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. ...

16034
0
thumbnail
David H Nebinger | 06 Apr 2018

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...

20632
0
thumbnail
David H Nebinger | 10 Apr 2018

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...

15830
1
thumbnail
Jamie Sammons | 12 Apr 2018

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 ...

25345
8
thumbnail
Neeraj Gautam | 11 May 2018

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...

15898
0
thumbnail
David H Nebinger | 22 Sep 2018

This one is for my good friend Milen... Sometimes he frustrates me, but he always forces me to think... Introduction So if you've done any Liferay 7.x CE or DXP development, you may have encountered something similar to the following in your build.gradle: dependencies { compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "2.6.0" ...

24139
14