Blogs

RSS

Entries with Blog Stream Featured .

RSS
thumbnail

Recently I started a new "Office Hours" session to occur every other Tuesday at 9am EST (14:00 UTC) and 4pm EST (21:00 UTC) on a Zoom bridge. The next meetings will occur on Tuesday, 12/7/2021 (or 7/12/2021 for my friends in the EU). Here you can bring questions, ideas, or whatever. Heck, feel free to join and just talk about your Liferay projects if you want. I'll post the Zoom meeting...

552
thumbnail

Introduction In a recent blog I explained how to create a React-based portlet within your Liferay Gradle Workspace by using the js-widget Blade template which in turn uses the Yeoman Liferay JS Generator to create the project. (Wow, that was a mouthful ;-) ) In this way, you can have your Liferay Gradle Workspace take care of building your complete suite of Liferay modules, the...

1338
thumbnail

Introduction So when you start building your own fragments and using them on your content pages, you will often times run into an issue with propagation... So I like to create fragments for headers and footers and then use those fragments on every page that I build. But when I update those fragments, I have to go into the usages panel to do the propagation so they all get updated. If you...

4681
thumbnail

Introduction I posted two blog posts this week, and each of them had a particular drawback - lack of cluster coordination. The first blog post on cluster-enabled upgrade processes introduced using an @Reference dependency upon a specific Release version, the idea being that the component shouldn't start unless that version was available. When the upgrade process would run on the cluster...

3845
thumbnail

Just a quick one... I've just updated my Log Persister project for Liferay 7.3. You can find it under the 7.3 branch: https://github.com/dnebing/log-persist/tree/7.3 For those that aren't aware, I introduced the Log Persister here: https://liferay.dev/blogs/-/blogs/liferay-7-dxp-making-logging-changes-persistent Normally Liferay does not persist logging. If you make any changes in...

4042
thumbnail

I recently was helping a client with an upgrade process and that had run into a little problem... A few of the model hints were not updated on some of the columns in their Service Builder services and, as we all know, Service Builder will not ensure the columns are changed in a production environment (well, actually any environment where the schema.module.build.auto.upgrade property is not set...

3417
thumbnail

A really quick post to share something important with you React + Clay developers out there... A recent update to Clay had a breaking internal change. If after deploying your React portlet and you try to place it on the page and you get errors in the JS console like: liferay-amd-loader | Errors returned from server for require( ["my-module@1.0.0"] ): "Missing dependency...

5106
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 GA3 and Liferay Commerce 4.0 GA3 run the following: docker run -it -p 8080:8080 liferay/portal:7.4.2-ga3 For more...

11159
thumbnail

Introduction A client asked me to build a React portlet for them and I was like, "Oh Yeah!" I mean, it's been a while since I built a React portlet and tooling has really changed a lot since then, so I was really looking forward to this new task. So without further ado, I'm just going to dive right in... Creating the Module Okay, so this is still Liferay and still OSGi, so we're going to be...

6478
thumbnail

Introduction So I was recently asked to help build a custom Liferay docker image for a client and there were some specific requirements such as: Should not contain hard-coded credentials, those will be available as environment variables. Should be a single image that can be used in every environment, DEV, UAT and PROD. Now these kinds of things can be challenging to do if you were to...

5158
thumbnail

Introduction Recently I asked some of my teammates for ideas about what to blog about next. Most of the time I take my inspiration from different clients I work with or questions that come up on the Liferay Community channels, but lately the well has seemed kind of dry. So I went fishing for suggestions. My friend Andrew Betts, who happens to be in the Liferay DXP Cloud (DXPC) team suggested...

4562
thumbnail

The Liferay Portal 7.3 CE GA8 release is primarily focused on fixes so no new notable features will be introduced with this release. Download options Choose the best download option suited for your environment below. Docker image To use Liferay Portal 7.3 CE GA8 in docker, run: docker run -it -p 8080:8080 liferay/portal:7.3.7-ga8 For more information on using the official Liferay docker...

7172
thumbnail

IntroductionAs many folks know, I'm known for telling people not to look inside the Liferay database itself. It's not always clear what is what in the DB and Liferay has a lot of code around retrieving and updating data that you likely will not get completely right if you were to update the DB directly.I typically end with "Always, always use the Liferay API for your data needs..."And, if...

3329
thumbnail

Announcing Liferay Commerce 4.0 GA2We’re excited to continue expanding and improving upon the Liferay Commerce product. The latest version of Commerce offers some minor SEO improvements and many bug fixes.Download optionsLiferay 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...

5368
thumbnail

Announcing Liferay Portal 7.4 CE GA2Liferay Portal 7.4 CE GA2 marks the second major release in the 7.4 release cycle.  Although released later than  hoped, Liferay Portal 7.4 CE GA2 continues following the rolling release cycle announced last year for 7.3.  Liferay Portal 7.4 CE GA2 contains many exciting new features across almost every aspect of the platform with many new...

5681
thumbnail

So some time ago I wrote the Cluster Details marketplace plugin. Basically you drop this guy into all of your Liferay clusters and you get a nifty little control panel that tells you details about the cluster, all of the nodes which have joined the cluster and it identifies who the leader of the cluster is at the moment:Not super complicated, but it is a handy little tool to identify details...

3027
thumbnail

IntroductionHistorically developers have always wanted to be able to control site creation.It's not that Liferay admins are untrusted or anything like that. It is really more the case where setting up a new site can get complicated and the steps to create the site could be quite long. A site may have initial documents, web contents (with structures and templates), pages to create and populate...

2520
thumbnail

IntroductionLiferay has, for a long time, supported RBAC, the role-based access control. It is, of course, backed by the database so (inheritance aside for the moment) a user will be assigned a list of roles that is mostly fixed or unchanging. To change these role assignments, typically an admin is going to log into Liferay and, using the control panel, add or remove roles as necessary.This...

1902
thumbnail

  Announcing Liferay Portal 7.4 CE GA1 Liferay Portal 7.4 CE GA1 marks the first major release in the 7.4 release cycle.  Although released later than  hoped, Liferay Portal 7.4 CE GA1 continues following the rolling release cycle announced last year for 7.3.  Liferay Portal 7.4 CE GA1 contains many exciting new features across almost every aspect of the...

8104
thumbnail

Announcing Liferay Commerce 4.0 We’re excited to continue expanding and improving upon the Liferay Commerce product. The latest version of Commerce offers improvements in data integration and administrator and developer experience, making managing common Commerce processes more efficient. Download options Liferay Portal and Liferay Commerce share the same Bundle and Docker...

3245