File upload feature for guest users in Liferay Forms
Written By
Viktória Gyömbér
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
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- We have a requirement to create a Liferay form having a document upload feature for guest users. Currently, in Liferay 7.1 uploading documents is not available for guest users.
Resolution
-
The file upload feature for guest users in Liferay Forms has been implemented in Liferay DXP 7.3 Fix Pack 1 and Liferay DXP 7.4 only. Previous versions, unfortunately, don't have this capability, and it is not something that can be achieved with a workaround, only through customizing Liferay. This article also confirms this information:
Guest User can't upload files in Forms
There were discussions in the past about backporting this functionality but there were a lot of concerns and considerations around this feature's design which led to the decision not to backport it to the older versions because it is not a safe modification.
Did this article resolve your issue ?