Hey all.
I'm working on a scaffolding form that would allow a content user to create a Request for Proposal (RFP) document that web users can view. One of the fields required for the scaffolding form is a document upload control so that the Content Author can upload a file (e.g.) a PDF for the web user to download that contains some detailed information.
In my work in trying to figure this out, I've determined that there is a field with an xtype set to "html5fileuploadfield" that will make the field appear in the form...but nothing happens with it other than showing the explorer dialog box after hitting the "Browse..." button.
What other configuration would need to be done (in terms of additional properties and such) in order to get this thing working properly?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
You can write a custom upload control - see this article:
https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
You can write this JS logic in a custom xtype so its available on a component dialog.
The benefit of this is you can use app logic (using the AssetManager API) on the server to process the file and place it exactly where you want it in the JCR.
Views
Replies
Total Likes
You can write a custom upload control - see this article:
https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
You can write this JS logic in a custom xtype so its available on a component dialog.
The benefit of this is you can use app logic (using the AssetManager API) on the server to process the file and place it exactly where you want it in the JCR.
Views
Replies
Total Likes
Also - if you want to know more about this xtype - see:
https://docs.adobe.com/docs/en/cq/5-6/widgets-api/index.html?class=CQ.form.FileUploadField
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies