Search Results

All Results 1900
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Reference
Reference PortletMVC4Spring integrates Spring, the Spring Web Framework, and the MVC design pattern with portlet development. As such, it uses configuration files from each of these areas and...
Extending Liferay
Extending Liferay Liferay DXP/Portal is highly customizable. Its modular architecture contains components you can extend and override dynamically using APIs.
PortletMVC4Spring Project Anatomy
PortletMVC4Spring Project Anatomy PortletMVC4Spring portlets are packaged in WARs. Liferay provides project templates for creating projects configured to use JSP/JSPX and Thymeleaf templates. Their...
Customizing Localization
Customizing Localization Liferay ships with 55 translations, making it ideal for deployments all over the world. Sometimes, however, you must modify a translation or provide a new one. Here you can...
Generating Translations Automatically
Generating Translations Automatically Liferay DXP supports 50 languages out-of-the-box. Each locale has its own language properties file containing keys for its language. When you create an...
Adding a Language
Adding a Language Liferay ships with over 50 languages out-of-the-box. Translation is complete for many of these languages, and some are still in the translation process. Each language has its own...
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...
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...
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...
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...
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...
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...
Deploying WARs (WAB Generator)
Deploying WARs (WAB Generator) You can create applications as Java EE-style Web Application ARchive (WAR) artifacts or as Java ARchive (JAR) OSGi bundle artifacts. Bean Portlets, PortletMVC4Spring...
JARs Excluded from WABs
JARs Excluded from WABs [Liferay-generated web application bundles (WABs) are stripped of third party JARs that contain packages that Liferay exports already. Deploying the same third party...
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...
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...
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....
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...
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...
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...
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: ...
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...
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...
Adaptive Media Modules Reference
Adaptive Media Modules Reference Adaptive Media's Modules Some modules in the Adaptive Media app are mandatory and must be enabled for Adaptive Media to function, while others can be disabled. The...
Configuring Caching for Documents and Media
Configuring Caching for Documents and Media Liferay 7.3 U23+, Liferay 7.4 U21+, GA21+ By default, Documents and Media files are not cached by browsers or servers. This is because file visibility...
Digital Asset Management
Digital Asset Management Use Liferay’s Digital Asset Management (DAM) features to store, organize, and reuse documents, images, and other media across your site. The Documents and Media library...
DevOps
DevOps :::: 2 :gutter: 3 3 3 3 ::: Local Integrations Configuring Documents and Media Previews Enabling Antivirus Scanning for Uploaded Files Configuring Cache Control for Documents and Media...
Developer Guide
Developer Guide This guide provides comprehensive information and references to help you effectively use the Document API, understand adaptive media modules, and create video shortcut providers.
Creating Video Shortcut Providers
Creating Video Shortcut Providers Liferay DXP 7.4+ By default, Liferay's external video shortcuts support YouTube, Vimeo, Facebook, and Twitch. However, you can extend this feature to support...
Configuring Documents and Media Previews
Configuring Documents and Media Previews Liferay 7.4 U84+/GA84+ By default, Liferay uses PDFBox to generate previews for files added to the document library. This is because PDFBox is the only...
Enabling Document Creation and Editing with Microsoft Office 365
Enabling Document Creation and Editing with Microsoft Office 365 Liferay DXP integrates with Microsoft Office 365™ so you can create and edit documents, spreadsheets, and presentations stored in...
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...
Enabling FFmpeg for Audio and Video Previews
Enabling FFmpeg for Audio and Video Previews Documents and Media provides integration with the FFmpeg multimedia framework for generating audio and video file previews. To use this integration, you...
Google Drive Integration
Google Drive Integration Integrate Google Drive with Liferay DXP to create, edit, and manage Google Docs, Sheets, and Slides directly from Documents and Media. This integration provides two main...
Enabling Links to Google Drive Documents
Enabling Links to Google Drive Documents Liferay supports Google Drive in Documents and Media. When enabled, you can create shortcuts to your Google Drive files that enable you to view and manage...
Enabling Document Creation and Editing with Google Drive
Enabling Document Creation and Editing with Google Drive Liferay DXP provides integration with Google Drive so you can create and edit Google Docs, Sheets, and Slides via the Documents and Media...
Setting Storage Quotas for Documents and Media
Setting Storage Quotas for Documents and Media You can define storage quotas in Documents and Media by enabling the data.limit.dl.storage.max.size portal property. Once you define a value for this...
Enabling Liferay's REST Connector to SharePoint
Enabling Liferay's REST Connector to SharePoint Requires DXP Subscription; Compatible with SharePoint 2016 and SharePoint Online Liferay's REST Connector to SharePoint integrates Documents and...
Enabling and Configuring Sharing
Enabling and Configuring Sharing The Sharing configuration allows users to share files with each other. You can enable file sharing at the Global, Virtual Instance, and Site scopes. Sharing is...
Documents and Media
Documents and Media The Documents and Media application stores and manages files in your Liferay instance. This includes files uploaded directly to Documents and Media, as well as those uploaded in...
Creating SharePoint Repositories in Documents and Media
Creating SharePoint Repositories in Documents and Media Once you've added a SharePoint OAuth2 configuration, you can use it to create repositories in Documents and Media that are mounted to...
Generating Images Using AI
Generating Images Using AI Liferay DXP 2024.Q2+/Portal GA120+ The Documents and Media application provides integration with OpenAI's ChatGPT engine using the AI Creator tool. With an OpenAI API...
Publishing and Sharing
Publishing and Sharing
Accessing Documents with WebDAV
Accessing Documents with WebDAV You can access the Document Library from your desktop file manager via WebDAV. WebDAV is a protocol based on HTTP for managing files stored on web servers. WebDAV is...
Managing Document Access
Managing Document Access Effectively managing document access in Liferay ensures that your organization’s data remains secure while being accessible to the right users. Control document access by...
Documents and Media Permissions Reference
Documents and Media Permissions Reference Liferay 7.4 U76+/GA76+ Manage access to Documents and Media assets using application and resource permissions. With role-based access control, you can...
Documents and Media UI Reference
Documents and Media UI Reference The Documents and Media application is used to store, view, and manage files for your Liferay DXP instance. It's available in all sites and can be enabled for asset...
SharePoint Integration
SharePoint Integration Integrate SharePoint with Liferay DXP for managing SharePoint libraries within Documents and Media. Create and manage repositories that mount SharePoint libraries, and...
Publishing Documents
Publishing Documents Liferay makes it easy to publish and showcase documents and other types of media files. As you begin uploading media files, you probably want to start sharing them on your...
Sharing Documents with Other Users
Sharing Documents with Other Users Using DXP's Documents and Media app, users can share files directly with each other. You can disable sharing. For instructions on this, see Enabling and...
Managing Document Changes with Checkout
Managing Document Changes with Checkout When you check out a document in the Document Library, only you can make changes to it until you check it back in. This prevents conflicting edits on the...
Permissions and Documents
Permissions and Documents With Liferay's permissions framework, you can control which users can create, view, download, and manage Documents and Media assets. You can give permissions to an...
Using Adaptive Media
Using Adaptive Media Liferay 7.4+ Liferay Adaptive Media processes images stored in the document library to produce copies at different resolutions. Once generated, you can use the adapted images...
Configuring Document URLs
Configuring Document URLs Liferay 7.4 U27+/GA27+ When a file is uploaded, Liferay automatically generates a friendly URL for accessing it. This URL uses the following structure:...
Migrating Documents and Media Thumbnails to Adaptive Media
Migrating Documents and Media Thumbnails to Adaptive Media DXP automatically generates image thumbnails in Documents and Media using Adaptive Media, which is included by default starting with DXP...
Managing Image Resolutions
Managing Image Resolutions You can manage adapted image resolutions via the Adaptive Media application. This includes manually generating adapted images, disabling/enabling resolutions, as well as...
Adding Image Resolutions
Adding Image Resolutions By default, Adaptive Media includes two image resolutions: preview and thumbnail. You can define additional image resolutions to help optimize site performance for common...
Enabling Optimization of Animated GIFs
Enabling Optimization of Animated GIFs To scale animated GIFs, Adaptive Media uses an external tool called Gifsicle. If Gifsicle isn't installed and image/gif is included as a supported MIME type,...
Adaptive Media Configuration Reference
Adaptive Media Configuration Reference Liferay 7.3 U28+/GA28+ and 7.4 U78+/GA78+ With Adaptive Media, you can configure supported media types, determine the resolutions used for previews and...
Using Workflow with Documents and Media
Using Workflow with Documents and Media Documents and Media is fully integrated with Liferay's workflow engine. This means you can define custom review and approval processes for your files. In...