Various types of uploads (II)

Source: Internet
Author: User

During the upload process, we may encounter batch upload. We will think of the batch upload that comes with the document library. It is very convenient to drag and drop the file directly to the specified area.

 

Then we can study this page. After testing, we need the following:Code:

Note that the following input tags cannot be missing. The referenced object will be installed with the Office.

I tried to assign a value to posturl multiple times, hoping to post the data, but it cannot be implemented. (However, you must specify posturl: http: // siteurl/_ vti_bin/shtml. dll/documents/Forms/upload. aspx in the office2007 and office2003 environments)

Confirmation-URL: the URL that is executed after the upload is complete. Generally, http: // siteurl/_ layouts/inplview. aspx? Cmd = closepopui

The key point is the label with the ID of destination. Here, the uploaded document library is filled. Of course, if there is a folder, the path will change to:/documents/ft.

We can use the client object model to dynamically generate a folder and assign a value to destination. Because it cannot return values like the RTX page, we also need to obtain the values through Js, this can be customized and used by yourself.

The following figure shows the interface effect:

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.