by Altaf Pinjari
27. September 2011 06:32
Every wonder what’s buzzing through the minds that make up your company? Creating a survey using SharePoint is a quick and easy way to find out.
Creating a SharePoint survey:
- Click Site Actions on the far right.
- A drop down box will appear. Select Create.
- Under Tracking, click Survey.
- Fill out the form according to your preferences and click Next.
- Now it’s time to add questions. Select the question type and settings and click Next Question.
- When you’ve entered all questions, click Finish.
You’ve finished creating your SharePoint survey, yet there are a few things that you wished you would have added. Wish no more! Here’s how to add questions to an existing survey.
Adding Questions to an Existing SharePoint Survey:
- Navigate to the survey to which you wish to add questions.
- Click Settings.
- A drop down box will appear, click Survey Settings.
- Under Questions, click Add a question.
- Select the question type and settings and click Next Question.
- When you’ve entered all questions, click Finish.
Survey finished and needing a little modification? Change it in only 5 steps.
Changing an Existing Survey:
- Navigate to the survey you wish to modify.
- Click Settings.
- A drop down box will appear, click Survey Settings.
- From this page, select the survey setting you wish to change.
- Make the changes and click OK
by Vipul Bhavsar
24. September 2011 08:20
Steps : 1. Attach the database to sqlserver which is sharepoint using; create webapplication .. we won't need to create site collection; 2. type this command in sharepoint shell Mount-SPContentDatabase -name dbname -WebApplication http://servername:portnumber this operation may take from 2 minutes​ to 10 minutes depending on your data size; it will show you percentage as it finishes; 3. after finishing it, click iisreset go to your browser and type your webapplication url & here you go..
by Altaf Pinjari
18. September 2011 02:28
Taking a look at the onet.xml (located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL\XML) I did a search for the new.gif and found it surrounded by an <IfNew> element. A search on MSDN leads to this document which states:
"Returns TRUE if the item is considered new. Usually, this means that the item was created after midnight the day before. This element renders its contents if the item was created today, that is, after only one day has passed, the number of days being a registry setting for which the default value is 1."
I had to read that a few times, but it boils down to two days.
To check that, run:
stsadm -o getproperty -propertyname days-to-show-new-icon -url "<site_url>"
It returns 2.
If you want to change it, run:
stsadm -o setproperty -pn days-to-show-new-icon -pv <number_of_days> -url "<site_url>"
Example :
- Click Start, point to All Programs, point to Accessories, and then click Command Prompt. or goto MS Power shell
- Type the following commands, and then press ENTER after each command:
1. getproperty
PS C:\Users\Administrator> stsadm -o getproperty -propertyname days-to-show-new-
icon -url "http://192.168.1.40:6855"
<Property Exist="Yes" Value="2" />PS C:\Users\Administrator> stsadm -o setproper
ty -pn days-to-show-new-icon -pv 2 -url "http://inddev16:7576"
Operation completed successfully.
2. setproperty
PS C:\Users\Administrator> stsadm -o setproperty -pn days-to-show-new-icon -pv 0
-url "http://192.168.1.40:6855"
Operation completed successfully.
by Vipul Bhavsar
8. September 2011 07:25
Here are the steps to change default font size in SharePoint 2010
1. I am using the CSS from Serve’s Blog Copy this CSS or create a new CSS file in SharePoint Designer as below
.ms-bodyareacell td, .ms-bodyareacell p, .ms-bodyareacell div, .ms-bodyareacell span,
.ms-bodyareacell p, .ms-bodyareacell a,.ms-bodyareacell a:active, .ms-bodyareacell a:hover,
.ms-bodyareacell a:link, .ms-bodyareacell a:visited,.ms-bodyareacell td,.ms-bodyareacell div,
.ms-bodyareacell font
{
font-size:13px;
font-family:Trebuchet MS,Verdana, Arial;
letter-spacing: normal;
color:black;
}
.ms-bodyareacell h3 a, .ms-bodyareacell h3 span, .ms-bodyareacell h3 div,.ms-bodyareacell h3 p,
.ms-bodyareacell h3 font
{
font-size:15px;
color:black;
}
.ms-wpheader
{
background-color:#e9e9e9;
}
2. Save your CSS file. In this case, I am calling as custom2.css and saving this file in style library

3. Open your master page and add a reference to your new custom2.css file

4. Now go back to your SharePoint page and edit. You will see your default font is changed to what ever you specified in your CSS

This is how you can change SharePoint 2010 default font to something you like.