Blogs

RSS
RSS
thumbnail

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

6116
thumbnail

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

5701
thumbnail

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

6275
thumbnail

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

7580
thumbnail

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

5606
thumbnail

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

6435
thumbnail

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. In the previous demonstration I used a headless approach with the...

5849
thumbnail

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

6403
thumbnail

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

6327
thumbnail

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

7486
thumbnail

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... Results Ranking In discussing the...

6138
thumbnail

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

7005
thumbnail

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

6422
thumbnail

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

7877
thumbnail

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

9498
thumbnail

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

7783
thumbnail

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

6687
thumbnail

Downloads: Liferay Portal 7.3 GA8: Patch | Readme 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 . Thanks to Arun Das and Dominik Marks, binary builds of the patches are available: ...

4889
thumbnail

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

5023
thumbnail

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

5993