代码改变世界

How to add a webpart to your website

2013-09-21 15:17  左眼微笑右眼泪  阅读(369)  评论(0编辑  收藏  举报

      I have download a webpart that can play media on the website from the internet.Then how to add this webpart to our website?

      First,we should use the command “Add-SPSolution C:\Users\Administrator\Desktop\**** .wsp” to add the webpart to our website.Then go to the CA,click the “Manage farm solutions”

image

      You will see the webpart in the list.

image

      When you add the webpart,its status will be “not deployed” default,you should select the webpart and deploy it.Then you can go to any pages in your website,and click the “Edit” menu

image

      Then go to the “Insert” tabpage and click “Web Part”

image

       You will see the form as follows:

image

       Mostly,your webpart will appear in the “Custom” category,this webpart appear in the “Amrein Engineering” category.Of course,when you develop the webpart,you can set the category. And then select your webpart,click “Add” .When you add this webpart,you should click “Save” in the top menu.Then everything is ok,you can use the webpart.