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
Functions
Functions In Poshi, Functions handle extra WebDriver commands that an element might require to interact with a page object or element. Functions combine the basic methods defined in the...
تاريخ النشر: 26‏/04‏/24 8:57 م
Configuration
Configuration In order to give test writers easy access to commonly used functions, paths, or macros, Poshi resources were created to store existing Poshi files as dependencies. These resources can...
تاريخ النشر: 26‏/04‏/24 8:57 م
Using Poshi Resources
Using Poshi Resources Once the Poshi resources jar file is loaded onto your Poshi project, you are now able to use Liferay's commonly used functions, paths, and macros. To distinguish between files...
تاريخ النشر: 26‏/04‏/24 8:57 م
Poshi Layers
Poshi Layers :::: 2 :gutter: 3 3 3 3 ::: Functions :link: ./poshi-layers/functions.md Building reliable and reusable functions ::: ::: Paths :link: ./poshi-layers/paths.md Defining Page Objects...
تاريخ النشر: 26‏/04‏/24 8:57 م
Testcases
Testcases A testcase file in Poshi is a collection of test scenarios grouped in blocks of code called test blocks. The three main test blocks: setUp, test, and tearDown, are made up of multiple...
تاريخ النشر: 26‏/04‏/24 8:57 م
Macros
Macros A macro is a set of functions that perform a task. Macros are where locators (paths) and functions are brought together to script interactions that a user performs on the system being...
تاريخ النشر: 26‏/04‏/24 8:57 م
Paths
Paths A path is an element on a page that a test will interact with. An element can be a button, text field, link, image, paragraph, or just about anything you would need to assert, click, or type...
تاريخ النشر: 26‏/04‏/24 8:57 م
Reference
Reference Node Version Information
تاريخ النشر: 26‏/04‏/24 8:57 م
Using the Bootstrap 3 Compatibility Layer in Liferay 7.4
Using the Bootstrap 3 Compatibility Layer in Liferay 7.4 As of Liferay DXP 7.4 GA1, the Bootstrap 3 compatibility layer is removed from the built-in packages in Liferay frontend applications. If...
تاريخ النشر: 26‏/04‏/24 8:57 م
Node Version Information
Node Version Information Liferay DXP uses Node (and NPM) for many different frontend components. Specifically, the Liferay Theme Generator and Liferay's JavaScript application tools require the use...
تاريخ النشر: 26‏/04‏/24 8:57 م
Using Variables
Using Variables Though not a Poshi layer, variables are a large part of Poshi tests. Variables, like in other programming languages, are used to store data which can be referenced and reused in...
تاريخ النشر: 26‏/04‏/24 8:57 م
Poshi Resources
Poshi Resources To give Poshi test writers easy access to commonly used functions or other files, Poshi resources were created to store existing Poshi files as dependencies that can be loaded apart...
تاريخ النشر: 26‏/04‏/24 8:57 م
Liferay Internals
Liferay Internals :file: landingpage_template.html :file: liferay-internals/landing.html
تاريخ النشر: 26‏/04‏/24 8:57 م
Architecture
Architecture The Liferay DXP/Portal architecture has three parts: Core: Bootstraps DXP and its frameworks. The Core provides a runtime environment for managing services, UI components, and...
تاريخ النشر: 26‏/04‏/24 8:57 م
Contributing to Liferay Development
Contributing to Liferay Development Fixing a Bug or Contributing a New Feature Building Liferay Source Organizing the Source
تاريخ النشر: 26‏/04‏/24 8:57 م
Extending Liferay
Extending Liferay Liferay DXP/Portal is highly customizable. Its modular architecture contains components you can extend and override dynamically using APIs.
تاريخ النشر: 26‏/04‏/24 8:57 م
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...
تاريخ النشر: 26‏/04‏/24 8:57 م
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...
تاريخ النشر: 26‏/04‏/24 8:57 م
Finding Artifacts
Finding Artifacts To use external artifacts in your project, you must configure their dependencies in your build.gradle Gradle script. Before specifying an artifact as a dependency, you must first...
تاريخ النشر: 26‏/04‏/24 8:57 م
Resolving Third Party Library Package Dependencies
Resolving Third Party Library Package Dependencies An application can rely on multiple OSGi modules. Resolving their Java package dependencies can be challenging. In a perfect world, every package...
تاريخ النشر: 26‏/04‏/24 8:57 م
Specifying Dependencies
Specifying Dependencies You must satisfy all dependencies to compile and deploy a module successfully. After you find the dependency artifacts, add them as dependencies in your Gradle build file....
تاريخ النشر: 26‏/04‏/24 8:57 م
Using the Gogo Shell
Using the Gogo Shell The Gogo shell provides a way to interact with the module framework. Among other things, you can Dynamically install/uninstall bundles (modules) Examine package...
تاريخ النشر: 26‏/04‏/24 8:57 م
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...
تاريخ النشر: 26‏/04‏/24 8:57 م
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...
تاريخ النشر: 26‏/04‏/24 8:57 م
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...
تاريخ النشر: 26‏/04‏/24 8:57 م
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...
تاريخ النشر: 26‏/04‏/24 8:57 م
Exporting Packages
Exporting Packages In OSGi, packages are private by default. You must explicitly exporting a package so other modules can import and use them. Here's how to export packages: Open your bnd.bnd...
تاريخ النشر: 26‏/04‏/24 8:57 م
7.4 Breaking Changes
7.4 Breaking Changes Breaking changes changes break or significantly alter existing functionality or code structure. Here are all of the breaking changes for Liferay 7.4, starting with the first...
تاريخ النشر: 26‏/04‏/24 8:58 م
7.2 Breaking Changes
7.2 Breaking Changes This document presents a chronological list of changes that break existing functionality, APIs, or contracts with third party Liferay developers or users. We try our best to...
تاريخ النشر: 26‏/04‏/24 8:58 م
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: ...
تاريخ النشر: 26‏/04‏/24 8:57 م
Command Line Gogo Shell
Command Line Gogo Shell If you're in a development environment, you can interact with the module framework locally from the command line. Gogo shell should only be run from the command line in...
تاريخ النشر: 26‏/04‏/24 8:57 م
Reference
Reference 7.4 Breaking Changes 7.3 Breaking Changes 7.2 Breaking Changes Exported Third-Party Packages Portal Developer Properties
تاريخ النشر: 26‏/04‏/24 8:58 م
Exported Third Party Packages
Exported Third Party Packages Liferay provides over one-hundred third party Java packages at run time. The com.liferay.portal.bootstrap module exports the packages by specifying individual packages...
تاريخ النشر: 26‏/04‏/24 8:58 م
7.3 Breaking Changes
7.3 Breaking Changes This document presents a chronological list of changes that break existing functionality, APIs, or contracts with third party Liferay developers or users. We try our best to...
تاريخ النشر: 26‏/04‏/24 8:58 م
Gogo Shell Commands
Gogo Shell Commands The Gogo shell executes Felix Gogo basic commands and Liferay commands. The Gogo shell is accessible in the Control Panel (recommended) and from the command line. Here are some...
تاريخ النشر: 26‏/04‏/24 8:58 م
Micro Frontends
Micro Frontends Micro frontends extend the concept of microservices to the frontend side of development. You can build a fully-featured and powerful browser application that uses a microservice...
تاريخ النشر: 26‏/04‏/24 8:58 م
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...
تاريخ النشر: 26‏/04‏/24 8:58 م
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...
تاريخ النشر: 26‏/04‏/24 8:59 م
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....
تاريخ النشر: 26‏/04‏/24 8:59 م
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...
تاريخ النشر: 26‏/04‏/24 8:59 م
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...
تاريخ النشر: 26‏/04‏/24 8:59 م
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...
تاريخ النشر: 26‏/04‏/24 8:59 م
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...
تاريخ النشر: 26‏/04‏/24 8:59 م
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...
تاريخ النشر: 26‏/04‏/24 8:59 م
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...
تاريخ النشر: 26‏/04‏/24 8:59 م
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...
تاريخ النشر: 26‏/04‏/24 8:59 م
Troubleshooting Liferay Performance Issues with Glowroot
Troubleshooting Liferay Performance Issues with Glowroot Liferay DXP 2023.Q4+/Portal 7.4 GA100+ Use Glowroot to identify and diagnose performance issues in your Liferay installation. The following...
تاريخ النشر: 26‏/04‏/24 9:01 م
Developing Glowroot Plugins
Developing Glowroot Plugins Liferay DXP 2023.Q4+/Portal 7.4 GA100+ Glowroot provides various out-of-the-box plugins. You can also build your own with the use of their plugin API. Here are some...
تاريخ النشر: 26‏/04‏/24 9:01 م
Script Examples
Script Examples Here are some examples to help you use scripts in DXP. Most of the examples originated from the Liferay blog post 5 Tips to Improve Usage of the Liferay Script Console. Example 1:...
تاريخ النشر: 26‏/04‏/24 9:01 م
Running Scripts From the Script Console
Running Scripts From the Script Console The Script Console provides a single view for executing Groovy scripts and printing their output. It has predefined variables that facilitate working with...
تاريخ النشر: 26‏/04‏/24 9:01 م
Troubleshooting Templates with Glowroot Freemarker Plugin
Troubleshooting Templates with Glowroot Freemarker Plugin Liferay DXP 2023.Q4+/Portal 7.4 GA100+ Glowroot can troubleshoot FreeMarker templates to pinpoint slow transactions. Configuring the...
تاريخ النشر: 26‏/04‏/24 9:01 م
Using the Script Engine
Using the Script Engine Liferay provides a robust script engine for executing Groovy scripts. You can execute scripts to perform maintenance tasks involving data cleanup, user maintenance...
تاريخ النشر: 26‏/04‏/24 9:01 م
Using Glowroot with Liferay
Using Glowroot with Liferay Liferay DXP 2023.Q4+/Portal 7.4 GA100+ Liferay bundles Glowroot, the open source Java application monitoring tool. The tool displays helpful statistics about your...
تاريخ النشر: 26‏/04‏/24 9:01 م
Troubleshooting JVM Issues with Glowroot
Troubleshooting JVM Issues with Glowroot Liferay DXP 2023.Q4+/Portal 7.4 GA100+ Glowroot displays a dashboard for identifying system issues quickly. Click the Errors tab to see a list of tracked...
تاريخ النشر: 26‏/04‏/24 9:01 م
Liferay Performance Use Cases with Glowroot
Liferay Performance Use Cases with Glowroot Liferay DXP 2023.Q4+/Portal 7.4 GA100+ Use Glowroot to diagnose and inform you on making performance improvements to your Liferay installation. Here are...
تاريخ النشر: 26‏/04‏/24 9:01 م
Invoking Liferay Services From Scripts
Invoking Liferay Services From Scripts Many scripting scenarios require invoking Liferay services. Liferay *ServiceUtil classes are the fastest and most convenient way to invoke Liferay services in...
تاريخ النشر: 26‏/04‏/24 9:01 م
Postal Address API Basics
Postal Address API Basics Liferay DXP/Portal 7.4+ Use Liferay's REST APIs to manage postal addresses. Add Postal Address to Account Then, follow these steps: Download and unzip Postal Address...
تاريخ النشر: 26‏/04‏/24 9:01 م
Roles API Basics
Roles API Basics You can Create and Manage Roles from the Application menu, but you can also use Liferay's REST APIs. Call these services to manage Roles. Associate a User to a Regular Role Then,...
تاريخ النشر: 26‏/04‏/24 9:01 م
Organizations API Basics
Organizations API Basics You can Create and Manage Organizations from the Application menu, but you can also use Liferay's REST APIs. Call these services to manage organizations. Adding an...
تاريخ النشر: 26‏/04‏/24 9:01 م
Regions API Basics
Regions API Basics Liferay 7.4 U24+ and GA24+ Use Liferay's REST APIs to create and manage regions. Adding a Region Then, follow these steps: Download and unzip Regions API Basics. curl...
تاريخ النشر: 26‏/04‏/24 9:01 م

Capabilities

Product

Contact Us

Connect

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