legacy-knowledge-base
公開されました Jun. 30, 2025

ブログ」のカテゴライズが機能していない

written-by

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ブログ作成時、タグやカテゴリーが表示されない。
  • 再現するための手順
    1. Site -> Categorization -> Tags
    2.左サイドメニューに移動します。 2~3個のタグとカテゴリーを作成する
    3. portal-ext.properties ファイルに以下のプロパティを配置します。
    jsonws.web.service.paths.includes= {urls_as_per_user's_requirement}
    jsonws.servlet.hosts.allowed=127.0.0.1
    jsonws.web.service.api.discoverable=false
    jsonws.web.service.strict.http.method=false
    4. Liferay サーバーを再起動します。
    5. ブログ」に移動し、「新しいブログを追加する」
    「Observed Behavior」をクリックします: カテゴリ分類のための「タグとカテゴリ選択」オプションが表示されない。

Environment

  • Liferay DXP 7.3

解決策

  • 'jsonws.web.service.paths.includes' が以下のURLを含まない場合、JSONウェブサービスを消費するポートレットをブロックするので、観測された動作はDXPの期待する動作です、
    /assetcategory/searcURLstegories-display
    /assettag/get-groups-tags
    /assetvocabulary/get-groups-vocabularies
    /assetvocabulary/get-vocabularies
    /assetcategory/search
    /assettag/search

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base