Tag Info

Hot answers tagged

12

Here are the requirements for 'upload multiple files' The 32 bit version of Internet Explorer. The 64 bit version does not support it and neither do other, non IE, browsers. The STSUpld.UploadCtl IE add-in must be enabled. Office 2003 or newer on the client Client integration will need to be enabled for the web app. For details see this post.


6

Uploading Documents requires Active X Control so I would recommend you to use Internet Explorer with Active X control installed. The Active X control used for the multi document upload does not exist in a 64-bit version. The 64-bit Office version also does not include the 32-bit version of the active x controls. That's why it is recommend to use the 32-bit ...


5

(This answer assumes you're asking how to implement a solution like which you're asking): Best way to do this I think is to create a new Content Type which inherits from Page, and includes a PublishingImage column, and maybe some other columns for the details. Make the various columns for the details Optional or Required as needed. When people create their ...


5

I had the same need and built my own jQuery widget... you can read more about it here: http://paultavares.wordpress.com/2012/04/28/sharepoint-ui-widgets-upload-and-pickusers/ The zip file has a self-contained demo that demonstrate the use of the upload plugin. Make sure you have all the prerequisites in place. Hope you find a good use for it. Paul.


4

One method I've used to customize the upload page is to take a copy of upload.aspx and rename it to something like upload2.aspx. Keep it in the /layouts folder (or subfolder of) since it won't like being anywhere else. Once you have the copy, you can make your modifications as you like. The last step is to tell the upload menu items on the document library ...


4

I've been asked to do this, too, and there's no really good answer that I've come up with. If you hack the _layouts/upload.aspx page, it'll take effect throughout the Site Collection(s) on that WFE. (And you will no longer be in a "supported state", and an upgrade will clobber it, and hair will grow out of your palms.) You can, however, create a customized ...


4

You can cheat using Webdav : Copy-Item 'yourTemplate.stp' '\\yourspwebapp\DavWWWRoot\sites\yoursitecoll\_catalogs\lt' [edit] according your comment, here is a way to find the correct url. Navigate using the browser to the list template catalog list. The link should look like : http://yourwebapp/sites/yoursitecoll/_catalogs/lt as it is a document ...


4

Not sure about other examples but this one works for me (using application page) Application page markup contains: <input type="file" id="InputFile" runat="server" class="ms-fileinput" /> Code behind (eg. on button click): var fStream = InputFile.PostedFile.InputStream; var fileName = InputFile.PostedFile.FileName; var contents = new ...


4

I don't believe that you can as you mentioned, the file name change constitutes a new file and a new version history. You could always check out the 2003 version and upon checking it back in, state the file has been converted to a new format and the history ends. MyDoc.doc and MyDoc.docx are different files even though they may be the same content so ...


4

In my experience if you update the quota template it does not get applied to the sites that already use it. Through Central Administration apply another quota template to the site then reapply the previous one. If you have 100s or 1000s of sites to update you can use the following PowerShell. Hence, If you want to update the same template just set ...


3

Have a look at this recent question 'What are the client side requirements to enable the “upload multiple files” link?' You can also upload multiple files using WebDav (Explorer View). Office is not required for that. See this question for requirements.


3

Just a side note. <httpRuntime maxRequestLength="" /> does not work for IIS 7. It has a new setting under system.webServer. See this blog for a reference: http://weblogs.asp.net/jeffwids/archive/2009/09/24/from-iis6-maxrequestlength-to-iis7-maxallowedcontentlengthfile-specifying-maximum-file-upload-size.aspx


3

We have a web application dedicated for serving up files and this is what I can tell you from my experience. The design of the web app is to house executables, license codes, and installation guides, so pretty similar to your requirements. The executables can range from 4MB to 1.5 GB with guides in the 200k range. Under normal load, there aren't too many ...


3

If it's only occurring on your workstation then that's good...that eliminates a few potential problems. I'll start with most likely causes and go from there: 1) IE is not configured to allow ActiveX...Tools > Internet options > Security. Would add your SP site to the Local Intranet or Trusted Sites Zone for starters if it's not there already. After that ...


3

I found a solution: http://spgeekchick.com/2011/02/13/sharepoint-2007-and-windows-7-cant-open-files-in-explorer-view-no-option-to-upload-multiple-documents-2/ My machine is 64-bit and this problem presents itself with the 64-bit version of IE9. When using the 32-bit version, the multiple document upload option is present. ...


3

SPFileCollection.Add operates with a Stream object. It is not obligatory a FileStream object. It could be a MemoryStream as well. And definitely, you can pass an XDocument object to a memory stream (through XmlWriter). So, you will need something like the following code fragment: public void UploadXDocumentToDocLib( XDocument document, ...


3

Here's the answer: http://technet.microsoft.com/en-us/library/cc262496.aspx In Central Administration, click Security. On the Security page, in the General Security section, click Define blocked file types. On the Blocked File Types page, if you want to change the selected Web application, on the Web Application menu, click Change Web Application. Use the ...


3

The order of the events if pretty clear (ItemAdding – ItemAdded – ItemUpdating – ItemUpdated, and others e.g. when you delete, emailReceived, WorkflowStarted, etc.), but how many there are triggered could differ depending on the application (e.g. WebUI, Word document Save as, and more important - custom implementations!). E.g. while working on properties ...


3

It depends! SharePoint can easily handle that amount of data and that amount of files. But there is no "magic recipie" that you just apply to SharePoint and then upload all that data. You need to think of how these documents are going to be used (read/write scenarios), you should organize them in Site Collections and sites (and with that split out ...


3

There are custom events for incoming emails, have you looked for "Email events"? If you add such Event Receiver you might have to handle the item correctly as well, or else it will not be inserted properly. Like this: public class OnEmail : SPEmailEventReceiver { public override void EmailReceived(SPList list, SPEmailMessage emailMessage, String ...


2

Uploading 500GB of data into a 250GB database is going to be problematic for obvious reasons. There are a number of third party utilities available to do this, but the most affordable way is to go to a Document Library and choose to open it in Windows Explorer. I would then recommend to move (not copy) files in batches to SharePoint for the following ...


2

You can hook into different event receivers that are triggered by item/document creation, updating and deletion. These events fire before (synchronously) and after (asynchronously) the document is created, eg. ItemUpdating, ItemUpdated. Be aware that adding documents will trigger both creation and update events, depending on checkin policies, and since ...


2

You would need to write something like a web part in Visual Studio. Here are some reasons why: Uploading more than one file at once isn't available out-of-the-box. You'd need to use multiple FileUpload controls, and therefore implement your own custom form. Setting a URL column to an arbitrary value can't happen automatically. As you'd already need a ...


2

As an addendum to Abe Miessler's answer, I have a slightly modified version. You only need to call _context.ExecuteQuery() once and I define the ListItem fields to return after the item.Update(); _context.ExecuteQuery() statements. public ListItem UploadDocument(String fileName, String filePath, Dictionary<string, object> metaDataList) { ...


2

Can you use Microsoft.SharePoint.Client.File instead of just FileInformation? If so try the method below: public Boolean UploadDocument(String fileName, String filePath, List metaDataList) { SP.ClientContext ctx = new SP.ClientContext(“http://yoursharepointURL”); Web web = ctx.Web; FileCreationInformation newFile = new ...


2

I assume you really do mean SharePoint 2003 and not 2007? In 2007, there's some script which runs on click of the multiple item upload link. It sounds to me like that script isn't firing. I'd try a little debugging in the browser with IE's Developer Tools or in Firefox with Firebug to see if there is indeed a script problem. If there is, it may be caused by ...


2

Powershell is indeed a great way to bulk rename the files. Site which gives step-by-step instructions on how this can be done: http://www.petestilgoe.com/2011/05/sharepoint-removing-illegal-characters-from-filenames-prior-to-bulk-uploading/


2

WebDav might work for others, but I found a way to do it using the SharePoint object model. (I used the folders indicated by Steve B--thanks.) $site = get-spsite "http://myteam.lab/sites/team" $web = $site.OpenWeb() $spFolder = $web.getfolder("List Template Gallery") $spfilecollection = $spfolder.files $file = get-item c:\temp\MyTemplate.stp ...



Only top voted, non community-wiki answers of a minimum length are eligible