BTemplates.com

About This Blog

Powered by Blogger.

Search This Blog

Wednesday, July 31, 2013

How to install PDF iFilter on Sharepoint 2010 step by step?


Installation of PDF iFilter on SharePoint 2010

Step 1. Download Adobe PDF iFilter 9 for 64-bit platforms from here http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025

Step 2. Install it on all SharePoint servers 2010.

Step 3. Download PDF icon file from pdf16.gif (http://www.mossgurus.com/adnan/Documents/pdf16.gif) and copy at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\.

Step 4. Add the following entry in docIcon.xml file, which can be found at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML.

<Mapping Key="pdf" Value="pdf16.gif" /> 

Step 5. Add PDF file type on the Manage File Type page under Search Service Application.

Step 6. Open registry by executing regedit on the Start --> Run.
             Navigate to the following location:
\\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension       

Step 7. Right-click Extension, a menu will appear.

Click New--> Key to create a new key for .pdf. See screen shot below:


Step 8. Step 8. Enter .pdf and save key.


Step 9.  Now add the following GUID in the default value as shown in the figure below.
{E8978DA6-047F-4E3D-9C78-CDBE46041603}

Step 10. If you are configuring SharePoint Server 2010, then restart Search service by executing the following command on the command line:
net stop osearch
net start osearch

Step 11. Now login on to Search Server 2010, then restart the SharePoint Server Search 14service as shown in the figure below:



Step 12. Reboot the all SharePoint servers.

Step 13. Run a full crawl.

Tuesday, July 23, 2013

How to enable Developer Dashoard In SharePoint 2010


The Developer Dashboard appears at the bottom of a page and allows site owners and up to view the call stack, database query times, exception information in error messages, and loading events for web parts during page rendering. All of these allow you to pinpoint the bottleneck within your page and to quickly focus on the resolution.

 The Developer Dashboard can be enabled via STSADM or PowerShell. This is one of the rare cases where the command in STSADM is shorter than PowerShell. The recommended property value is OnDemand, which provides you the ability to toggle the dashboard on and off
1.    STSADM
  • stsadm -o setproperty -pn developer-dashboard -pv on
  • stsadm -o setproperty -pn developer-dashboard -pv off
  • stsadm -o setproperty -pn developer-dashboard -pv OnDemand (recommended)
2.     PowerShell
$svc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService
$ddsetting=$svc.DeveloperDashboardSettings
$ddsetting.DisplayLevel=[Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
$ddsetting.Update()

An icon displays in the top right of the page when the Developer Dashboard is set to OnDemand — click this to toggle the dashboard on and off.

    
EXAMPLE OF DEVELOPER DASHBOARD

Friday, July 19, 2013

How to set auto refresh in SharePoint site step by step?


How to set auto refresh in SharePoint site step by step?

Step 1. Click on Site Action and then “Edit Page”


Step 2. Click on “Insert” and then “Web part”


Step 3. Click on “Media and Content”,then “Content Editor” and then  “Add”



Step 4.

Step 4. Click on “Edit Web part”


Step 5. Click on “Clikc here to add new content”


Step 6. In “Editing tool” section click on “Edit HTML Source”


Step 7. Then copy this Java script. (it will set auto refresh for two minutes or 120 secound).

<script type="text/javascript" language="javascript">
var reloadTimer = null;
var sURL = unescape(window.location.pathname);

function setReloadTime(secs)
{ if (arguments.length == 1)
   { if (reloadTimer) clearTimeout(reloadTimer);
       reloadTimer = setTimeout("setReloadTime()", Math.ceil(parseFloat(secs)*1000));
   }
   else
   { reloadTimer = null;
     location.reload(true);
     window.location.replace( sURL );
   }
}

setReloadTime(120);
</script>


Step 8. Then click "OK".

The SharePoint page has been set to refresh for 2 minutes.
Have a good day !! :) Enjoy

Tuesday, July 9, 2013

How to configure secure store service?


ahm !! Secure Store Service as the name defined it. This service store some security related content.
In technical words, The secure store service provides a database that is used to store credential. these credentials usually keeps user identity (user id) and password, but also can keep other fields that you define. For example : SharePoint 2010 can use secure store service database for access the external database. We can use this service in following applications.

1). Excel service
2). Visio Service
3). Performance Point Services
4). PowerPivot from SharePoint 2010
5). Microsoft Business Connectivity Service

1). We need to follow following steps to configure secure store service.
1.1). Create a separate user account in Active Directory for Secure Store Service.
1.2). Go to Central Admin site and Click on "Configure Service Account".

1.3). Click on "Register new managed account"

2). To configure Secure Store Service
2.1). Click on "Manage Services On server"
2.2). Choose the server name where you want to start secure store service and the start the service.
2.3). Then go to Central Admin Site and click on "Manage Service Applications" 
2.4). Click on "New" and select "Secure Store Service"
2.5). "Create New Secure Store Service Application" and fill the following information.

    Service Application Name      : Secure_Store-Service_Name
    Database Server                     : Give you Database Server Name
    Database Name                      : Secure_Store-Service_DBName
    Database authentication           : Windows Authentication
    Failover Server                       : Optional If you created any failover server please specify here
    Create New Application Pool : Secure_Store-Service_APName
    Select Security account           : Give your registered service account for this
    Enable Audit                           : 30 days (Your log will be store for 30 days max)
  

   Then Click on "OK"

3). Working with encryption key
3.1). Click on "Secure Store Services"
3.2). Click on "Generate New Key"
   
3.2). Provide the "Pass Phrase Key" e.g. ABC@123 and then confirm it.
        and then click on "OK"

4). Create a Target Application
4.1). Click on 'New"
4.2). Fill the following information and then click on"Next"
    Target Application ID     :  TestAppID
    Display Name                :  TestApplication
    Contact E-mail               :  abc@xyz.com
    Target Application Type :  Group
    Target Application Page URL :  leave it blank 
Then Click on "Next".
4.3). now here you can specify the credentials details fields for your secure store target application.
    let me describe you the YELLOW fields.
   Add Fields
From here you can add fields. such as Generic, User Name, Password, PIN, Key, Windows User Name, Windows Password.
   Field Name : Here you need to define specify field name. such as if you choose "Windows User Name" then type it. 
   Field Type  :  Here by drop down arrow you can set the "Field Type". Such as Generic, User Name, Password, PIN, Key, Windows User Name, Windows Password.
Then Click on "Next".
4.4). Add the "Target Application Administrator" and "Member"
    Target Application Administrator : <Type the UserName>
    Members                                    : <Type the Members Name>
5). Set credential for a target application
5.1). Check the Target Application and click on "Set Credentials"  

5.2). Now you can type the "External Data Source User Name and Password"
    This way your External Data Source and Windows Credentials goes mapped.  

Note : If the target application is of type Group, type the credentials for the external data source. Depending on the information that is required by the external data source, the fields for setting credentials will vary.
If the target application is of type Individual, type the user name of the individual who will be mapped to this set of credentials on the external data source, and type the credentials for the external data source. Depending on the information that is required by the external data source, the fields for setting credentials will vary.