1

I am rendering the fields of a content type in my page. The name field is rendered, and is a Microsoft.SharePoint.WebControls.FileField control. I select a file in this field, and I post the page.

How can I get the posted file of the FileField control in order to save it to SharePoint?

1
  • Did you ever find a solution for this question? If yes, could you post it as an answer?
    – Kit Menke
    Jun 10, 2011 at 13:53

1 Answer 1

1

This is essentially the same as the Stack Overflow question Can a Content Type have a site column of type file? The answer is you can't do this:

a content type either represents a file or it doesn't. You can't have a file as metadata to a content type that does not derive from document.

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.