How to : Deploy Solution Package (.wsp file) to Sharepoint 2010

Skenario :

I. Buat WebPart menggunakan Visual Studio 2010 di Server Development (Deploy otomatis ke Sharepoint di Dev)Saya anggap semuanya sudah bisa ini semuanya

II. Deploy solution package ( .wsp file) dari Webpart yang sudah dibuat di Dev ke Server Sharepoint 2010 ke Production

Langkah-langkah :

1. Tambahkan Solution Package ke Server

– Buka Powershell atau Sharepoint 2010 Management Shell

– Ketik :

stsadm.exe -o addsolution -filename “C:\NamaFolderProject\bin\debug\ContohSolutionPackage.wsp”

2. Deploy Solution menggunakan Central Administration

– Buka Sharepoint 2010 Central Administration –> System Setting –> Manage Farm Solutions

– Cara nama File ContohSolutionPackage.wsp , disitu akan terlihat bahwa status Not Deployed

– Klik file tersebut –> Deploy Solution

– Pada combobox “Choose a Web Application to Deploy this Solution” pilih salah satu dimana kamu akan mendeploy, klik OK.

– Status file akan berubah menjadi Deployed.

3. Test WebPart

– Buka website Sharepoint –> Site Actions –> Edit Page –> Add a Web Part –> pilih kategori Custom –> Pilih Web Part yg telah dibuat –> Add.

Tutorial lengkap ada di :

http://ashrafhossain.wordpress.com/2011/01/20/how-to-deploy-sharepoint-2010-solution-package-the-wsp-file/

http://dotnet.sys-con.com/node/1208275

    • jtxmisc
    • May 23rd, 2015

    is good artikel Thank you so much , artikel menarik

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: