Capability

Development and Tooling

Liferay offers a comprehensive toolkit to extend or customize your digital experience. Build applications quickly with low-code/no-code features like Objects, or leverage developer tools like Liferay Workspace and Blade CLI for further customizations.

For users on PaaS or running Self-Hosted, Liferay also offers tools deploying customizations.

Feature
Deployment Approach
Understanding the Liferay npm Bundler Loader
Understanding the Liferay npm Bundler Loader liferay-npm-bundler's mechanism is inspired by webpack. Like webpack, the liferay-npm-bundler processes files using a set of rules that include loaders...
Published Date: Apr 26, 2024 8:57 PM
Getting Started
Getting Started Previously, Poshi tests could only be executed by downloading and creating the test files within the Liferay source code. The Poshi Standalone gradle project enables you to use...
Published Date: Apr 26, 2024 8:57 PM
Poshi Test Automation
Poshi Test Automation Poshi is a test automation framework that is simple, easy to understand, and does not require prior development experience to get started. Poshi tests can be written to...
Published Date: Apr 26, 2024 8:57 PM
Understanding Test Results and Debugging Tests
Understanding Test Results and Debugging Tests Poshi tests are run on the terminal or command line. When a test run is completed there are multiple ways to view the test results and diagnose test...
Published Date: Apr 26, 2024 8:57 PM
Creating the Testcase File
Creating the Testcase File Test Scenario Write your first testcase file using the test scenario below: You would like to test that your name does not appear on any learn.liferay.com article. The...
Published Date: Apr 26, 2024 8:57 PM
Syntax Validation
Syntax Validation The Poshi Standalone grade projects includes a validation task that can be used to check your code for syntax errors before running your test. To use this, simply run ./gradlew...
Published Date: Apr 26, 2024 8:57 PM
Running a Test
Running a Test Open the poshi-ext.properties file on your poshi-standalone directory and add the following line, replacing the TestCaseFileName#TestCaseName with the one you created in Creating A...
Published Date: Apr 26, 2024 8:57 PM
Extending Liferay
Extending Liferay Liferay DXP/Portal is highly customizable. Its modular architecture contains components you can extend and override dynamically using APIs.
Published Date: Apr 26, 2024 8:57 PM
APIs as OSGi Services
APIs as OSGi Services After you've learned what a module is and how to deploy one, you can use modules to define APIs and implement them. Liferay APIs are OSGi services, defined by Java interfaces...
Published Date: Apr 26, 2024 8:57 PM
Configuring Dependencies
Configuring Dependencies Liferay provides a container where modules can publish and consume functionality through their Java packages. Modules can leverage packages from other modules or...
Published Date: Apr 26, 2024 8:57 PM
Fundamentals
Fundamentals Liferay development projects consist primarily of simple .jar files. These contain a few extra configuration files that make them OSGi modules, but they're easily understandable by...
Published Date: Apr 26, 2024 8:57 PM
Module Projects
Module Projects Liferay applications and customizations are OSGi modules: .jar files containing Java code and some extra configuration for publishing and consuming APIs. A module project comprises...
Published Date: Apr 26, 2024 8:57 PM
Semantic Versioning
Semantic Versioning Semantic Versioning is a three tiered versioning system for incrementing version numbers based on the degree of API change made in a releasable software component. It's a...
Published Date: Apr 26, 2024 8:57 PM
Using an OSGi Service
Using an OSGi Service Liferay APIs are readily available as OSGi services. You can access a service by creating a field of that service type and annotating the field with @Reference, like this: ...
Published Date: Apr 26, 2024 8:57 PM
Importing Packages
Importing Packages You often find yourself in a position of needing functionality provided by another module. To access this functionality, you must import packages from other modules into your...
Published Date: Apr 26, 2024 8:57 PM
Portal Developer Properties
Portal Developer Properties There are Portal Properties that facilitate development. Liferay's portal-developer.properties file includes all of them. The portal-developer.properties file is enabled...
Published Date: Apr 26, 2024 8:58 PM
Auto-Deploying Fragments
Auto-Deploying Fragments Liferay Portal 7.3 GA1+ or Liferay DXP 7.3+ If you're developing page fragments with your own tooling, you can deploy them by packaging them in ZIP files for importing via...
Published Date: Apr 26, 2024 8:59 PM
Best Practices for Using Fragment Configurations
Best Practices for Using Fragment Configurations When you are creating page fragments for your site with your own configurations, it's your responsibility to use them in their HTML presentation...
Published Date: Apr 26, 2024 8:59 PM
Applying Styles to Fragments
Applying Styles to Fragments When you add a fragment to a page, you can use the sidebar menu to configure the fragment, including the Styles configuration tab. The Styles tab in the sidebar menu...
Published Date: Apr 26, 2024 8:59 PM
Developing Page Fragments
Developing Page Fragments Developing Fragments Using the Fragments Editor Using the Fragments Toolkit Adding Configuration Options to Fragments Best Practices for Using Fragment...
Published Date: Apr 26, 2024 8:59 PM
Including Default Resources in Fragments
Including Default Resources in Fragments You can include images (e.g. .gif, .jpg, .jpeg, or .png) in your Fragment Sets for your Fragments to use. Keeping images with your Fragments, rather than in...
Published Date: Apr 26, 2024 8:59 PM
Using the Fragments Editor
Using the Fragments Editor Liferay DXP includes a built-in editor for developing content page fragments. To access the editor, open the Site Menu ( Site Menu ) and navigate to Design → Fragments....
Published Date: Apr 26, 2024 8:59 PM
Setting the Order of Elements in a Fragment
Setting the Order of Elements in a Fragment Availability: Liferay 7.4+. The Slider or Tab fragments are typically used to show different areas of information. Sliders present this information in a...
Published Date: Apr 26, 2024 8:59 PM
Defining Fragment Drop Zones
Defining Fragment Drop Zones Drop zones are integral to building your Content Pages. With them, you can create unique page layouts and dynamic displays by defining areas within fragments where...
Published Date: Apr 26, 2024 8:59 PM
Fragment Specific Tags and Attributes Reference
Fragment Specific Tags and Attributes Reference Along with standard HTML, CSS, and JavaScript, you can use Liferay-specific tags and attributes to define editable sections, embed widgets, and more....
Published Date: Apr 26, 2024 8:59 PM
Validating Fragment Configurations
Validating Fragment Configurations When defining fragment configuration options, you can add validation properties to text type fields that determine rules for valid entries. Determine what type of...
Published Date: Apr 26, 2024 8:59 PM
Developing Fragments Reference
Developing Fragments Reference :::: 2 :gutter: 3 3 3 3 ::: Fragments Toolkit Command Reference :link: ./fragments/fragments-toolkit-command-reference.md ::: ::: Page Fragment Editor Interface...
Published Date: Apr 26, 2024 8:59 PM
Developer Reference
Developer Reference Developing Fragments Reference :::: 2 :gutter: 3 3 3 3 ::: Fragments Toolkit Command Reference :link: ./reference/fragments/fragments-toolkit-command-reference.md ::: ::: Page...
Published Date: Apr 26, 2024 8:59 PM
Fragment Configuration Types Reference
Fragment Configuration Types Reference This reference lists the available configuration types for fragments. See Adding Configuration Options to Fragments for more information on how to make a...
Published Date: Apr 26, 2024 8:59 PM
Page Fragment Editor Interface Reference
Page Fragment Editor Interface Reference The Page Fragment editor's interface is organized into two tabs: Code Editor Configuration The sections below cover how to use these portions of the...
Published Date: Apr 26, 2024 8:59 PM
Fragments Toolkit Command Reference
Fragments Toolkit Command Reference The Fragments Toolkit is deprecated as of Liferay 2024.Q1+/Portal 7.4 GA112+. See Alternatives for the Fragments Toolkit for more information. The Fragments...
Published Date: Apr 26, 2024 8:59 PM
Adding Configuration Options to Fragments
Adding Configuration Options to Fragments Available: Liferay DXP 7.2 SP1+ Configurable options help make your Fragments flexible, so you don't have to maintain many similar Fragments. For example,...
Published Date: Apr 26, 2024 8:59 PM
Developer Guide
Developer Guide This section includes Developer related articles for Site Building. :::: 2 :gutter: 3 3 3 3 ::: Developing Page Fragments :link: ./developer-guide/developing-page-fragments.md :::...
Published Date: Apr 26, 2024 8:59 PM
Using the Fragments Toolkit
Using the Fragments Toolkit The Fragments Toolkit is deprecated as of Liferay 2024.Q1+/Portal 7.4 GA112+. See Alternatives for the Fragments Toolkit for more information. The Fragments Toolkit...
Published Date: Apr 26, 2024 8:59 PM
Creating a Contributed Fragment Set
Creating a Contributed Fragment Set Contributed Fragment Sets are deployable modules containing Page Fragments. Fragments in a contributed Set can be used just like regular Fragments, but aren't...
Published Date: Apr 26, 2024 8:59 PM
Creating Form Fragments
Creating Form Fragments Liferay 7.4 U45+/GA45+ The form components fragments are for building your object's forms in a content page. If Liferay's form fragments don't satisfy your use case, create...
Published Date: Apr 26, 2024 8:59 PM
Developing Fragments
Developing Fragments Page Fragments are the building blocks for Content Pages. They're made from the three components of web pages: CSS, HTML, and JavaScript. To create a page you combine multiple...
Published Date: Apr 26, 2024 8:59 PM
Using Custom Fields in Page Fragments
Using Custom Fields in Page Fragments If you've added custom fields to Liferay's users or pages, you can access them in fragments. To get the value of a page custom field, use ...
Published Date: Apr 26, 2024 8:59 PM
Account Users and Roles APIs
Account Users and Roles APIs You can manage Account Users and Account Roles from the Applications menu, but you can also use Liferay's REST APIs. Call these services to create and manage Account...
Published Date: Apr 26, 2024 9:01 PM
Adding the UAD Framework
Adding the UAD Framework You can manage and delete user data with Liferay's User Associated Data (UAD) management tool. The tool is available out-of-the-box for many of Liferay's applications (e.g....
Published Date: Apr 26, 2024 9:01 PM

Ask

Capabilities

Product

DXP

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy