/o/commerce-media/accounts/-1/images/123491459?download=true
journal-content-friendly-url-fix-hook
説明
When we use Asset publisher to list all the web contents but expect web
content to be opened in a different page in a specific portlet, Liferay
uses the friendly url of that web content to navigate to other page and
show that in Asset publisher.
A problem exists if we use special characters in title of web content, it creates some problem. Problem is that, Liferay replaces most of the special characters while generating unique url for the web content but fails to recognize all. That leads to existence of special characters in title and Liferay fails to show that web content in specific portlet.
This code replaces the special characters from existing title and updates article. This hook must be present before we create a web content.
A problem exists if we use special characters in title of web content, it creates some problem. Problem is that, Liferay replaces most of the special characters while generating unique url for the web content but fails to recognize all. That leads to existence of special characters in title and Liferay fails to show that web content in specific portlet.
This code replaces the special characters from existing title and updates article. This hook must be present before we create a web content.
開発者
Ravi Kumar Gupta
Publisher Date
November 6, 2026
Deployment Method
Liferay PaaS
Liferay Self-Hosted
App Type
DXP
バージョン
1.0
Standard Price
Free
Help and Support
リンクを共有