Dark Star1
Dark Star1

Reputation: 7393

Configuring the uploadConfig for Share

Is there documentation about that explains how to configure the upload config in YUI. I am trying to upload temporarily into a folder in a user's home space so I don't need all siteId that's specified in the examples I have been reading about so far.

I'd like to configure the object with the details I need to pass.

Upvotes: 0

Views: 130

Answers (1)

Dark Star1
Dark Star1

Reputation: 7393

Found what I was looking for in Share Client Side API by accident. Where the upload path can be specified.

     var multiUploadConfig =
     {
        destination : this.options.tempfolder,
        containerId: "consultation",
        filter: [],

        mode: this.fileUpload.MODE_MULTI_UPLOAD,
        thumbnails: "doclib",
        onFileUploadComplete:
        {
           fn: this.onFileUploadComplete,
           scope: this
        }
     };

Upvotes: 1

Related Questions