問題
- ブログ作成時、タグやカテゴリーが表示されない。
-
再現するための手順
1. Site -> Categorization -> Tags
2.左サイドメニューに移動します。 2~3個のタグとカテゴリーを作成する
3.portal-ext.properties
ファイルに以下のプロパティを配置します。jsonws.web.service.paths.includes= {urls_as_per_user's_requirement}
4. Liferay サーバーを再起動します。
jsonws.servlet.hosts.allowed=127.0.0.1
jsonws.web.service.api.discoverable=false
jsonws.web.service.strict.http.method=false
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