1 / 21

Packaging and Deploying Web Parts

Packaging and Deploying Web Parts. Agenda. Introduction Building a Web Part Package Creating a Manifest File Creating a . dwp File Creating a .CAB File Using Visual Studio Deploying a Web Part Package Add the Web part to a Web page. Introduction. Prerequisites.

taro
Télécharger la présentation

Packaging and Deploying Web Parts

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Packaging and Deploying Web Parts

  2. Agenda Introduction Building a Web Part Package Creating a Manifest File Creating a .dwp File Creating a .CAB File Using Visual Studio Deploying a Web Part Package Add the Web part to a Web page

  3. Introduction Prerequisites • Familiarity with Microsoft Windows SharePoint Services and /or Microsoft Office SharePoint Portal Server 2003 • Knowledge about how to create a Web Part • Familiarity with the Web Part infrastructure

  4. Building a Web Part Package • Manifest.xml (mandatory) • Web Part assemblies (optional) • Class resource files (optional) • .dwp files (optional) A Web Part package is a cabinet (.cab) file that contains the following items:

  5. How does deployment work with a solution package

  6. Reasons to deploy using a solution package Provisioned solution packages will automatically be deployed to new server that are added to the farm. Deploying custom DLL's to the Global Assembly Cache to a remote machine Modifying the web.config on all servers may be pose problems, using a solution package you can very easily modify the web.config especially your safe controls section.

  7. Creating a Manifest File

  8. Creating a .DWP File

  9. Creating a .CAB File Using Visual Studio

  10. Add the. Web Part project output to the CAB project

  11. Add the Web Part project output to the CAB project.

  12. Add .dwp file to CAB project.

  13. Deploying a Web Part Package

  14. Go to Central Administration Tool, under Operations click on Solution Management

  15. Go to the Home page, click Site Actions, and then click Edit age.

  16. At the top of the zone in which you want to display text, click Add a Web Part. In the Add Web Parts to [zone] dialog box, scroll to the Miscellaneous section, select your Web Part check box, and then click Add

  17. It will open a pop up window ,there you can find a web part under Miscellaneous section

  18. Finally click on exit edit mode

  19. Finally the Web Parts should be look like in your web site

  20. Questions?

  21. Resources

More Related