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.

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.

Your Answer

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

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