Expand my Community achievements bar.

SOLVED

CSV File upload using granite UI

Avatar

Level 2

Hi,

    I am trying to upload file using granite UI. I am able to keep browse field to browse file but it's not uploading file to the back end services. I mean file fields is not exists in post params. Can any one help please.

 

regards

Rajesh Karka

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi Rajesh,

By Granite UI, do you mean by Touch UI. Are you using granite/ui/components/foundation/form/fileupload component?

If so, then you need to provide the uploadUrlBuilder. Please have a look at /libs/dam/gui/content/assets/jcr:content/assetscontent/items/actionbarcontainer/items/default/items/fileupload/uploadUrlBuilder

Thanks,
Ravi

View solution in original post

2 Replies

Avatar

Correct answer by
Level 1

Hi Rajesh,

By Granite UI, do you mean by Touch UI. Are you using granite/ui/components/foundation/form/fileupload component?

If so, then you need to provide the uploadUrlBuilder. Please have a look at /libs/dam/gui/content/assets/jcr:content/assetscontent/items/actionbarcontainer/items/default/items/fileupload/uploadUrlBuilder

Thanks,
Ravi