from the command prompt do the following

cd C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\

stsadm -o addsolution -filename c:\solutions\MyContentWebpart.wsp
stsadm -o deploysolution -name MyContentWebpart.wsp -url http://sharepointdev/
stsadm -o installfeature -filename MyContentWebpart_Feature1\feature.xml
stsadm -o activatefeature -id 328f5be7-14cf-4c7c-a39d-7b068920e11b -url http://sharepointdev/ -force

The webpat is now ready and can be put on your webpage.

Last edited Oct 23, 2011 at 6:05 PM by oljo, version 2

Comments

annise Oct 18, 2012 at 2:53 PM 
It's possible add columns, for example description, name...

oljo Oct 30, 2011 at 12:29 PM 
I have just added a new release to counter the bug You have no Conent to show:)

oljo Oct 30, 2011 at 9:08 AM 
It only shows documents that you have created. or the user that has logged on.

if you have trouble. try emailing me with screen shots of the document library..


The following requirements are to be meet before it shows content..

1. You have to place the webpart on a Site.
2. There has to be at least one document library in the site. '
3. A user has to upload some files.
4. the same user has to look at the webpart afterwards.
5. To refresh the page try hitting f5 or ctrl f5 for ie.

molezou Oct 28, 2011 at 4:33 AM 
no docs in list .webpart show "You have no Content To show!!"