Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

File Attachment in Content Type

  Asked By: Adriane    Date: Feb 01    Category: Sharepoint    Views: 4731

I have a custom content type that uses Document as its
base content type. Is there any way to add a field to
my content type that works like a file attachment?

Share: 

 

5 Answers Found

 
Answer #1    Answered By: Candi Branch     Answered On: Feb 01

I don't think so. With a library-enabled content  type, you are
(essentially) already viewing the attachment. Essentially the opposite
of a list item.

 
Answer #2    Answered By: Jan Chen     Answered On: Feb 01

Can you add attachment  fields to an Item content  type?

 
Answer #3    Answered By: Britni Shepard     Answered On: Feb 01

The only way that I know of would be to create a custom  field type  that
will hold a serialized file  stream as data. Although doable, it
wouldn't plug in to the builtin menus and controls for editing like the
existing document  field, so I don't think it would be of much help.

 
Answer #4    Answered By: Girja Garg     Answered On: Feb 01

I'm a little confused about
what the UI would be like for the custom  field type
you mentioned. I only need it to function like the
attachments column on a custom list. I don't need any
of the check-in/check-out stuff.

Is this possible?

 
Answer #5    Answered By: Jarod Mathews     Answered On: Feb 01

Yes, It should be possible. The UI would be to present a text box with
a Browse button in place of the field  when in Edit mode and to display a
descriptive title or the first few lines when in display mode. It would
require quite a bit of work, but should be possible. It would not
provide you with the Attachment toolbar button in the custom  list.

 
Didn't find what you were looking for? Find more on File Attachment in Content Type Or get search suggestion and latest updates.




Tagged: