Menu

Liferay Portal / News: Recent posts

Liferay Portal 7.4 GA17 and Liferay Commerce 4.0 GA17 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image. To
get started using either Liferay Portal or Liferay Commerce, choose the best
download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA17:

docker run -it -p 8080:8080 liferay/portal:7.4.3.17-ga17

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-03-25

7.4 Custom Bundle Compatibility

Introduction

So my friend Thiago Moreira posted the following (slightly edited) message
to our internal Slack:

** Hey, so I've built a module for 7.4 GA5, but when it is deployed to 7.4
GA16, I get a bunch of "unresolved requirement" exceptions and the module
won't be available. Is there something I need to set so my module will work on
both GA5 and GA16?**

I was actually kind of surprised to hear this. Historically, when building an
artifact I always say to target the minimum version you can run on such as
GA1, and they would work even on later GAs as long as the APIs weren't
actually changed. Certainly this should be the same in 7.4?... read more

Posted by SourceForge Robot 2022-03-24

Liferay Portal 7.4 GA16 and Liferay Commerce 4.0 GA16 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image. To
get started using either Liferay Portal or Liferay Commerce, choose the best
download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA16:

docker run -it -p 8080:8080 liferay/portal:7.4.3.16-ga16

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-03-18

Liferay Portal 7.4 GA15 and Liferay Commerce 4.0 GA15 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image. To
get started using either Liferay Portal or Liferay Commerce, choose the best
download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA15:

docker run -it -p 8080:8080 liferay/portal:7.4.3.15-ga15

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-03-11

Fix unicode special characters not displayed properly in interfaces

Hi guys, quick tip:

I've noticed that special characters present in Language.properties file
appears as a question mark (?) in configuration interfaces generated by
Object Class Definit (@Meta.OCD) when using Java 8, like shown below:

My Language.properties file has only one line:

address=Endereço

And my configuration interface has this attribute definition:
@Meta.AD( name = "address", required = false, deflt = "" ) public String address();... read more

Posted by SourceForge Robot 2022-03-04

Fix unicode special characters not displayed properly in configuration interfaces

Hi guys, quick tip:

I've noticed that special characters present in Language.properties file
appears as a question mark (?) in configuration interfaces generated by
Object Class Definit (@Meta.OCD), like shown below:

My Language.properties file has only one line:

address=Endereço

And my configuration interface has this attribute definition:
@Meta.AD( name = "address", required = false, deflt = "" ) public String address();... read more

Posted by SourceForge Robot 2022-03-04

Liferay Portal 7.4 GA14 and Liferay Commerce 4.0 GA14 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.
To get started using either Liferay Portal or Liferay Commerce, choose the
best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA14:

docker run -it -p 8080:8080 liferay/portal:7.4.3.14-ga14

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-03-04

Liferay & Cloudflare

Another quick one this week...

A community member reached out and asked for help with a problem on their DXP
Cloud site. They were already working with DXP Cloud support, but they had
been struggling with the issue for over a week and were trying to get help
from all corners...

When they accessed their site using the direct URL (an internal URL that all
DXP Cloud admins have access to), the site rendered fine.... read more

Posted by SourceForge Robot 2022-03-02

Liferay Portal 7.4 GA13 and Liferay Commerce 4.0 GA13 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.
To get started using either Liferay Portal or Liferay Commerce, choose the
best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA13:

docker run -it -p 8080:8080 liferay/portal:7.4.3.13-ga13

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-02-25

Important 7.4 Private Page Change

Just a quick one today...

In previous versions of Liferay, if you were browsing a site as a guest but
wanted to access a private page or a private site, Liferay would automagically
show you the login form so you could authenticate before accessing the page or
site.

This has been changed in 7.4.

It was determined that just by showing the login form, Liferay was leaking the
fact that the page or site URL is valid, even if you didn't have access. A URL
for a private page that didn't exist would generate a 404, so it was easy to
determine when a page did or did not exist just based on the result.... read more

Posted by SourceForge Robot 2022-02-25

Liferay Portal 7.4 GA12 and Liferay Commerce 4.0 GA12 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.
To get started using either Liferay Portal or Liferay Commerce, choose the
best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA12:

docker run -it -p 8080:8080 liferay/portal:7.4.3.12-ga12

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-02-18

Implement Predictive Search in Liferay (II)

In the sequel for Implement Predictive Search in Liferay Part 1:
Autocomplete
I’ll demonstrate how to create a predictive
search in another flavor: search as you type. It works like this: the user
starts entering keywords in the search bar and gets instant content
suggestions. The suggestions are direct links to contents.... read more

Posted by SourceForge Robot 2022-02-17

MDC/NDC Logging in Liferay 7.4

Introduction

Recently I was asked how to implement MDC and/or NDC in Liferay 7.4, and since
I thought it might be interesting to a wider audience, I'm going to blog about
it here.

Background

In a multithreaded, multiuser environment such as in a web application like
Liferay, different threads in the container will be handling different
requests, but likely each request is doing something radically different. I
could be changing my Search Blueprint for the next holiday cupcake promotion
while you might be reading the blog I wrote about it.... read more

Posted by SourceForge Robot 2022-02-14

Implement  Predictive Search  in Liferay

Liferay doesn’t have predictive search, but it doesn’t mean it would be
difficult to implement. In the following two blogs I’ll demonstrate
implementing it in two flavors: an autocomplete suggesting previous,
successful keywords and a search as you type flavor suggesting matching
content as keywords are entered.

The goal is to do it as simply as possible leveraging Liferay’s standard
search functionalities as much as possible. But, one size does not fit it all.
Although my number one choice for backend would probably be in all the flavors
of predictive search a REST based approach, there are scenarios like search as
you type where it currently fits poorly in. I’ll come back to these challenges
in the second part of this blog series.... read more

Posted by SourceForge Robot 2022-02-14

Liferay Portal 7.4 GA11 and Liferay Commerce 4.0 GA11 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.
To get started using either Liferay Portal or Liferay Commerce, choose the
best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA11:

docker run -it -p 8080:8080 liferay/portal:7.4.3.11-ga11

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-02-11

Boosting Search Revisited

Introduction

In November of 2018, I authored a blog, Boosting
Search
. In that
blog, I showed how to boost search results for tag matches in an effort to
provide some alternative to GSA's KeyMatch support.

A lot has changed in Liferay since that blog was posted, and it turns out
there are much easier ways now in DXP 7.4 that won't require any code at
all...... read more

Posted by SourceForge Robot 2022-02-11

Building Headless APIs

Overview

In this blog I'll explain how to implement a custom Headless API module,
configure an OAuth2 authorization and consume the API.

We’ll implement the Headless API for “App manager” functionality with
endpoints to get the list of apps, get app details, create/update/delete the
app (“App” here is a model, describing some external application with the
following fields: appId / name / description / logoUrl / linkUrl).... read more

Posted by SourceForge Robot 2022-02-07

Changing Databases

Introduction

I've worked with clients that, for one reason or another, needed to change
their database platform.

This ask has increased with the move to DXPCloud and MySQL database.

I'm not sure there's a well defined plan for how to migrate a Liferay
database, so I thought I'd blog about it.

Now, if you know anything about me, you know I'm a planner and I create
(sometimes intricate) processes to complete a task, and this is no
different.... read more

Posted by SourceForge Robot 2022-02-07

Liferay Portal 7.4 GA10 and Liferay Commerce 4.0 GA10 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.
To get started using either Liferay Portal or Liferay Commerce, choose the
best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA10:

docker run -it -p 8080:8080 liferay/portal:7.4.3.10-ga10

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-02-04

Liferay Portal 7.4 GA9 and Liferay Commerce 4.0 GA9 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.
To get started using either Liferay Portal or Liferay Commerce, choose the
best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA9:

docker run -it -p 8080:8080 liferay/portal:7.4.3.9-ga9

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-01-28

Push for Liferay

Introduction

I was recently polling my coworkers looking for new blog ideas, and Filipe
Melo asked about Websockets. I haven't seen any other documentation or blogs
about building Websocket solutions for Liferay, so I figured this would be an
interesting challenge.

Websockets was introduced to provide a full duplex and realtime client/server
communication path between remote clients and your server-side framework. JSR
356
was introduced to add Websocket
support to Java applications, and Liferay added support for Websockets in 7.0.... read more

Posted by SourceForge Robot 2022-01-26

Effective Liferay Batch

Introduction

My friend and coworker Eric Chin recently posed a question on our internal
slack channels asking if anyone had experience with Liferay's Batch mode and
he was not finding enough supporting documentation on it.

Although I hadn't yet worked with Liferay Batch, I kind of took it as a
challenge to not only give it a try, but more importantly to document it in a
new blog post, so here we are...... read more

Posted by SourceForge Robot 2022-01-25

January 2022 : Security patch for Liferay Portal 7.3

Downloads:

All vulnerabilities fixed in these patches have already been fixed in Liferay
Portal 7.4 GA5. Please refer to the readme file for a list of issues addressed
in each patch. For more information on working with patches, please see
Patching Liferay Portal
.... read more

Posted by SourceForge Robot 2022-01-25

Troubleshooting indexation errors using Index Checker

Liferay stores all the information in a relational SQL database, but most of
the entities (Web Content, Documents, Users, Blogs Entries, etc.) are also
indexed on the Elasticsearch server.

This Elasticsearch server is used by several Liferay functionalities, for
example:

  • Liferay search functionality: execute searches by keywords.
  • Asset Publishers: display the contents filtered by some criterion
  • Segmentation: uses the Elasticsearch server to check the user segments.
  • Many other places like user list or commerce functionalities... read more
Posted by SourceForge Robot 2022-01-24

Liferay Portal 7.4 GA8 and Liferay Commerce 4.0 GA8 Release

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.
To get started using either Liferay Portal or Liferay Commerce, choose the
best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA8:

docker run -it -p 8080:8080 liferay/portal:7.4.3.8-ga8

For more information on using the official Liferay docker image see the
liferay/portal repo on Docker Hub.... read more

Posted by SourceForge Robot 2022-01-21