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
Capability
開発者ガイド
開発者ガイド このセクションには、サイト構築に関する開発者関連の記事が含まれています。
公開日: 2024/05/09 18:57
フラグメントへのスタイル適用
フラグメントへのスタイル適用 ページにフラグメントを追加すると、サイドバーメニューを使って、 スタイル 設定タブ を含む、フラグメントを設定することができます。 The Styles tab in the sidebar menu allows you to configure the styles per fragment on a page. ...
公開日: 2024/05/09 18:57
フラグメントの自動デプロイ
フラグメントの自動デプロイ liferay Portal 7.3 GA1+ または Liferay DXP 7.3+. もしあなたが 独自のツールでページフラグメントを開発しているなら 、Liferay UI経由でインポートできるようにZIPファイルにパッケージ化することでデプロイできます。 ただし、UI の使用に限定されません。...
公開日: 2024/05/09 18:57
フラグメント・コンフィギュレーションを使用する際のベストプラクティス
フラグメント・コンフィギュレーションを使用する際のベストプラクティス 独自の 構成でサイトのページフラグメントを作成する場合、それらを安全かつ効果的にHTML表示で使用するのはあなたの責任です。 ここでは、フラグメントをより効果的かつ強固にするためのテクニックを紹介します。 構成テキスト値のエスケープ 繰り返されるHTML要素にリストを使用する 構成テキスト値のエスケープ...
公開日: 2024/05/09 18:57
フラグメントへの構成オプションの追加
フラグメントへの構成オプションの追加 対応可能:Liferay DXP 7.2 SP1以降 構成可能なオプションを使用して、フラグメントを柔軟にすることができるので、似たようなフラグメントを多数管理する必要はありません。...
公開日: 2024/05/09 18:57
提供されたフラグメントセットの作成
提供されたフラグメントセットの作成 提供されたフラグメントセットは、ページフラグメントを含むデプロイ可能なモジュールです。 提供されたセットのフラグメントは、通常のフラグメントと同じように使用できますが、データベースには含まれておらず、UI から直接変更することはできません。 Liferay 7.3以降を実行している場合は、圧縮された ZIP...
公開日: 2024/05/09 18:57
フラグメントにデフォルトのリソースを含める
フラグメントにデフォルトのリソースを含める フラグメントセットに画像(例: .gif、.jpg、.jpeg、.png)を含めて、フラグメントで使用できるようにすることができます。 ドキュメントとメディアなどの他のアプリケーションではなく、フラグメントと一緒に画像を保持すると便利です。 ここでは、フラグメント...
公開日: 2024/05/09 18:57
フラグメント設定の検証
フラグメント設定の検証 フラグメント の設定オプション を定義するときに、有効なエントリーのルールを決定する text タイプのフィールドに validation プロパティを追加することができます。 ルールのタイプを指定することで、各フィールドが受け付けるデータのタイプを決定する:text、number、email、url、pattern`のいずれかである。...
公開日: 2024/05/09 18:57
開発者リファレンス
開発者リファレンス フラグメントの開発リファレンス
公開日: 2024/05/09 18:57
フラグメントドロップゾーンの定義
フラグメントドロップゾーンの定義 ドロップゾーンは、コンテンツページの構築に不可欠です。 フラグメントの中に、ユーザーが他のフラグメントやウィジェットをドラッグ&ドロップできる領域を定義することで、ユニークなページレイアウトや動的な表示を実現することができます。 ドロップゾーンを定義するには、次の手順に従います。 [サイト管理] → [デザイン] → [Fragments]...
公開日: 2024/05/09 18:57
フラグメント内の要素の順序を設定する
フラグメント内の要素の順序を設定する 対応可能:Liferay 7.4以降 スライダー または タブ フラグメントは、通常、情報の異なる領域を表示するために使用されるものです。 スライダーは、この情報をスライドのカルーセルのように表示します。 タブは複数あり、それぞれ異なる情報が表示されます。 ...
公開日: 2024/05/09 18:57
ページフラグメントでカスタムフィールドを使用する
ページフラグメントでカスタムフィールドを使用する カスタムフィールド をLiferayのユーザーやページに追加した場合、フラグメントでアクセスすることができます。 ページカスタムフィールドの値を取得するためには、以下のようにします。 layout.getExpandoBridge().getAttribute("ATTRIBUTE_NAME") ...
公開日: 2024/05/09 18:57
フラグメントエディターの使用
フラグメントエディターの使用 Liferay DXPには、コンテンツページフラグメントを開発するためのビルトイン エディタ 。 エディターにアクセスするには、 Site Menu( Site Menu ) を開き、 Design → Fragments に移動します。 ここから、フラグメントとフラグメントセットの表示、管理、作成ができます。 フラグメントセットの作成 ...
公開日: 2024/05/09 18:57
ページ フラグメントエディタのインターフェイスリファレンス
ページ フラグメントエディタのインターフェイスリファレンス ページ フラグメントエディタのインターフェイスは、2 つのタブで構成されています。 コードエディタ 設定 以下のセクションでは、インターフェイスのこれらの部分の使用方法について説明します。 ページ フラグメントの作成方法については、 Developing Page Fragments を参照してください。 コードエディタ...
公開日: 2024/05/09 18:57
スクリプトからLiferayサービスを呼び出す
スクリプトからLiferayサービスを呼び出す 多くのスクリプトシナリオでは、Liferayサービスを呼び出す必要があります。 Liferay *ServiceUtilクラス は、スクリプトコンソールでLiferayサービスを呼び出す最も速くて便利な方法です。 Javaを使用するのと同じ方法でGroovyを使用してLiferayサービスを呼び出します。...
公開日: 2024/05/09 18:59
スクリプトエンジンの使用
スクリプトエンジンの使用 DXPは、 Groovy スクリプトを実行してLiferay DXPインスタンスを維持するための堅牢なスクリプトエンジンを提供します。 スクリプトを実行して、データのクリーンアップ、ユーザーメンテナンス操作、Liferay APIの一括呼び出し、またはシステムレベルの操作を含むメンテナンスタスクを実行できます。 ...
公開日: 2024/05/09 18:59
スクリプトコンソールからのスクリプトの実行
スクリプトコンソールからのスクリプトの実行 スクリプトコンソールは、Groovyスクリプトを実行し、その出力を印刷するための単一のビューを提供します。 ウィジェットとユーザーの操作を容易にする定義済みの変数があります。 次のトピックでは、スクリプトコンソールの使用を開始します。 スクリプトコンソールでサンプルスクリプトを実行する スクリプトコンソールで使用可能な定義済み変数 ...
公開日: 2024/05/09 18:59
スクリプトの例
スクリプトの例 DXPでスクリプトを使用するのに役立ついくつかの例を次に示します。 ほとんどの例は、Liferayブログの投稿「 5 Tips to Improve Usage of the Liferay Script Console 」に基づいています。 例1:新しい利用規約をユーザーに提示する...
公開日: 2024/05/09 18:59
組織 API の基本
組織 API の基本 アプリケーションメニューから Create and Manage Organizations を利用できますが、Liferay の REST API を利用することもできます。 組織を管理するためにこれらのサービスを呼び出す。 組織の追加 次に、以下の手順に従います。 Organizations API Basics をダウンロードして解凍する。 curl...
公開日: 2024/05/09 18:59
各国APIの基本
各国APIの基本 Liferay 7.4 U24+ および GA24+ LiferayのRest APIを使用して国を作成し、管理します。 国の追加 次に、以下の手順に従います。 Countries API Basics をダウンロードして解凍する。 curl...
公開日: 2024/05/09 18:59
リージョンAPIの基本
リージョンAPIの基本 Liferay 7.4 U24+ および GA24+ Liferay の REST API を使ってリージョンを作成・管理します。 リージョンの追加 次に、以下の手順に従います。 Regions API Basics をダウンロードして解凍する。 curl...
公開日: 2024/05/09 18:59
Using Objects with SugarCRM
Using Objects with SugarCRM [Beta Feature](../../../../system-administration/configuring-liferay/feature-flags.md#beta-feature-flags) You can create objects that map to SugarCRM objects (for...
公開日: 2024/06/05 16:04
Client Extension Reference
Client Extension Reference Liferay Self-Hosted Liferay SaaS Liferay PaaS Liferay 7.4 You can find code examples for all types of client extensions in liferay-portal Frontend Client Extensions ...
公開日: 2024/06/21 15:41
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...
公開日: 2024/07/18 16:48
Liferay Internals
Liferay Internals Liferay is a complex open-source platform built on several key technologies and architectural principles. Liferay is written mostly in Java and built on the OSGi framework, which...
公開日: 2024/07/18 20:39
Extending Liferay
Extending Liferay Liferay DXP/Portal is highly customizable. Its modular architecture contains components you can extend and override dynamically using APIs.
公開日: 2024/07/18 20:39
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...
公開日: 2024/07/18 20:39
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...
公開日: 2024/07/18 20:39
Using a Frontend Data Set Cell Renderer Client Extension
Using a Frontend Data Set Cell Renderer Client Extension Liferay 7.4+ You can use Frontend Data Set (FDS) cell renderer client extensions to customize the display for your data set. Use this type...
公開日: 2024/08/15 15:42
Frontend Data Set Cell Renderer YAML Reference
Frontend Data Set Cell Renderer YAML Reference You can define a Frontend Data Set cell renderer client extension with a client-extension.yaml file. Usage Details The client-extension.yaml file...
公開日: 2024/08/15 15:42
JavaScript Import Map Entry YAML Configuration Reference
JavaScript Import Map Entry YAML Configuration Reference Usage Details This client-extension.yaml file defines a JavaScript import map entry client extension: assemble: - from: build/static ...
公開日: 2024/09/14 15:48
Site Initializer YAML Configuration Reference
Site Initializer YAML Configuration Reference Liferay Self-Hosted Liferay SaaS Liferay PaaS Liferay 7.4 Use a client-extension.yaml file to define a Site Initializer client extension. Usage...
公開日: 2024/10/16 16:13
Using Liferay Util Param
Using Liferay Util Param The param tag lets you set a parameter for an included JSP page. This configuration requires two JSPs. JSP A, the main view of the app, includes JSP B and sets its...
公開日: 2024/11/22 22:50
Using Localized Messages in an MVC Portlet
Using Localized Messages in an MVC Portlet Liferay's localization framework is for creating localized messages in your MVC portlet. Deploy the Sample Code Then, follow these steps: Download...
公開日: 2024/11/22 22:50
PortletMVC4Spring Configuration Files
PortletMVC4Spring Configuration Files A PortletMVC4Spring application has these descriptors, Spring contexts, and properties files in its WEB-INF folder: web.xml → Web application descriptor ...
公開日: 2024/11/22 22:50
Client Extensions
Client Extensions Liferay Self-Hosted Liferay SaaS Liferay PaaS Liferay 7.4 When you want to extend Liferay, either by modifying its look and feel or by calling functions outside of Liferay, you...
公開日: 2024/11/22 22:50
Instance Settings YAML Configuration Reference
Instance Settings YAML Configuration Reference You can use an instance settings client extension to configure a wide variety of Liferay configurations. Each configuration is referenced by its PID...
公開日: 2024/11/22 22:50
Using Spring
Using Spring PortletMVC4Spring is deprecated due to a future migration to Jakarta EE 10. Instead, use client extensions or Liferay Objects if possible. Alternatively, use Liferay's MVC Portlet. ...
公開日: 2024/11/22 22:50
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...
公開日: 2024/11/22 22:50
PortletMVC4Spring Annotations
PortletMVC4Spring Annotations PortletMVC4Spring provides several annotations for mapping requests to controller classes and controller methods. @RenderMapping Annotation Examples The following...
公開日: 2024/11/22 22:50
PortletMVC4Spring Project Anatomy
PortletMVC4Spring Project Anatomy PortletMVC4Spring portlets are packaged in WARs. Liferay provides Maven archetypes for creating projects configured to use JSP/JSPX and Thymeleaf templates. Their...
公開日: 2024/11/22 22:50
Using React
Using React Build your own solutions using Liferay and React.
公開日: 2024/11/22 22:50
Remote Applications with Headless APIs
Remote Applications with Headless APIs Available 7.4+ After creating and publishing objects, headless REST APIs are automatically generated. Here you'll see how to integrate these endpoints to...
公開日: 2024/11/22 22:50
Using Object Data with React Charts
Using Object Data with React Charts Here you'll use Objects, Headless APIs, and custom element remote applications to create a dynamic chart for data dashboards. First, you'll set up a new DXP...
公開日: 2024/11/22 22:50
Packaging Client Extensions
Packaging Client Extensions Liferay Self-Hosted Liferay SaaS Liferay PaaS Liferay 7.4 Client extension projects are built as deployable archives called Liferay Universal File Format Archives...
公開日: 2024/11/22 22:50
OAuth Headless Server YAML Configuration Reference
OAuth Headless Server YAML Configuration Reference You can define an OAuth headless server client extension with a client-extension.yaml file. Usage Details This client-extension.yaml file defines...
公開日: 2024/11/22 22:50
OAuth User Agent YAML Configuration Reference
OAuth User Agent YAML Configuration Reference You can define an OAuth user agent client extension with a client-extension.yaml file. Usage Details This client-extension.yaml file defines an OAuth...
公開日: 2024/11/22 22:50
Categorizing a Configuration
Categorizing a Configuration When you register a configuration interface, the UI for your application is generated in System Settings → Platform → Third Party. If you prefer a different section and...
公開日: 2024/11/22 22:50
Configuration Framework
Configuration Framework Setting and Accessing Configurations Categorizing a Configuration Scoping Configurations Portlet Level Configuration Configuration Form Renderer DDM Form Annotations ...
公開日: 2024/11/22 22:50
Completely Custom Configuration
Completely Custom Configuration A configuration UI is generated automatically when you create a configuration interface. But in some cases you want a completely custom UI for your configuration....
公開日: 2024/11/22 22:50
Configuration Model Listener Reference
Configuration Model Listener Reference Use model listeners in your own configurations to listen for events and execute code in response. Creating a model listener requires only three steps: ...
公開日: 2024/11/22 22:50
DDM Form Annotations
DDM Form Annotations The auto-generated configuration interface UI may be too simplistic for some configurations. You can use the Dynamic Data Mapping (DDM) form annotations to customize your...
公開日: 2024/11/22 22:50
Hiding the Configuration UI
Hiding the Configuration UI Liferay generates a configuration UI automatically after a configuration interface deploys. But you may have certain use cases where you want to hide the UI. For...
公開日: 2024/11/22 22:50
Configuration Form Renderer
Configuration Form Renderer When you create a configuration interface, a configuration UI is automatically generated. But in some cases you want customize the look and feel of the UI. For example,...
公開日: 2024/11/22 22:50
Field Options Provider
Field Options Provider You can populate a drop-down list manually in the @Meta.AD annotation of the configuration interface. But you can also populate the option labels and values automatically...
公開日: 2024/11/22 22:50
Contributing to Liferay Development
Contributing to Liferay Development The first thing to do in learning to fix bugs or contributing a feature is to become familiar with how to build the system. The Liferay Portal build system now...
公開日: 2024/11/22 22:50
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...
公開日: 2024/11/22 22:50
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...
公開日: 2024/11/22 22:50
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...
公開日: 2024/11/22 22:50
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...
公開日: 2024/11/22 22:50

Capabilities

Product

Education

Contact Us

Connect

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