Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a Sharepoint 2007 process where the user uploads an image to a Picture Library and then uploads a PDF to a Document Library. The Document Library list contains a hyperlink column where the user can specify the URL of the corresponding image in the Picture Library.

What I want to do, however, is have one form where the user can upload both the image and PDF and have Sharepoint populate the hyperlink field automatically. Is it possible to create something like that as a custom content type, so the user can select it from the New menu? Can I do something like this in SP Designer, or do I need to use Visual Studio?

Any example code would be helpful as well.

share|improve this question
add comment

1 Answer 1

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 custom form, you can specify the logic within that code.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.