SharePoint Blog - René Hézser

Anmelden  RSS Feed RSS Feed
Startet die Suche

Archive

Kategorien

Links

Andere Blogs




ITaCS GmbH


Upload documents/pictures to a discussion lists  

Jan 072009

You might already know my Wiki Webpart, which allows you to upload pictures and documents to a Wiki while editing it.

What is it?

With this Solution you can upload images and documents from the new/edit form into existing picture/document libraries. After the file has been uploaded, a link will be inserted into the Body.

This is either a <img> or a <a> tag, depending on the uploaded file.

How does it work?

After uploading the image/file, it will be put into your Body via JavaScript. There is no reload of the page required.

Requirements

.NET 3.5 (SP1) on all of your frontend servers

Installation

The DiscussionListUpload comes as a SharePoint solution (wsp file), which will be installed on your SharePoint farm via "stsadm -o addsolution -filename RH.DiscussionListUpload.wsp".

The solution contains one feature, which has to be activated on site collection level.

After the feature has been activated, discussion lists will have a new link in the list properties.

If you click on the link, it will bring up a settings page for the feature.

Enabling the feature in the properties will add the Webpart to the NewForm and EditForm of your discussion list. Disabling it, will remove the Webparts.

Update:

Instead of this solution you can use my Custom Files and Images Upload Field.

If you want to use it, please make sure you disable this feature on the discussion list and on your sitecollection.

Download

Download Solution

Download Source code

Technorati Tags: ,
 
Posted by René Hézser | 8  Comments | Trackback Url  | 0  Links to this post | Bookmark this post with:        
Tags: Webparts, Development, SharePoint, Upload Webparts
Technorati Tags: , , ,

Links to this post

Comments

commented on  Thursday, January 08, 2009  3:23 PM  by  Thanks!
Nice to see you've expanded this solution to discussions. Thanks for the good work!

Tom Winter
www.AmosFiveSix.com (not much there yet ;)

commented on  Thursday, January 08, 2009  5:44 PM  by  You are welcome
Glad I could help ;-)

René

commented on  Wednesday, January 21, 2009  9:58 AM  by  Usability in custom List ?
Hi René,

great work !
Is there a possibility to also use it in a custom List ?

Greets
Marco

commented on  Wednesday, January 21, 2009  5:59 PM  by  re: Usability in custom List ?
Hi Marco,
I guess it would be possible.
There are some more things to take care of. Like in which field should the link be put?
The attachment function is not what you are looking for? You want the "attachment" to be stored in another list?

René

commented on  Thursday, January 22, 2009  4:35 PM  by  re: re: Usability in custom List ?
Hi,

since i'm using sharepoint i'm looking for a feature to upload and insert a picture in a rich text field in the newform with one step.

the workaround by now is to attach the picture in the newform, submit the form, open the editform, copy the link from the attachment and put it in the "insert image" field ... very complicated for end users.

i was happy as hell when you released you wiki webpart.

it would be great to have something like this for custom lists !!!

greets
Marco

commented on  Friday, January 30, 2009  3:35 PM  by  AW: Upload documents/pictures to a discussion lists
Hi,

is there any solution to use this in custom lists - not only in discussion lists ?

paul

commented on  Friday, February 26, 2010  10:46 AM  by  Michael Funck
Dear René,
ich tried to deploy qur solution.
it is recgnizes as successfully depöloyed to my htP://q-system Web App Unfortunately i cannot activate it to a site collection
whats wrong?

commented on  Tuesday, March 02, 2010  7:51 PM  by  René Hézser
Hi Michael,
please use my Custom Field Type. It is more flexible: http://www.hezser.de/blog/archive/2009/02/25/custom-field-–-upload-files-and-images.aspx

René

Name *:
URL:
Email:
Kommentar:


CAPTCHA Image Validation