I want to create public page in alfresco where one feedback kind of form is there and I want to submit that form and data should be saved in alfresco.
How can I achieve this functionality?
Hi
Do you mean public page in Alfresco Share? You can better create a public form (outside) and to use CMIS/Rest API to add content in Alfresco repo. You may use ADF (Alfresco Development Framework) too.
Kind regards.
--C.
This requirement is in share So I cant use ADF.
When you say public page, does that mean anyone can post the feedback form without logging into Alfresco (just like guest user) ?
Yes.
Sanjay Bandhniya We implemented similar functionality in the past. In the implementation we extended the login page and provided a "Contact Us" link.
On click of the link, a html (iframe) form opens and user provides required details and click submit.
We implemented a POST Webscript which authenticates as a "guest" user. The web-script validates the inputs (character limits, XSS Attack and SQL Injection types) and saves the details in a dataList node. If input validation fails it cancels the requests.
We implemented an option on Share Admin Console to display the data list as a table so admins can check the submitted requests and export as a excel/csv.
We had two levels of validations, one on html form itself where we limited the characters user can enter and validate harmful content and second level was on web-script side (as it is accessible by guest user).
You can implement on similar lines if that suits your requirement. Make sure you have necessary validations of user inputs.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.