I have a .dwp file which I got by exporting my webpart . Now I want to make feature using WSP builder. I knw I have to create element.xml,feature.xml and Webpart1.wepart
but I was going through the method what I didn’t get is where to put the .dwp file in 12 hive and also where I will give the location of this .dwp file ? In element.xml i m giving location of Webpart1.wepart then where I m giving location of this .dwp file….
And also where to put the dll file?
Any help would really be appreciated .
Thanks,
Open up the Web Part Gallery and upload your DWP file there (see info in this tutorial http://www.datasprings.com/Resources/ArticlesInformation/Sharepoint2007CustomWebParts.aspx)
However, as people are stating in other comments, it is generally considered “better” to deploy webparts as features: http://www.sharepointnutsandbolts.com/2007/05/deploying-web-parts-as-feature.html