Search Results

Knowledge Base 1395
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
上部のバーと左のメニューを非表示にする
事象/ユースケース 一般ユーザはシステムを調整させないためLiferayの上部のバーと左のメニューを非表示にして、管理者ユーザのみは表示させるケースがある。 解決策/提案 カスタマイズになってしまいますが、独自テーマを調整することによって上記仕様を満たせます。 init_custom.ftlにてユーザの権限をを取得して表示の判断を行い、portal_normal.ftlにてメニューを判断に沿って表示させるか否か、という流れになります。 追加情報 詳しくはコミュニティーの掲示板をご参照ください。, knowledgeArticleType: howTo, legacy:...
ドキュメントのメージャ・マイナーバージョンの更新条件
事象/ユースケース 同一のドキュメントを再アップロードした場合は、ドキュメントのバージョンが更新されますん。 解決策/提案 同じドキュメントを再アップロードした際、メージャと選択場合はバージョンが強制的に更新されますが、マイナーを選択した場合はバージョンが更新されません。カテゴリやタグの編集、関連するデータの変更も同様です。 マイナーを選択しても、強制的に更新したい場合は、以下のプロパティを「0」に設定します。 # # Set this to 0 to force all updates to file entries to result in a new #...
アクティベーションキーのご案内 (Liferay Portal 6.2)
アクティベーションキーとは?  アクティベーションキーはLiferay Portal エンタープライズエディション( EE版)を利用するために必要なファイルであり、サービス契約に記入されているLiferay Portalの使用サーバー数またアクセス数を確認するものです。またEE版のみがアクセスできる機能やアプリの認証にも使用されます。入手できるアクティベーションキーの数はあらかじめ契約に記載されてる本番環境サーバー数(Production Server)と検証環境サーバー数(Non-production Server)と開発環境サーバー数(Development...
ページ印刷時にリンクテキストのURLが表示される
事象/ユースケース ページ印刷時にリンクテキストのURLが表示されますが、これを消したいです。 解決策/提案 この動作はカスタムテーマのCSSで調整可能です。 印刷時にURLを表示させないCSSの例: a[href]:after { content: ""; } LiferayのUIは、BootstrapベースのAlloy UIというフレームを使用しており、デフォルトで印刷時にリンクテキストのURLを表示するようになっています。 追加情報 フロントエンド開発入門 Themes and Layout Templates (英語),...
LDAPからのユーザーインポートについて
事象/ユースケース LDAPからのユーザーインポート間隔はデフォルトで10分ですが、変更方法する必要があります。 解決策/提案 コントロールパネル>設定>インスタンス設定>「認証」パネルの「LDAP」タブで初期値を変更できます。 なお、LDAPからのインポートは以下の条件で実行されます: 設定したインポート間隔(デフォルトは10分です) 該当ユーザーのログイン時 スタートアップ時(スタートアップの際にインポートを有効にしている場合) インポート済みのユーザーに関しては、LDAP側で属性が変更されている場合、先述の条件のタイミングでLiferay側に反映されます。...
パスワードの暗号化を無効にする
事象/ユースケース 開発環境にてパスワードの暗号化を無効にしたい場合があります。 解決策/提案 passwords.encryption.algorithmプロパティでパスワードの暗号化方法を指定します。NONEに設定することでパスワードが暗号化されません、テキストとして保存されます。 # # パスワードを暗号化するには、以下の暗号化アルゴリズムを設定してください。 デフォルトのアルゴリズムは、PBKDF2WithHmacSHA1 / 160/128000で、128,000ラウンドを使用して160ビットのハッシュを生成します。 # #...
スクリーン名について(Liferay DXP)
背景: Liferayのデフォルト設定では使用できないスクリーン名があります。 その制限の回避方法をご紹介します。 詳細: 使用不可能な文字 デフォルトのLiferayで、スクリーン名に使用出来ない文字や文字列は以下の通りです: 「半角英数字(0-9, a-z)」、「-(ハイフン)」、「.(ドット)」、「_(アンダースコア)」以外の文字列  ※半角大文字で入力した場合でも全て小文字に変換されます @を含む文字列 半角数字のみの文字列 75文字より多い文字列 admin.reserved.screen.namesプロパティに指定された文字列  ...
ページ毎に異なるブックマークを表示する
事象/ユースケース サイト内に管理されているブックマークでも、ページ毎に異なるブックマークを表示したい 解決策/提案 ブックマークポートレットのスコープを設定することによって、同じサイトのページでも異なるブックマークを表示できます。 当該サイトのブックマーク管理画面から、ブックマークを多少追加 Page1を作成して、 ブックマークポートレットを配置 追加したブックマークが表示することを確認 Page2を作成して、ブックマークポートレットを配置 →Page1と同様に既存ブックマークが表示されます ブックマークポートレットの右上のオプションメニューから「設定」を選択...
Liferayのドキュメントルートを変更する方法(プロキシパスの設定)
事象/ユースケース Liferay運用の際にプロキシを経由して、https://example.com/ ではなく https://example.com/liferay/ のようなパスで運用する必要があります。 解決策/提案 portal.proxy.pathでプロキシパスを指定します。 https://example.com/liferay/で運用する場合、_[liferay_home]/portal-ext.properties_に以下の設定を加えます。 # # Set this property if the application server is...
フォームを複製する方法
事象/ユースケース 新規フォームをゼロから作成より、既存のフォームを複製して調整した方が効率的に良い場合があります。 解決策/提案 エクスポート・インポート機能をご利用できます。 フォームが既に存在する状態 画面右上のオプションメニューから「エクスポート/インポート」を選択 「エクスポート>新規エクスポートプロセス」を選択 複製したいフォームが選択されるように、「コンテンツ」セクションから適切な範囲を設定 「 エクスポート」をクリック 生成された.larファイルをダウンロード 「インポート」タブに移動 「ファイルを選択」ボタンをクリック ダウンロードしたファイルを選択...
ドキュメント管理のチェックアウト期間を調整する
事象/ユースケース ドキュメント管理のチェックアウト機能でチェックアウトを行った際に、ロックの制限時間が1日を過ぎれば解除されます。 解決策/提案 以下のプロパティを設定することで、フォルダとファイルのロック時間をそれぞれ調整します。(単位:ミリ秒) # # Locks for document library folders should expire after 1 day. # lock.expiration.time.com.liferay.document.library.kernel.model.DLFolder=86400000 # # Locks for...
LiferayでのSAML設定方法
SSOとは、ユーザーが複数のサイト間で都度パスワード認証をする手間を省くため、サーバやアプリケーション、ネットワークに接続する際のサインオンを一度の手続きで行い、複数アプリケーションやサーバに接続できるようにするる仕組みです。SAMLはSSOの一つです。SAML 2.0とは、ユーザの情報を含むトークンを利用して、SAMLオーソリティー(アイデンティティープロバイダー)とSAML消費者(サービスプロバイダー)とコミュニケーションするXMLプロトコルです。 詳細 1) アイデンティティープロバイダーの作成  目的:1台のLiferayはIdPとして設定と運用...
マーケットプレイスからアプリを入手する
マーケットプレイスからアプリを入手する 詳細 手順 マーケットプレイスにログイン マーケットプレイスで入手したいアプリ(例:Liferay Connected Services Client)のページへアクセス 「無料」又は「購入」をクリック 「この支払い対象のプロジェクトを選択」で任意のプロジェクトを選択 ※無料アプリに請求は発生しません ※適当なプロジェクトが分からない場合は「個人使用のみ」を選択します 「私はエンドユーザ使用許諾契約 と 免責条項を読んで合意しました。」にチェックを入れ「購入」をクリック 「購入済みを見る」をクリック...
プロダクトメニューから任意の項目を外す方法
Liferay DXPのプロダクトメニューにはデフォルトで多くの項目が表示されますが、運用要件によってはすべて表示させる必要はなく、任意の項目を外したくなる場合があるかもしれません。 この記事では、プロダクトメニューから任意の項目を非表示にする方法を説明します。 前提 Liferay DXP SP6のTomcatバンドルを起動している。 Resolution 「自分のアカウント」を非表示にする コントロールパネル > ユーザ > ロールへ移動 User > 権限の定義をクリック ユーザー > アカウント設定を展開 非表示にしたい項目で以下を繰り返す:...
Liferayのログに出力される時間のタイムゾーンを変更する方法
Liferayのログに出力される時間のタイムゾーンを変更する方法 詳細 ※Tomcatのログに出力される時間のタイムゾーンを変更する方法ではありません 設定と確認の手順 アプリケーションサーバが起動している場合、停止する 「$TOMCAT_HOME/webapps/ROOT/WEB-INF/lib/portal-impl.jar」を解凍して、中の「META-INF/portal-log4j.xml」を「$TOMCAT_HOME/webapps/ROOT/WEB-INF/classes/META-INF/」直下にコピーする...
DXPで「ldap.import.create.role.per.group」を使用する方法
DXPでldap.import.create.role.per.groupを使用する方法 Liferay 6.2には、LDAPのグループをインポートした際に同名のロールを自動的に作成するためのプロパティldap.import.create.role.per.groupがあります。DXPではportal-ext.propertiesでの設定はできなくなり、代わりにGUIから設定する必要があります。 GUIからの設定方法は以下の2つがあります。 解決策 インスタンス毎に設定する方法 「コントロールパネル>設定>インスタンス設定」へ移動 「認証」パネルの「LDAP」をクリック...
DXPのAuditログをファイルへ出力する方法
DXPのAuditログをファイルへ出力する方法 詳細 留意点 この設定はDXP 7.0 Fix Pack 12以上で有効です 要件例 Auditログを、データベーステーブルではなくログファイルとして出力する 一日おきにログローテーションする 設定手順 「コントロールパネル>設定>システム設定>基本設定>Logging Message Audit Message Processor」へ移動 「Enabled」にチェックを入れ、任意の「Log message format(CSV / JSON)」を選択し、更新 アプリケーションサーバーを停止...
Liferay DXPのインストール
インストールのため必要な準備が整った際、Liferay DXPのインストールを開始できます。インストールを完了させるにはバンドルが最も簡単な方法なので、下記のインストール手順はすべて、バンドルがインストールされていることを想定しています。   Liferay Home Liferay DXPバンドルには、アプリケーションサーバーとは関係なく、同一のフォルダ構造が含まれています。最上位のフォルダは、Liferay DXPのリリースに対して名前が付けられます。このフォルダの名称は Liferay Home...
Help Centerチケット添付用のパッチレベルファイルを取得する
詳細 パッチレベルファイルはサポートエンジニアがLiferayの稼働環境構成を把握するうえで非常に重要なファイルです。このページではそのパッチレベルファイルの取得手順を説明します。 Resolution 前提 最新のサービスパックの「Bundled with Tomcat」を任意のディレクトリへ展開済みとする 以下、展開済みのライフレイのディレクトリを「<LIFERAY_HOME>」と記する 取得の流れ コマンドラインで<LIFERAY_HOME>/patching-tool/ディレクトリへ移動 ./patching-tool.sh...
Migrating Your Database to PostgreSQL
Introduction Liferay adopted PostgreSQL as the default database for PaaS and SaaS projects in October 2024. Since then, all new Liferay PaaS and SaaS deployments use PostgreSQL. To maintain compatibility and ensure optimal performance, consider migrating your existing databases. This...
How to View Highlighted Changes for Pages in a Publication
Issue When reviewing changes for a page within a Publication, it is not immediately clear how to view the highlighted differences (additions/deletions) in a unified view, similar to the functionality available for Web Content. Environment Liferay DXP 2025.Q1+ Resolution Liferay DXP...
How to Migrate from Advanced File System Store to Google Cloud Storage
Issue When using the Advanced File System Store for the Document Library, what is the correct procedure to migrate to Google Cloud Storage (GCS)? This includes understanding if the migration is a direct process and whether file transfers are manual or automatic. Environment Liferay...
Customizing pagination delta values at instance/site level
Issue The pagination options for search results (e.g., the number of items displayed per page) are controlled globally by the search.container.page.delta.values property in the portal-ext.properties file. Since this configuration affects the whole environment, Is there any alternative or...
Is it possible to disable the '/o/graphql' endpoint?
Issue For custom requirements, it may be necessary to disable the /o/graphql endpoint. Is there an out-of-the-box configuration to disable this endpoint? Environment Liferay DXP 7.3, DXP 7.4 and Quarterly Releases. Resolution There is no out-of-the-box property or configuration to...
Configuring Product Visibility Across Channels with Headless API in Liferay Commerce
Issue Is it possible to manage (assign/ remove) product visibility per channel using the Headless API?  Environment Liferay DXP 2024.Q4 Resolution By default, products are visible across all channels. This visibility can be configured in two ways: either using the Liferay UI or via the...
Chart Taglib is Unavailable in Liferay DXP 2025.Q1 and Later
Issue After upgrading to Liferay DXP 2025.Q1, custom modules that use the Liferay Chart Taglib fail to build or deploy. The build process may fail with an error indicating the chart library cannot be found: Could not resolve all files for configuration...
Public resources under /o/
Issue Why /o/marketplace-app-manager-web/icon.jsp is public by default? Are there any other out of the box resources publicly available by default? Environment Liferay DXP any Resolution The Marketplace module is an out-of-the-box Liferay module.  As long as it remains deployed (e.g. not...
How to Configure Liferay DXP Logs in JSON Format
Issue How can Liferay DXP be configured to generate logs in JSON format instead of the default plain text format? This is often required for integration with modern log aggregation and analysis tools. Environment Liferay DXP Resolution Liferay DXP uses Apache Log4j 2 for its logging...
Translated Object Field Values Not Displaying in Page SEO Meta Tags
Issue When using an Object with translatable fields for a page's SEO settings (e.g., HTML Title and Description), the translated values do not appear in the page's meta tags. For example, when viewing the page in Arabic, the meta tags in the page's source code still display the English...
How to Attach a File from a Form Submission to the Notification Email
Issue When a user uploads a file through a Liferay Legacy Form, the notification email is sent, but the uploaded file is not included as an attachment. Is there a way to include a file uploaded through a Liferay Form as an attachment in the notification email? Environment Liferay DXP...
How to set up a "maintenance" page in a PaaS non-prod environment
Issue I would like to use the maintenance page feature described at https://learn.liferay.com/w/dxp/cloud/support-and-troubleshooting/troubleshooting-tools-and-resources/maintenance-and-downtime and I would like to first try it in my PaaS dev environment. However, in the dev environment...
Seperate SSL for virtual instances
Issue We have multiple SSL certificates and want to use them in virtual instances that run under a different domain from the main instance. Environment DXP 2024.Q3 Resolution If behind a reverse proxy, configure the server.xml in [Liferay_home]/tomcat-[version]/conf/server.xml a simillar...
Creating an assetlink and .well-known in PaaS Environment
Issue How can I add an assetlink and .well-known configuration within my PaaS Environment?  Environment Liferay PaaS  Resolution As a PaaS customer, you have the necessary permissions to add files and directories to your Tomcat service either through the shell (in the Liferay Cloud...
Client extensions for different business needs
Issue How we can leverage client extensions? Environment Liferay DXP Quarterly releases Resolution As of 2024.Q4 Liferay CLI tool and Liferay Themes Toolkit are deprecated. Instead, a new approach is available. Client extensions. More information on the types of client extensions you can...
How to handle Google Fonts locally
Issue For private environments with no access to the internet, we need to handle fonts locally. Environment Liferay DXP Quarterly releases Resolution The recommended way to handle custom fonts (especially in private, offline environments) is by using a CSS Client Extension. This method...
Paginator Elements Are Not Translated to the Site's Language
Issue When using a paginator component on a site, the links to the different pages (e.g., "Page 1", "Page 2") are displayed in English. These labels do not get translated even when the site's language is set to a different language, such as Spanish. Environment Liferay DXP 7.4 2023.Q4+...
How to Add a Custom Element as a Control Panel or Site Administration Widget
Issue Is it possible to add a Custom Element, created via a Client Extension, as a widget in the Control Panel or Site Administration menu? Environment Liferay DXP 2025.Q1 Resolution Yes, it is possible to add custom elements to the Control Panel and Site Administration menus. Instead of...
How to use environment variables for passwords within OSGi config files
Issue For security reasons, we would like to store passwords using environment variables within OSGi .config files. For example, to store the Elasticsearch server's password. Environment 7.3+ Resolution In Liferay versions containing LPS-123057, it is possible to use environment...
JavaScript code in Link to URL page gets executed
Issue When creating a new public page of type "Link to URL" and using JavaScript code as the URL, the code gets executed when accessing the page. Environment Liferay DXP 2025.Q1 and prior Quarterly Releases Resolution This behavior is by design. The JavaScript code in the URL field is...
After Upgrading to 2024.Q1 User Public Pages Return 404 Error if Accessed via PlId
Issue After upgrading from Liferay DXP 7.4 u48 to 2024.Q1, user public pages with guest permissions return a 404 error, except for the page owner. The portal administrator also cannot access these pages. Environment Liferay DXP 7.4 u84+ Resolution As of DXP 7.4 U36 +, the "My profile...
Step-by-Step SAML Integration with Liferay and Keycloak
Issue Is Keycloak supported with Liferay? If yes, how can SAML be configured with Liferay? Environment Lifeary DXP [All versions] Resolution As per Liferay’s official compatibility matrix, Keycloak is not listed as a supported Identity Provider (IdP), as it has not been explicitly tested...
How to Enable Audio for CAPTCHA
Issue How can users enable audio for CAPTCHA verification? Environment Liferay DXP 7.4 and above Resolution Liferay does not provide out-of-the-box (OOTB) support for audio CAPTCHA functionality. However, users can consider the following option: Integrate Google reCAPTCHA : Google...
How to expose large object entries to guest users without manually assigning the permissions
Issue How to expose object entries to guest users without manually assigning permissions to each entry. Assigning permission will work here but if the number of entries in the object is large, it will not be feasible to assign the permission each and every time for each entry....
CVE-2021-29044
Issue We would like to verify if our Liferay instance is vulnerable to CVE-2021-29044 Environment DXP 7.2, DXP 7.3 Resolution Please see if your current patch level is higher than 7.2 FP10, or 7.3 DXP1.  If your current patch level is lower than the above listed, please open a ticket and...
Deploying an EXT module on PaaS
Issue Deploying an EXT extension results in the extension being lost after the environment restarts. Environment Quarterly Releases 2023.Q3.3+. PaaS Resolution The use of EXT modules is discouraged. Please explore alternative extensions before proceeding, if possible. Starting from...
Documents and Images Missing After Restoring Backup to PaaS
Issue After restoring a database and document library backup to a Liferay Cloud PaaS environment, the documents and images are missing. Environment Liferay DXP. Liferay Cloud PaaS Google Cloud Storage (GCS) Resolution Liferay Cloud PaaS environments use Google Cloud Storage (GCS) by...
Re-enabling Basic Authentication when Unable to Access the DXP Control Panel
Issue My Basic Authentication was disabled at the Instance Level, and now I am unable to access the DXP Portal because of it. How do I re-enable Basic Authentication without logging in?   Environment Quarterly Release 2025.Q1.6   Resolution There is a way to re-enable Basic...
Define Configurable Variable to manage values across Liferay sites in Liferay pages
Issue How variables to be used across the site, primarily for Fragments, to assign dynamic values that can be changed and propagated from a single place. Environment Liferay DXP 7.4 U4+ Liferay DXP Quarterly Release Resolution NOTE: The following resolution requires customization and...
Setting up Session Timeout in your Liferay environment with WebLogic
Issue How to set up Session Timeout in your Liferay environment with WebLogic? Environment Liferay DXP 7.3+ Resolution The Session Timeout can be defined in web-app/web.xml file within session-config like the following: <session-config> <session-timeout>30</session-timeout>...
How to grant access to Analytics Cloud members for members of a Liferay internal portal?
Issue Could you please guide me how to grant access to Analytics Cloud for internal members of our Liferay portal? Environment Analytics Cloud Resolution Generally speaking, the new users have to log in to analytics.liferay.com using their Liferay account. If they don’t have any, they...
Multiple Performance Issues Identified via Lighthouse, Google Insights and Web Audit Tools
Issue How do I increase site performance with Lighthouse, Google Insights and Web Audit Tools? Environment Quarterly Releases DXP 7.0 DXP 7.1 DXP 7.2 DXP 7.3 DXP 7.4 Resolution Firstly, please note that Liferay does not have any official commitments with third-party analytics tools such...
Configuring the "Module Definition Timeout"
Issue We needed to programmatically configure the "Module Definition Timeout (seconds)" setting found under System Settings > Infrastructure > JavaScript Loader in the Liferay UI. Specifically, we were looking for a way to set this value using a system property or configuration file,...
Is there a way to customize URLs by Web Content Structures?
Issue We would like to know if there is a way to customize URLs by web content structure for SEO purposes. Currently, friendly URLs for web content use the /w/ separator, which can be customized since 2024.Q2. See Configuring Friendly URL Separators . However, there is a need to further...
Unable to get session state in 7.4 with call that worked in 7.2
Issue When trying to use Liferay.Session to get the session state I get a null value (utilizing specifically javascript and call Liferay.Session.get("sessionState") and the below error. This worked in 7.2, but does not in 7.4.  VM172:1 Uncaught TypeError: Cannot read properties of...
Configuring OAuth2 for Message Board Mailing Lists
Issue Basic authentication for emails is no longer available for Gmail, can we use OAuth2 connection with them? Google Workspace has announced that third-party apps that use only a password to access Google Accounts will no longer be supported, what does that mean for our users?...
How to Connect Documents and Media to a Local File System Using a WebDAV URL
Issue Steps to connect the WebDAV URL with your local machine's file system. Environment DXP 7.4 and above DXP 2023.Q4.0 and above Resolution For Fedora and Linux Machines (Before 2023.Q4.0): Navigate to Documents and Media. Click the ⋮ (Options) icon in the top-right corner > select...
Changing the site logo
Issue How do I change my site's logo in 7.4? Environment 7.4 Resolution Open the Site Menu () and navigate to Site Builder → Pages. Click Options () in the Application Bar and select Configuration. Under Logo, click Change Logo (). Additional Information...
How to map Liferay site roles with Azure AD
Issue How to map Liferay site roles to Azure AD roles when configuring SAML? For example, if there is a role called Content Author under site roles, how to configure this role in Azure AD? Environment Liferay DXP [all versions] Resolution As per the compatibility matrix, Liferay DXP Self...
Documents and Media allows restricted file types in portal-ext.properties
Issue The customer tried to restrict the file types .exe and .cmd to be uploaded in Documents and Media but despite configuring dl.file.extensions and dl.file.extensions.strict.check properties in portal-ext.properties it still allows them to upload files with these extensions.   ...
How to Configure Global Error Pages in Liferay DXP
Issue How can I configure error pages (404, 403, 500) globally for all sites in Liferay DXP? Environment Liferay DXP 7.2+ Resolution While utility pages (including error pages like 404, 403, and 500) are configured at the site level by design, there's a way to apply a global...

Showing 1,021 to 1,080 of 1,394 entries.