1

I am working on a solution where I need to upload a document to a document library, as well as input the item information.

I would like to do this from a single form, as opposed to the Out-of-the-box two step form process, when adding documents to a document-library.

Can any of you suggest a way to achieve this?

Thanks in advance.

1 Answer 1

0

There could be multiple ways to achieve it:

  1. third-party controls
  2. Silverlight control which uses OM - see here an example http://priteshdave.wordpress.com/2010/08/09/multiple-upload-with-metadata/
  3. ECMA Script to upload and set metadata (for upload see http://msdn.microsoft.com/en-us/library/ms456628.aspx and for metadata see http://www.c-sharpcorner.com/blogs/7413/ecma-script-to-update-sharepoint-2010-list-item.aspx)
3
  • Second solution may well be a good solution but no source code is available. Jun 10, 2012 at 17:10
  • @Falak: I'm generally looking for sparring on the idea. Not so much how to code it. Since I am still a rookie, my biggest problem is actually being able to "think correctly" about how to approach a solution. I think the Silverlight approach is also the best choice in my situation - alas, I have no experience with Silverlight as of yet. But I guess I am about to get that now ;-)
    – user3801
    Jun 10, 2012 at 18:07
  • @Falak: Have a look here for some more in-depth info on uploading to a doc.lib. with Silverlight: stackoverflow.com/questions/2419951/…
    – user3801
    Jun 10, 2012 at 18:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.