Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Import dwp in Visual Studio and deploy

$
0
0

Hi,

In SharePoint 2013 I created and configured basic search webpart. I exported it and now I have a dwp file on my local computer.

I also have a Visual Studio project which now includes a branding solution. The branding solution includes a site definition, master-pages, page layouts, images and css files.

Now I would like to create a separate solution in the project named "web-parts". In this project I would like to import the exported dwp. While creating a new site, I want to add the web-part to a web-part zone in the page layout.

How can I import the dwp and how can I add the web-part to the web-part zone while creating a site?



Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>