Unable to create a Web Content with size more than 256KB.

Issue

If the web content article size is more than 256 KB. It shows "Please enter content with valid content size no longer than 256KB" on UI.

Web_Content_Error.jpg

Environment

  • Liferay DXP 7.0 - 7.4

Resolution

Please add the below property in portal-ext.properties to create the content with more than 256 KB. By default, the value is set to 256 KB.

    # Set the threshold size to prevent extraneous serialization of uploaded
    # data.
    #
    com.liferay.portal.upload.LiferayFileItem.threshold.size=262144

Please Note: You need to increase the value 262144 i.e. 256 KB, to the value as per your business requirement.

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助