7
Deployment Scripts 1. Go to Central Admin – Login using Farm Admin credentials. 2. Click on Application Management – Manage Web Application. 3. Click on New.

sharepointdiv.files.wordpress.com€¦  · Web viewNow you will be having two .vwi files (one of source workflow’s – SourceWorkflowName.vwi and other of the destination workflow’s

  • Upload
    vohuong

  • View
    214

  • Download
    0

Embed Size (px)

Citation preview

Deployment Scripts

1. Go to Central Admin – Login using Farm Admin credentials.2. Click on Application Management – Manage Web Application.

3. Click on New.

4. Create a new web application. Change the Names as per your requirement.

5. Once the new web application is created, click on Application Management – Create Site Collection – Create a Root level site collection.

6. Once created, try opening the site. 7. Go to Central Admin – System Settings – Manage farm Solutions (The WSP will be

deployed here).

8. Go to the .wsp solution. Get the path of the solution.9. Open SharePoint Management Shell using Administrator.

10. Run Add-SPSolution "PATH:\WSPNAME.wsp".

11. After successful run, wsp will be added to the SharePoint Farm.

12. Go to Central Admin – System Settings – Manage farm Solutions (The WSP will be deployed here) and check your solution.

13. Click on the solution and Click on Deploy.14. Once deployed successfully, you can see that the solution will be deployed globally.

15.

16. Go to the Newly Created Site – Click on Site Settings- Manage Site Features.

17. You will see the feature naming your wsp.18. Click on Activate.

19. Go to site contents and all the lists and pages will be created.

WorkFlow Deployment Steps :

1. In the first(source) site, create the required workflow and publish it.2. Now select Export to Visio option which allows you to save the workflow with a .vwi

extension. (Refer this workflow hereafter as source workflow).3. Now go to the destination site where you want the workflow to be copied, and

create a new workflow with the same name as the previous one & publish it.4. Now select Export to Visio option which allows you to save the workflow with a .vwi

extension. (Refer this workflow hereafter as Destination workflow).5. Now you will be having two .vwi files (one of source workflow’s –

SourceWorkflowName.vwi and other of the destination workflow’s – DestinationWorkflowName.vwi). Now add .zip extension to both the files. Now your files names should be SourceWorkflowName.vwi.zip & DestinationWorkflowName.vwi.zip.

6. Now open both the zip files, copy workflow.xoml.wfconfig.xml from destination workflow to (I have to copy to desktop and then copy/paste into source) source workflow. (Its destination to source and not source to destination).

7. From now on, we will not use the file DestinationWorkflowName.vwi.zip. So ignore that file.

8. Remove the .zip extension from SourceWorkflowName.vwi.zip which gives you the SourceWorkflowName.vwi file.

9. Now, go to the destination site, open workflows and click Import from Visio and browse to the SourceWorkflowName.vwi file.