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.

カテゴリ
カテゴリ
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...
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...
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...
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...
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: ...
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...
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...
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...
ビデオショートカットプロバイダーの作成
ビデオショートカットプロバイダーの作成 Liferay DXP 7.4以降で利用可能 デフォルトでは、Liferayの外部ビデオショートカットは、 YouTube 、 Vimeo 、 Facebook 、および Twitch をサポートしています。 ただし、この機能を拡張して、他のビデオソースをサポートすることができます。 ...
7.2 旧バージョンと非互換の変更
7.2 旧バージョンと非互換の変更 このドキュメントは、サードパーティのLiferay開発者またはユーザーとの既存の機能、API、または契約に違反する変更の時系列リストを示しています。 私たちはこれらの混乱を最小限にするために最善を尽くしていますが、時には避けられないこともあります。 このファイルに記載されている変更の種類の一部を次に示します。 削除または置換される機能 ...
7.4 旧バージョンと非互換の変更
7.4 旧バージョンと非互換の変更 破壊的変更 既存の機能やコード構造を破壊したり、大幅に変更したりする。 最初の四半期リリース(2023 Q3)から始まるLiferay 7.4のすべての変更点です。 製品の変更や改良に伴い、私たちはこうした中断を最小限に抑えるよう最善を尽くしますが、避けられない場合もあります。 Liferay ソースコード の 2023 Q3 以前からの 7.4...
7.3 旧バージョンと非互換の変更
7.3 旧バージョンと非互換の変更 このドキュメントは、サードパーティのLiferay開発者またはユーザーとの既存の機能、API、または契約に違反する変更の時系列リストを示しています。 私たちはこれらの混乱を最小限にするために最善を尽くしていますが、時には避けられないこともあります。 このファイルに記載されている変更の種類の一部を次に示します。 削除または置換される機能 ...
フォーム・フラグメントの作成
フォーム・フラグメントの作成 liferay 7.4 U45+/GA45+. フォームコンポーネントの断片 は、コンテンツページでオブジェクトのフォームを構築するためのものです。 Liferayのフォームフラグメントがあなたのユースケースを満たさない場合は、フォームに必要なデザインと機能を実現するために独自のフォームフラグメントを作成してください。 フォームの断片を作る ...
スクリプトの例
スクリプトの例 DXPでスクリプトを使用するのに役立ついくつかの例を次に示します。 ほとんどの例は、Liferayブログの投稿「 5 Tips to Improve Usage of the Liferay Script Console 」に基づいています。 例1:新しい利用規約をユーザーに提示する...
スクリプトコンソールからのスクリプトの実行
スクリプトコンソールからのスクリプトの実行 スクリプトコンソールは、Groovyスクリプトを実行し、その出力を印刷するための単一のビューを提供します。 ウィジェットとユーザーの操作を容易にする定義済みの変数があります。 次のトピックでは、スクリプトコンソールの使用を開始します。 スクリプトコンソールでサンプルスクリプトを実行する スクリプトコンソールで使用可能な定義済み変数 ...
スクリプトエンジンの使用
スクリプトエンジンの使用 DXPは、 Groovy スクリプトを実行してLiferay DXPインスタンスを維持するための堅牢なスクリプトエンジンを提供します。 スクリプトを実行して、データのクリーンアップ、ユーザーメンテナンス操作、Liferay APIの一括呼び出し、またはシステムレベルの操作を含むメンテナンスタスクを実行できます。 ...
Glowroot Freemarker プラグインによるテンプレートのトラブルシューティング
Glowroot Freemarker プラグインによるテンプレートのトラブルシューティング liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot は、 FreeMarker テンプレート をトラブルシューティングし、遅いトランザクションを特定することができます。 FreeMarkerプラグインの設定 Configuration →...
スクリプトからLiferayサービスを呼び出す
スクリプトからLiferayサービスを呼び出す 多くのスクリプトシナリオでは、Liferayサービスを呼び出す必要があります。 Liferay *ServiceUtilクラス は、スクリプトコンソールでLiferayサービスを呼び出す最も速くて便利な方法です。 Javaを使用するのと同じ方法でGroovyを使用してLiferayサービスを呼び出します。...
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...
LiferayでGlowrootを使う
LiferayでGlowrootを使う liferay DXP 2023.Q4+/Portal 7.4 GA100+. Liferayは、オープンソースのJavaアプリケーション監視ツールである Glowroot をバンドルしています。 このツールは、システムに関する有用な統計情報(サーバーへのリクエスト、エラーなど)を表示します。 最小限のオーバーヘッドで。...
Glowroot による Liferay パフォーマンスの使用例
Glowroot による Liferay パフォーマンスの使用例 liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot を使用して、Liferay インストールのパフォーマンスを診断し、改善するための情報を提供します。 可能な使用例をいくつか挙げてみよう。 大型コレクションの返却...
Developing Glowroot Plugins
Developing Glowroot Plugins Liferay DXP 2023.Q4+/Portal 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 tips...
Liferayのパフォーマンスの問題をGlowrootでトラブルシューティングする
Liferayのパフォーマンスの問題をGlowrootでトラブルシューティングする liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowroot を使用して、Liferay インストールのパフォーマンス問題を特定し、診断します。 以下のトピックは、診断するための一般的な問題です。 高価なSQLクエリ 高価な SQL...
GlowrootによるJVMの問題のトラブルシューティング
GlowrootによるJVMの問題のトラブルシューティング liferay DXP 2023.Q4+/Portal 7.4 GA100+. Glowrootは、システムの問題を素早く特定するためのダッシュボードを表示する。 Errors_タブをクリックすると、追跡されたエラーのリストが表示されます。...
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...