Thursday, June 26, 2014

Add Solution .wsp to SharePoint using PowerShell

In order to add Solution files "wsp" to Sharepoint using powershell, just follow the below steps

1. Open up you Sharepoint 2010 power shell

2. Now navigate to the folder where your wsp file exist

3. Now type the following command

 add-spsolution -literalpath [File Path]

Replace File Path with complete path to your .wsp like

add-spsolution -literalpath c:\calendarwebpart.wsp

I hope it was informative for you and I would like to Thank you for reading.

Monday, June 23, 2014

Move Site Collection To Another Content DataBase using powershell

In this demo I will show you how you can move site collection from existing content database to new Content Database in power shelll

1. Open up your Share point power shell

2. Type the following command

move-spsite [Site Collection which you want to move] -destinationdatabase [New Location for Site Collection]

move-spsite http://taqi/sites/mysite -destinationdatabase newcbd2

You will be asked to confirmed your action just type 'y'

I hope it was informative for you and I would like to Thank you for reading

Sunday, June 15, 2014

HOW TO CHECK SHAREPOINT VERSION

In order to check Sharepoint Version like

  • Major
  • Miner
  • Build
  • Revision 
We Can find the above information by either using power Shell or via SharePoint Central Administration

To Find this in PowerShell type
  • (get-spfarm).buildversion

To find this in Central Administrator

  1. Login to Central Administration
  2. Under Upgrade and  Patch Management
  3. Click on Check Product and Patch installation Service
This will give you all details not only about SharePoint but other products like Office

I hope it was informative for you and I would like to Thank you for reading


 

Thursday, June 12, 2014

How to send arguments Using Query String C# ASP.NET

Hello,

Using Query String we can send data from one page to another page easy

In ASP.NET we can send query string from one page to another page like this

Response.Redirect("FinalPage.aspx?value=myvalue1");

If you need to send multiple values than it is also possible by separating each value by & sign like this

Response.Redirect("FinalPage.aspx?value1=200&value2=201");

Now at the receiving page we need to get these arguments to do this use the following code

string value1 = Request.QueryString["value1"]; 
string value2 = Request.QueryString["value2"];

I hope it was informative for you And I would like to Thank you for reading.

Monday, June 2, 2014

Download Microsoft Filter Pack 2.0 64 bit

In order to install Sharepoint 2010 x64 it is necessary to install Microsoft Filter Pack 2.0

If you don't have Microsoft Filter Pack than You can download it from the following link

Download Microsoft Filter Pack 2.0 x64

The file is password protected, password is 'taqi' without quotes

Thanks

Create Regular Expression to accept only Alphabets

In this tutorial I will show you how to create a Regular Expression that will only contain Alphabets, I will also show how to edit the RE to accept other characters

The following regEx will only accept Alphabets

 re = /^[A-Za-z]+$/;

To Accept Alphabets + some other characters like /,.,, we can write regular expression like below

 re = /^[A-Za-z-/-,-.]+$/;



I hope it was informative for you and I would like to Thank you for reading.