When I Build a custom list form through Sharepoint Designer 2007, I don't have any support for displaying attachments. Of course this list has been enabled for attachments.
I am currently running WSS V3 FR + Sharepoint Designer 2007 FR.
Regards,
When I Build a custom list form through Sharepoint Designer 2007, I don't have any support for displaying attachments. Of course this list has been enabled for attachments.
I am currently running WSS V3 FR + Sharepoint Designer 2007 FR.
Regards,
I'm having the same problem and while googling I found out we are not the only one :\
Hi fellows!
I've managed to show the current attachments in the list item, with the following code:
<SharePoint:FormField runat="server" id="ff6{$Pos}" ControlMode="Edit" FieldName="Attachments" />
I've also digged into the HTML/JS of a non-custom list form, and figured out that why the "This form was customized not working with attachment" message is show.
In a non-custom form, the web-part has two sections:
<span id='part1'>
// Web part section
</span>
<span id='partAttachment'>
// Attachment section
</span>
When one clicks in the "Attach File" button, the javascript function hides "part1" and shows "partAttachment", or vice-versa.
I tried to copy part of the HTML code of a non-custom form into my custom form, with no sucess.
If anyone is willing to give a try, please, remember to post your findings!
Regards, Murilo
Hi, i'm having the same problem. so I cannot save the attachment.
Anyone else has found a solution
Thanks
I just want to display attachments on the custom Display form.
Can you give me some hints. on that.
Yoshio Kurtz wrote:
Hi, guruevi's solution, which I found on his web site, does not work. When clicking 'Attach File', it does bring up the appropriate interface. However, after browsing and selecting a file and clicking 'Ok', I get an 'object required' message and I have to 'cancel' out of the 'Add Attachment' view of the page to continue. The attachment does not save.
Can I ask you about the solution extra-designer you have found
Thanks
So has anyone already solved this problem
I have tried and modifed guruevi's solution with an edit form but as has already been said , it doesen't work.
i found out that the attachments are saved in a file in the list: [your list]/attachments/[list item id]/[file].
if you put an attachment here, the list will see the attachment for your item.
I am now thinking of creating a custom attachment upload page and handle the uploading myself( don't know how yet , with codebehind and so on).
If anynone has solved this. pleas post your answer.
Greetings
How frustrating not able to modify a simple page in sharepoint and make it work with all its default features.
I am really surprised the Microsoft has not looked this issue of not being able to activate the "attach files" function with custom layout
Really disappointing
BC