Capability

Sites

Liferay sites are customizable spaces for building personalized digital experiences. Each site includes applications for creating content, designing pages, and more. With these features, you can bring your custom solutions to life, whether intranets, public sites, customer portals, or e-commerce storefronts. In fact, you can leverage Liferay's multi-site capabilities to create multiple such sites in the same Liferay instance.

Feature
Deployment Approach
Capability
Servlets
Servlets
Published Date: May 9, 2024 6:54 PM
Asset Framework
Asset Framework The asset framework is behind many of Liferay's most powerful features. It provides tools for displaying and interacting with any type of content and data. For example, if you build...
Published Date: May 9, 2024 6:52 PM
Data Frameworks
Data Frameworks
Published Date: May 9, 2024 6:52 PM
Enabling Assets
Enabling Assets Many of Liferay's applications (e.g. Blogs, Documents and Media, Message Boards, etc.) are asset-enabled out of the box. You can publish assets with the Asset Publisher widget or...
Published Date: May 9, 2024 6:52 PM
Cache
Cache
Published Date: May 9, 2024 6:52 PM
Data Scopes
Data Scopes
Published Date: May 9, 2024 6:52 PM
Implementing an Item Selector
Implementing an Item Selector Item selectors are pop-up dialogs for selecting assets, such as documents, videos, or users. By configuring the item selector's criteria and defining its usage, you...
Published Date: May 9, 2024 6:52 PM
Expando
Expando Accessing Custom Fields with Expando
Published Date: May 9, 2024 6:52 PM
Accessing Custom Fields With Expandos
Accessing Custom Fields With Expandos When you need additional fields in your application, you can always add them in your service model definition and re-run Service Builder. This adds new columns...
Published Date: May 9, 2024 6:52 PM
Using Domain-Specific Language Queries
Using Domain-Specific Language Queries Liferay 7.4+ DSL Query is an acronym for Domain-Specific Language Query. The foundation is based upon using a domain-specific language for the...
Published Date: Jan 18, 2025 2:47 AM
Using Dynamic Query
Using Dynamic Query Liferay's Dynamic Query API wraps Hibernate's Criteria API. It helps you think in terms of objects and member variables instead of tables and columns. Complex queries can be...
Published Date: Jan 18, 2025 2:47 AM
Business Logic with Service Builder
Business Logic with Service Builder Once you've generated model, persistence, and service code with Service Builder, you can begin adding business logic. Entities generated by Service Builder...
Published Date: May 9, 2024 6:52 PM
Using Custom SQL Queries
Using Custom SQL Queries Service Builder creates finder methods that retrieve entities by their attributes (their column values). When you add a column as a parameter for the finder in your...
Published Date: Sep 6, 2024 3:37 PM
Service Builder
Service Builder An application without reliable business logic or persistence isn't much of an application at all. Unfortunately, writing your own persistence code often takes a great deal of time....
Published Date: May 9, 2024 6:52 PM
Advanced Queries
Advanced Queries Service Builder doesn't limit you to elements in service.xml. If simple finders aren't sufficient for getting data out of your application, there are three other ways to make the...
Published Date: Jan 11, 2025 4:12 PM
Defining Entities
Defining Entities Entities are the heart and soul of a service. They represent the map between the model objects in Java and your database fields and tables. Service Builder automatically maps your...
Published Date: May 9, 2024 6:52 PM
Adding Model Hints
Adding Model Hints Once you've used Service Builder to define model entities, you may want to refine how users enter that data. Model hints specify entity data restrictions and other formatting....
Published Date: May 9, 2024 6:52 PM
Defining Entity Columns
Defining Entity Columns An entity's columns represent its attributes. These attributes map table fields to Java object fields. Here you'll examine the sample project from Understanding and...
Published Date: May 9, 2024 6:52 PM
Defining Entity Finder Methods
Defining Entity Finder Methods Finder methods retrieve entity objects from the database based on specified parameters. For each finder defined, Service Builder generates several methods to fetch,...
Published Date: May 9, 2024 6:52 PM
Sorting Entity Instances
Sorting Entity Instances Often, you want to retrieve multiple instances of a given entity and list them in a particular order. The service.xml file lets you specify the default order of your...
Published Date: May 9, 2024 6:52 PM
Modifying Database Fields in Development
Modifying Database Fields in Development As you develop an application, you might need to add fields to your database. This is a normal process of iterative development: you get an idea for a new...
Published Date: May 9, 2024 6:52 PM
Configuring Global Service Options
Configuring Global Service Options A service's global options apply to all its entities. Here are the options: Dependency Injector Package path Multiversion concurrency control Namespace...
Published Date: May 9, 2024 6:52 PM
Defining Entity Relationships
Defining Entity Relationships Relationships between database entities or Java objects are necessary for most applications. Take Liferay's Message Boards application as an example. Each Message...
Published Date: May 9, 2024 6:52 PM
Service Builder Basics
Service Builder Basics Using Service Builder helps you learn it. You'll use it to learn the basics: Generating Model, Persistence, and Service Code: Define a basic model, generate code from it,...
Published Date: May 9, 2024 6:52 PM
Generating Model, Persistence, and Service Code
Generating Model, Persistence, and Service Code Service Builder makes it easy to define models and generate model, persistence, and service code for them. You'll experience this by defining a model...
Published Date: May 9, 2024 6:52 PM
Configuring CCR in a Local Follower Data Center
Configuring CCR in a Local Follower Data Center First configure CCR in the remote/leader data center before following the steps below. The local/follower data center holds Liferay DXP cluster...
Published Date: May 9, 2024 6:59 PM
Cross Cluster Replication
Cross Cluster Replication Cross Cluster Replication Configuring an Example Cross Cluster Replication Installation Configuring a Cross Cluster Replication in a Remote Leader Data Center ...
Published Date: May 9, 2024 6:59 PM
Activating Liferay Enterprise Search
Activating Liferay Enterprise Search Starting with Liferay DXP 7.4, the Liferay Enterprise Search (LES) applications are included out-of-the-box. You can begin using LES right away, then purchase...
Published Date: May 9, 2024 6:59 PM
Using the Sidecar or Embedded Elasticsearch
Using the Sidecar or Embedded Elasticsearch Sidecar and embedded Elasticsearch are not suitable for production. When using an app server different other than Tomcat, set up a standalone...
Published Date: Jan 18, 2025 2:51 AM
Installing a Search Engine
Installing a Search Engine A search engine is a critical component of your Liferay installation. Creating an Example Cluster can get you started with the installation, but this guide demonstrates...
Published Date: May 9, 2024 6:59 PM
Installing Solr
Installing Solr 7.2-7.3 (CE, DXP); 7.4 DXP U60+ Solr is a popular enterprise search platform built on Apache Lucene. It's reliable, scalable, and fault tolerant. Read more about it here. Solr is...
Published Date: May 9, 2024 6:59 PM
OpenSearch Connector Configuration Reference
OpenSearch Connector Configuration Reference Subscription Required [Beta Feature](../../../security-and-administration/administration/configuring-liferay/feature-flags.md) Configure Liferay's...
Published Date: Nov 28, 2024 3:14 PM
Liferay Enterprise Search
Liferay Enterprise Search A Liferay Enterprise Search (LES) subscription provides access and support for additional search features. Detailed installation and usage instructions are available in...
Published Date: May 9, 2024 6:59 PM
OpenSearch
OpenSearch Subscription Required [Beta Feature](../../security-and-administration/administration/configuring-liferay/feature-flags.md) Elasticsearch is Liferay's native search engine. Beginning...
Published Date: Nov 28, 2024 3:14 PM
Solr Limitations
Solr Limitations Liferay's Solr implementation has limitations. Some Liferay features and APIs cannot be used when you choose Solr as the search engine. Install Elasticsearch for the best...
Published Date: May 9, 2024 6:59 PM
Installing OpenSearch
Installing OpenSearch Subscription Required [Beta Feature](../../../security-and-administration/administration/configuring-liferay/feature-flags.md) You can connect OpenSearch with Liferay. For...
Published Date: Nov 28, 2024 3:14 PM
Upgrading to Elasticsearch 8
Upgrading to Elasticsearch 8 7.4 U81+, 7.3 U31+ Elasticsearch 8 is supported and recommended for the latest Liferay DXP Quarterly and Portal GA release out of the box. For specific version...
Published Date: May 9, 2024 6:59 PM
Solr
Solr Solr is in maintenance mode in Liferay 7.4. Solr Limitations Installing Solr
Published Date: May 9, 2024 6:59 PM
Creating and Managing Elements
Creating and Managing Elements Elements are one of the fundamental building blocks of Search Blueprints and are managed within the Blueprints application. Open the Global Menu's Applications...
Published Date: May 9, 2024 7:00 PM
Predefined Element Variables Reference
Predefined Element Variables Reference In the Element Source editor, place the cursor in the desired location and click the variable in the left hand sidebar to insert it. In the Custom JSON...
Published Date: May 9, 2024 7:00 PM