Modifying upload.aspx on Document Library

I am adding a cascading dropdown using spservices (from codeplex). I need to edit the upload.aspx page to enable the cascading dropdown. I created a new customedit.aspx page but can't figure out how to copy and modify the upload page.

Hi,
You can consider the solution of Russell Gove which can customize the SharePoint Upload Page on only a certain list :
https://yetanothersharepointblog.wordpress.com/2012/09/30/customize-the-sharpoint-upload-page/
http://spcustomupload.codeplex.com/
Also you can have a look at the other solutions as below:
https://social.msdn.microsoft.com/Forums/office/en-US/535e9448-0e1e-4b6f-9c56-cb5b133ebacc/redirect-to-a-customuploadaspx-instead-of-the-layoutsuploadaspx?forum=sharepointcustomizationlegacy
http://byteloom.blogspot.com/2012/01/custom-upload-form-for-document-library.html
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • How to deal with Upload limit of Document Library

    Hi
    We are working on SharePoint Online (Office365). We have a requirement to upload files of 20GB+ size. I have come across a limitation that we can't upload files to document library whose size is more than 2GB. Please provide an clarification on this
    limitation.
    We want our user to upload files up to 20GB. Can we give him an option to upload file using SP Designer. If we can create a folder an user can open site in SPD then they can upload files. Is there any limitation of file size in folder.
    If this is not the feasible option kindly suggest us any other way by which we can fulfill this requirement.
    Regards
    Vikrant Kaushal

    Vikrant,
    Please see the SharePoint Online Boundaries and Limits document
    http://office.microsoft.com/en-gb/office365-sharepoint-online-enterprise-help/sharepoint-online-software-boundaries-and-limits-HA102694293.aspx#_SharePoint_Online_for_2
    The 2Gb file limit is a hard limit that cannot be exceeded in either on-premises or cloud based versions of SharePoint due to a SQL/File system limitation.
    The best bet that you can do is look at using a storage location based in perhaps Azure and then linking to this location from Office 365. Unfortunately you can't use search crawl for none Office 365 locations, so I would think about using a links list to
    surface the large files in SharePoint as a link item, thus making them available to search etc.
    Paul 
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • Some chinese character file name not uploading in SharePoint Document Library?

    Hi
    Some Chinese character pdf file name not uploading in SharePoint Document Library. I am getting following error.
    1. File not found error if i would upload using file browse option in Doc Lib.
    2. Can't read from the source file or disk. if i would tried to copy and paste using "Open with explorer" options.
    File name is "LA(未签署).pdf"
    Note: This file has been converted from "TIFF" to "PDF".
    Thanks & Regards
    Poomani Sankaran

    Hi Poomani,
    For troubleshooting your issue, please let's verify the followings:
    Whether other pdf file which are not converted from "TIFF" and contain Chinese char could be uploaded into the SharePoint Document library.
    Whether other pdf file which are converted from "TIFF" and don't contain Chinese char could be uploaded into the SharePoint Document library.
    Please upload these pdf files into other libraries, compare the result.
    Please check the log file to find more information about this issue. The path of the log file is:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • What is the size and number of documents we can upload to a document library at one time

    HI
    what is the size and number of documents we can upload to a document library at one time.
    like we have scenario , we developed a custom solution to scan and upload documents to sharepoint sites doc library.
    here we face issues when user try to upload 100 documents with the size of each doc 2-3 MB, at one time.
    adil

    Hi Adil,
    The maximum number and size of documents to upload in a document library is determined by a setting in Central administration. You can go to Central administration -> Application Management -> Manage Web Applications -> Select the Web Application
    -> Click on General Settings in the ribbon. Scroll down and you will see "Maximum Upload Size" section. The maximum value that can be set is 2047 MB. 
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Batch uploading to a document library with content types

    Hi,
    I have a document library with two content types. Now I need to upload documents to this document library. However, if I have large number of files, then uploading through web UI is a pain as metadata will not be attached. How should I automate it  from
    my computer using powershell without relying on Administrator to run the powershell script. Or is there any other way to do it without using powershell? or  can powershell be run remotely from an end user computer?
    Note I am using SharePoint 2010.

    Hi,
    According to your post, my understanding is that you want to butch upload files to document library with content types.
    There are two good tools in CodePlex which can batch upload files with content types, you can have a look at them.
    DocMetaMan : Bulk document Upload and MetaData (Taxonomy) Setter
    SharePoint Multiple File Upload Script
    There are some third-party tools which can achieve the same scenario, you can refer to it.
    http://sharepoint.stackexchange.com/questions/74694/uploading-multiple-files-with-metadata
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • WORD document becomes blank or corrupted after being uploaded to a Document Library programmatically?

    Hi everyone,
    I uploaded a WORD document to a Document Library with this code:
    using (SPSite currentSite = new SPSite(SPContext.Current.Site.ID))
    using (SPWeb currentWeb = currentSite.OpenWeb("Departments"))
    currentWeb.AllowUnsafeUpdates = true;
    SPList myList = currentWeb.Lists["Commercial Agreements"];
    SPDocumentLibrary myLibrary = (SPDocumentLibrary)myList;
    SPFolder myFolder = myLibrary.RootFolder.SubFolders["aFolderName"];
    using (Stream fStream = FileUpload1.PostedFile.InputStream)
    byte[] _bytes = new byte[fStream.Length];
    SPFile myFile = myFolder.Files.Add(FileUpload1.FileName, _bytes, true);
    The document gets uploaded into the correct folder in the Document Library, however when I open it from SharePoint it is just a blank document. And sometimes it is corrupted and cannot be opened.
    If I upload a PDF using this code, the pdf cannot be opened. It says the file is corrupted.
    Any ideas?
    Thank you very much for your help in advance.
    Lin

    Hello,
    I just written sample code, please try this: (Note: This code is not tested so you might need to modify it)
    Stream fStream = FileUpload1.PostedFile.InputStream;
    byte[] _byteArray = new byte[fStream.Length];
    fStream.Read(_byteArray, 0, (int)fStream.Length);
    fStream.Close();
    string _fileUrl = myFolder.Url + "/" + FileUpload1.PostedFile.FileName;
    SPFile file = myFolder.Files.Add(_fileUrl, _byteArray, true);
    http://www.c-sharpcorner.com/blogs/4250/programatically-add-file-in-folder-in-sharepoint-document-li.aspx
    http://sharepointwings.blogspot.sg/2013/08/programmatically-addupload-file-to.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Writing modified date of a document library item through CSOM.

    I´m working on an application which is replicating files from one document library to another. Since it is a replication, I want the modified date to be preserved when I copy the file from the source library to the target, so that the user will see the real
    modified date in the target library and not the date of the replication run.
    I access SharePoint through the client side object model and I have been able to set the modified date on a SharePoint 2010 on-premise using the following straght-forward code:
    var listItem = list.GetItemById(id);
    context.Load(listItem);
    context.ExecuteQuery();
    listItem["Modified"] = "03/11/1999";
    listItem.Update();
    context.ExecuteQuery();
    Unfortunately when I execute the same code on any other SharePoint (2013 On-Premise, 2013 Online or 2010 Online) the code will execute without any errors, but the modified date will not be changed at all.
    My actual question is: Is there any possibility to change the modified date throught CSOM on all of these SharePoint-versions?

    I got a work around for this problem..
    Before updating the Modified, Modified By values, First we need to Disable the version settings for document library. Once the fields updated then again we need to enable the version settings. 
    find the updated code below..
                                          //Disable Version settings for DOC LIB
    before update Metadata
                                            _List.EnableVersioning
    = false;
                                            _List.Update();
                                            _cContext.ExecuteQuery();
                                           ListItem item = newFile.ListItemAllFields;
                                           _cContext.Load(item);
                                            //Updating Metadata Created,
    CreatedBy, Modified, Modified By
                                             item["Created"]
    = "8/10/2013 7:04 PM";
                                             item["Author"] = CreatedUserValue;
                                             item["Modified"] = "8/10/2013 7:04 PM";
                                             item["Editor"] = ModifiedUserValue;
                                             item.Update();
                                            _cContext.ExecuteQuery();
                                            //Enable Version settings
    for DOC LIB after update Metadata
                                               _List.EnableVersioning
    = true;
                                              _List.Update();
                                            _cContext.ExecuteQuery();
    Rajendra

  • How external users can upload files in document library hosted in onpremise SharePoint?

    Hi all,
    We have setup a document library(DL) in SharePoint site hosed on-premise with no direct access from public zone/internet being an intranet solution. We have some external users who need to upload some files that needs to go in this document
    library. These files are quite confidential in nature so security is a prime requirement. Following are the couple of options I have in mind:
    1. External users upload their file in their designated folder to secure FTP using their own credential set. And also there is a background process (kind of directory watcher) that keep looking at the all the folders
    and moves the files to document library
    2. We host a single page application which has One time password (OTP) kind of feature. External user comes to the secure site to specify Vendor team name and mobile number. OTP is generated and user is asked to specify the password along with file
    they would like to upload. This page also maps the vendor name with respective folder in DL and moves the files to SharePoint there on the fly.
    Pls. share your opinion about these approaches. Also welcome your thoughts if there is any other better option.
    Thanks.

    Hi,
    I agree with the Margriet, the first option is simple and safe, the users could not access the document library directly.
    For security, it is an importance for users not access the document library directly, it will reduce the risk of the documents in the library.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Create an excel and upload it in document library through c#

     Hi everyone,
       I have one requirement in my organization . pickup data from multiple lists from sharepoint silte and convert it as an excel spredsheet and save it to the document library in c# progamming
     Can any one help me 
    Thanks 
    Nag

    Hi Nag,
    Per my understanding, you might want to gather data from multiple lists, generate an Excel file and save to a Document Library using C#.
    There will be several steps in this scenario: get data from SharePoint List using SharePoint Object Model, create an Excel file and save to a Document Library, then
    access this Excel file with the help of Excel Web Services.
    About the retrieving data from a SharePoint list, we can use SharePoint Object Model:
    SharePoint Object Model - SPListItem class
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.aspx
    Add, Update and Delete List Items Programmatically in SharePoint
    http://www.mindfiresolutions.com/Add-Update-and-Delete-List-Items-Programmatically-in-Sharepoint-372.php
    About how to create document in a SharePoint library programmatically:
    https://nickgrattan.wordpress.com/2008/12/08/code-for-creating-new-documents-based-on-a-content-type-and-template/
    About how to work with Excel web Services: 
    https://msdn.microsoft.com/en-us/library/office/ms572330(v=office.15).aspx
    https://msdn.microsoft.com/en-us/library/office/ff640648(v=office.14).aspx
    Best regards
    Patrick Liang
    TechNet Community Support

  • Long file name document is not uploading in SharePoint Document library?

    Hi,
    My pdf file name length is more than "90" character. I could not upload this file by using "Open with explorer" option.
    Could any one tell me the way to upload kind of files?
    Thanks & Regards
    Poomani Sankaran

    There is a limitation set by Microsoft on the URL path length of 256 characters, refer - https://technet.microsoft.com/en-in/library/ff919564(v=office.14).aspx
    This restriction is with IE browser and you will not see this in other browsers.

  • Adding hyperlink in Infopath custom list which opens pdf document available in document library

    Hi,
    I have a custom list(modified in InfoPath 2010) and a document library having 2 pdf documents.
    In the Custom list, i have used the attachment option for another field.
    How to create a link in the InfoPath list, which when clicked opens the corresponding pdf from the document library?
    How to achieve this?
    Thank you

    Hi Venkatzeus,
    From your description, you have a list and attachments for the list are uploaded to a document library. To display the hyperlink in InfoPath form, you can directly use 2 Hyperlink controls. And give the document' URL in this control using formula.
    I’m not sure how you upload the list item attachments to another document library. But make sure you have made a connection between the list item and attachments in document library. Here is an example.
    ListTitle         ID
    Item1     1
    Item2     2
    Pass the ID to the document library when we create the attachment.
    Document Name             ItemID
    attachment1 for item1    1
    attachment2 for item1    1
    attachment3 for item2    2
    attachment4 for item1    1
    attachment5 for item2    2
    So here, we can see attachment1, attachment2, attachment4 are item1’s attachments and attachment3, attachment5 are item2’s attachments, because of ItemID.
    1. Create a new column for document library, named it DocumentURL.
    2. Create a workflow and set to start when new item is created automatically with following action.
    Set DocumentURL = http://server/topsite[%Current Item:URL Path%].
    3. Custom list form.
        1) Add a data connection to receiver data from document library.
        2) Insert document library connection as repeating section.
        3) Add a hyperlink control within the repeating section (Insert > Hyperlink).
        4) Select DocumentURL as the data source for Link To and Display options.
    4. Add a formatting rule to the repeating section control.
    If ItemID in document data connection is not equal to ID in Main data connection, then hide this control.
    5. Done.
    Let me know if you have any question.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • In a document library : group by view and manage metadata filter & Navigation problem

    Hi all, I encounter a problem when configuring a document library using a group by view and in combination with the Managed Metadata filtering and
    navigation :
    - all the documents appear under my group by, even the ones that does not correspond
    - In the other hand, the number in brackets shows the correct number of documents that should be shown
    See screenshot below. 
    Did you already encounter that issue ? Is there a workaround ?

    Hi,
    According to your post, my understanding is that you wanted to use a group by view and combine with the Managed Metadata filtering and navigation in a document library
    to show the corresponding documents with the correct numbers in SharePoint 2013.
    In my SharePoint 2013, I created a view which was group by two columns and combine with the Metadata Navigation Hierarchies and Key Filters some fields in a document
    library. As a result, it showed only items matching the filter values.
    So, I recommend that you can follow the steps to implement it in your environment.
    Step1: Enable Metadata Navigation and Filtering:
    Metadata Navigation and Filtering is a Site Feature that has to be activated for this to work.
    And, the Metadata Navigation and Filtering feature is enabled by default on most sites.
    If it is not enabled for your site, you can enable it on the Site Features pages for your site.
    You must be a Site Owner or a Site Collection Administrator to enable Metadata Navigation and Filtering.
    1. Go to “Site Settings” and click “Manage site features” under Site Actions.
    2. Find “Metadata Navigation and Filtering” in the Features list and click “Activate”.
    Step2:
    Configure Metadata Navigation:
    You must have a least the Manage Lists permission level to configure metadata navigation for a list or library.
    1. Open the document library for which you want to configure metadata navigation.
    2. Go to “Library Settings” of the document library and click “Metadata navigation settings” under “General Settings”.
    3. In the Configure Navigation Hierarchies section, select the field or fields you want to display in the navigation hierarchy and then click “Add”.
    4. By default, Folders are automatically displayed in the navigation hierarchy. If you do not want folders to display, select Folders, and then click Remove.
    5. In the Configure Key Filters section, select the fields you want to add as Key Filters, and then click “Add”.
    6. In the Configure automatic column indexing for this list, specify whether you want to automatically create indices on this list to increase the performance of the
    queries that users will perform when they use the Navigation Hierarchy and Key Filter columns you've specified. It is recommended that you select the option “Automatically manage column indices on this list”.
    7. Click “OK”.
    Step3: Set a group by two columns by modifying view in the document library:
    1. Go to the “LIBRARY” ribbon of the document library and click the “Modify view”.
    2. Click the “Group By” and select up to two columns to determine what type of group and subgroup the items in the view will be displayed in.
    3. Click “OK”.
    Step4:
    Go back to the document library, apply Navigation Hierarchies and Key Filters to do a test in your environment.
    The result will like as below:
    There is an article about how to apply Metadata Navigation Filtering in SharePoint 2013 for your reference.
    http://blogs.interfacett.com/how-to-apply-metadata-navigation-filtering-in-sharepoint-2013
    Best Regards,
    Linda Li
    TechNet Community Support

  • How do I change the name property of a file in a document library?

    I am trying to come up with an Event Receiver that will change the name property of an file when it is uploaded. For instance when a file is uploaded into a document Library, currently the Title is being generated (which is fine)...I want to be able to
    change the "Name" property from whatever it is, to match exactly what is in the "Title" property. Are there any sample codes/blogs out there that I can take a look at? Has anyone  had any experience doing this? It seems like something
    that should be straight forward, to change the "Name" property to match what is in the "Tilte" property.

    Hi,     
    You can try the code below which use the SPFile.MoveTo() function to change the name of the file.
    EventFiringEnabled = false;
    SPFile f = properties.ListItem.File;
    string spfileExt = new FileInfo(f.Name).Extension;
    f.MoveTo(properties.ListItem.ParentList.RootFolder.Url +
    "/" + properties.ListItem["Title"]+ "_new" + spfileExt);
    f.Update();
    EventFiringEnabled = true;
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/5cafb8e4-bb85-4147-9bda-4ab42a4d4817/sharepoint-2013-event-receiver-to-rename-files-not-working?forum=sharepointdevelopment
    A link about rename uploaded file using Event Receiver for your reference:
    http://paulgalvinsoldblog.wordpress.com/2008/01/25/quick-easy-rename-uploaded-file-using-sharepoint-object-model-via-an-event-receiver/
    Best regards
    Patrick Liang
    TechNet Community Support

  • Copy document step doesn't copy a column of a document library

    I have created a site workflow to run when a document is uploaded to a specific document library(A).
    In the workflow it copies the document which is uploaded to another document library. Destination document library is decided by a column in the "A" document library named as 'Category'.
    Depending on the category the document is copied to one of the other document libraries.There are 8 other document libraries.
    "A" document library has 7 columns created by me. Other document libraries have the exact set of columns(In  there exact same names) and one more extra column.
    Workflow works perfectly fine and it copies the document. But only one column doesn't get copied to the destination libraries.
    This particular column is a "multiple line" type and the number of lines are 4.
    These settings including the column name,type,number of lines all are similar to the source document library.
    Now the strangest thing is this only happens for 6 out of those 8 destination doc libraries. For two of the document libraries all the columns gets copied.(Those two are highlighted in the image)
    I cross referenced almost all the document library settings with the working and not working destination document libraries and couldn't find any difference.
    What could have gone wrong? 
    How does the SharePoint match the columns between document libraries when copying a document ? Is it only the column name or is there any other id its using?
    Is there any other way to do debug kind of a thing in a workflow to find out the problem?

    Hi Diren,
    I tested the issue in my environment with SharePoint workflow 2013. I created two libraries, then created a multi-line text column with the same name for both of them respectively. The simple workflow is designed as below:
    And it worked for multi-line text column. It turns out the multi-line text column during the copying to another library. All we have to ensure is the column name is the same. However, when creating column, I didn’t change the default settings unless the
    Number of lines for editing was set to 4 for your situation.
    As the issue occurs to part of libraries, I’d suggest re-adding an multi-line column with same name in the source library and other 7 libraries, and leave them with default settings. Then test the issue again, this helps us to eliminate the possible cause
    with different settings.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Sharepoint 2013 Document library view show version history

    Hello everyone,
    I have a document library view with many folders. Each folder is a procedure and have document attached to it.
    When I add a new version, I would like to show version history for each document contained in the folder. For example:
    There is a folder Procedure 123 which has three files ( File1, File2, and File3). After a week the user the user created new revisions for each document.
    I would like to have a document view with the following information
    File Name   version
    ======  ======
    File 01         0
    File 02         0
    File 03         0
    File 01         1
    File 02         1
    File 03         1
    File 01         2
    File 02         2
    File 03         2
    Thanks for your help.
    Jhonny Marcelo

    This is quite simple, you have to modify the current view (Modify this view) of document library and then you can select version column from available column list (make sure version is enabled). please check below picture for detail.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

Maybe you are looking for

  • Problem while installing the orion application server

    Hi Thanks for help in advance. I downloaded orion application server 1.5.3 .I followed the installation guide to install the server.When i typed java -jar orion.jar -install in command prompt ,i got following error . A nonfatal internal JIT (3.10.107

  • Check purchase requisition accounting before to send it to SRM using BAPI

    Dear Sirs, in our system when a PREQ has been transferred to SRM with BBP_EXTREQ_TRANSFER the system cheks he pur.requisition and in case of accounting errors the only source of messages is the application log in SRM We would build a custom preventiv

  • What 2.5" SSDs are compatible with ThinkPads?

    I just purchased a Crucial M500 240GB SSD to upgrade my T420 and after installation and reboot I get the dreaded "2100: Detection error on HDD0 (Main HDD)" error.   After Googling it seems that this is a common problem with ThinkPads and various SSD'

  • How expensive is Oracle Reports?

    With such a simple configuration: 10-20 different Reports, running in the background (generating PDF in the file system, which will be accessed by an apache web-server) - Generating perhaps 50-100 Reports a Day. What Do I have to license? Could anybo

  • Users seeing old versions of site until refreshing and/or clearing cache

    I assist with a website that has regular (sometimes subtle) daily updates.  Lately a few users have complained that upon visiting the site, their browsers (IE & Firefox) have been loading a previously cached version of the site without the current up