Issue With Core FileUpload resourceType | Community
Skip to main content
Level 3
October 2, 2018

Issue With Core FileUpload resourceType

  • October 2, 2018
  • 1 reply
  • 3410 views

Hi Team,

In our Projects, We are using core file upload resourecType(cq/gui/components/authoring/dialog/fileupload), in component dialogs to Allow Authors to Drag Drop Images. Below are the properties we using in dialog for this field. When we Darg Drop Image into these Fields and submit the Dialog, it is always showing error "Please Fill out this field". Any Pointers/Help to resolve this issue is really appreciated. We are using AEM 6.3.2.2

                              <heroImage

                                        jcr:primaryType="nt:unstructured"

                                        sling:resourceType="cq/gui/components/authoring/dialog/fileupload"

                                        allowUpload="{Boolean}false"

                                        autoStart="{Boolean}false"

                                        class="cq-droptarget"

                                        fieldDescription="Choose Hero Image"

                                        fieldLabel="Hero Image"

                                        fileReferenceParameter="./heroImage"

                                        mimeTypes="[image]"

                                        multiple="{Boolean}false"

                                        name="./heroImages"

                                       required="{Boolean}true"

                                        uploadUrl="${suffix.path}"

                                        useHTML5="{Boolean}true"/>

Thanks

K Chaitanya

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
Community Advisor
October 2, 2018

Hi,

Can you try with Coral2 and Coral3/Granite types?

Coral3

FileUpload — Granite UI 1.0 documentation

Coral2

FileUpload — Granite UI 1.0 documentation

Arun Patidar
Level 3
October 2, 2018

Hi Arun

It is working with Coral2 Or Coral 3. But UI of these fields are not Good.

In All our components(Around 70) we used core file upload resourecType. Earlier it was this issue is not there. Recently it started occurring. Also, this issue not occurring across all environments(Dev,QA,UAT,Prod). Only in Dev and Prod it is occurring.  QA and UAT are fine. We are unable to find what is wrong with Dev and Prod.

Thanks

arunpatidar
Community Advisor
Community Advisor
October 2, 2018

Ahh ok, If you identify the root cause, then you can try to overlay file upload in /apps/ and code fix the issue in /apps/.

and raise ticket with daycare also.

Arun Patidar