Powered By Blogger

Jun 14, 2012

Upload a video using Media Web Part


This blog post describes a very simple way to upload a video into a SharePoint Site. We are going to use the coolest type of Web Part called 'Media Web Part' to do this easily.

First you must activate the below mentioned features.


         1. SharePoint Server Publishing Feature in Site Features.

         Go to Site Actions -> Site Settings -> Manage site features.


        Then Activate the feature


         
        2. SharePoint Server Publishing Infrastructure Feature in Site Collection Features.
  
        If you are not in the root site go to Go to Site Actions -> Site Settings -> Go to top level site settings
       (under Site Collection Administration)

        Then select site collection features


         Then activate the feature






After activating the features go to the web page where you want to add the Web Part and then Go to Site Actions -> Edit Page

Then select ' Web Part' in order to add a Media Web Part


Then select Media Web Part under the Media and Content category and Add the Web Part.


Then you can see that the Web Part has added. 




To get the Media options tab on the ribbon just click on the Web Part.

Now you can select the video file to upload by selecting the Change Media.



Then give the path of the file and select the location where you want to upload and click OK and then Save.



Now you can click on the Play button and view the video. (You can also navigate to the location which you selected in order to see the file which you've uploaded)














Jun 3, 2012



Save a Site as a Template in SharePoint 2010



This blog post explains how to save a site as Template. This is important when you want to clone your site somewhere else. You can do this either with the content or without the content.

The process is very simple. First go to Site actions and then select Save site as template under Site Actions. but sometimes though you are the administrator you might not get that option. The reason may be that you have turn on the site's publishing feature.

If so, go to Site Actions and select site settings. Then click on Manage site features under Site Actions and Deactivate the SharePoint Server Publishing Feature.



Then if you go back to Site Actions > Site settings you will see the Save site as template under Site Actions

You can click on Save site as template and then fill required filed. Then you can decide either to include content or not.


Then you will get a link to the Solution Gallery, where your template is located. (<you root site URL>/_catalogs/solutions/Forms/AllItems.aspx)


In order to clone the site first you need to save the created template. Just click on the template and save it. It will save as a .wsp file.

Then go to the SharePoint 2010 installation where you want to create the clone site and go the root site. Then navigates to the Solution Galley. (Site Actions > Site settings > select Solutions under Galleries)

Then select the Upload solution under the Solutions tab.



Browse to the saved template and click OK to upload the template.


After that click on Activate to Activate the template


Now you can create a new site from that template. Go to Site Actions and select New Site. Then you can select the template from the list and create a new Site from that template.







Jun 1, 2012


Deploy a WSP file in SharePoint 2010

In this blog post i'm going to explain how to deploy a WSP file using SharePoint 2010 Management Shell.
If the WSP file is already there in the farm, then first you need to retract that solution.

Go to SharePoint Central Administration 2010 and then select System Settings, then click on Manage farm solutions under Farm Management.


Then select the relevant WSP file and select Retract Solution in order to retract it.



Then click OK to retract the solution


Then Refresh the page to make sure that the status of the particular WSP file has changed to 'Not Deployed'. Once you finished the Retracting process, click on the WSP file and select 'Remove Solution'. Then click OK. Now the Complete solution file has removed from the application.

In order to upload the new WSP file you should open the SharePoint 2010 Management Shell as Administrator. Then type the below command.

add-spsolution -literalpath 'C:\CamoplastIntranet_05252012\Camoplast.Internet.SharePoint.wsp'

(C:\CamoplastIntranet_05252012\ - Local path of the new WSP file)

Then you will see a window as shown below.


Then go to the SharePoint Central Administrator 2010 again and go to Manage farm solutions. Then you will see the WSP file has added. In order to deploy it click on Deploy Solution. 


Then select the web application and click OK


Now you can see that your WSP file has successfully deployed.