Wednesday, December 26, 2012

Facilitating social computing in SharePoint 2010

Making SharePoint More Secure

Installing SharePoint 2013 Preview on Windows 2012 Server with SQL 2012-Part 2

Installing SharePoint 2013 Preview on Windows 2012 Server with SQL 2012-Part 1

New SharePoint 2010 features aid in enterprise content management

Configuring My Site in SharePoint 2010

Thursday, December 20, 2012

How to customize an existing permission level in SharePoint 2010

 ·         Verify that you have one of the following administrative credentials:
o   You are a member of the Administrators group for the site collection.
o   You are a member of the Owners group for the site.
o   You have the Manage Permissions permission.
·         On the Site Settings page, under Users and Permissions, click Site permissions.
·         In the Manage section of the ribbon, click Permission Levels.
·         In the list of permission levels, click the name of the permission level you want to customize.
·         In the list of permissions, select or clear the check boxes to add permissions to or remove permissions from the permission level.
·         Click Submit.

Ref:

How to copy an existing permission level in SharePoint 2010


·         Verify that you have one of the following administrative credentials
o   You are a member of the Administrators group for the site collection.
o   You are a member of the Owners group for the site.
o   You have the Manage Permissions permission.
·         On the Site Settings page, under Users and Permissions, click Site permissions.
·         In the Manage section of the ribbon, click Permission Levels.
·         In the list of permission levels, click the name of the permission level you want to copy.
·         At the bottom of the page, click Copy Permission Level.
·         On the Copy Permission Level page, in the Name field, type a name for the new permission level.
·         In the Description field, type a description for the new permission level.
·         In the list of permissions, select or clear the check boxes to add permissions to or remove permissions from the permission level.
·         Click Create.
Ref: http://technet.microsoft.com/en-us/library/cc263239.aspx#section3

How to create a permission level in SharePoint 2010


·         Verify that you have one of the following administrative credentials
o   You are a member of the Administrators group for the site collection.
o   You are a member of the Owners group for the site.
o   You have the Manage Permissions permission.
·         On the Site Settings page, under Users and Permissions, click Site permissions.
·         In the Manage section of the ribbon, click Permission Levels.
·         On the toolbar, click Add a Permission Level.
·         On the Add a Permission Level page, in the Name field, type a name for the new permission level.
·         In the Description field, type a description of the new permission level.
·         In the list of permissions, select the check boxes to add permissions to the permission level.
·         Click Create.

Ref: http://technet.microsoft.com/en-us/library/cc262502(v=office.14).aspx

Wednesday, December 19, 2012

Adding and Deploying Solutions in SharePoint 2010

Adding and Deploying Solutions in SharePoint 2010
How we can add solutions in SharePoint 2010 ?
We can add solution via common line using either STSADM or PowerShell command while solution deployment can be done either via Central Admin or using STSADM or PowerShell

Command line:
Using STSADM:
stsadm.exe -o addsolution -filename yoursolutionpackage.wsp
Using PowerShell:
Add-SPSolution -LiteralPath <SolutionPath>

Now here comes deployment part
  • Deploy Solution using Central Administration
  • Open Central Administration
  • Go to System Settings
  • Click on Manage farm solutions
  • Select the solution from the list
  • Select Deploy Solution and select the web application where you want to deploy it
  • Click OK when you are done.
  • Click Deploy Solution
  • That’s all, we are done with deployment

Command line:
Using STSADM:
stsadm -o deploysolution -name yoursolutionpackagename.wsp -url http://sp-mach/ -local  -force
Using PowerShell:
Install-SPSolution -Identity <SolutionName> -WebApplication <URLname>

Uninstallation and Retraction of a Solution in SharePoint 2010

Uninstallation and Retraction of a Solution in SharePoint 2010

Using STSADM:
stsadm -o retractsolution -name solutionName.wsp -immediate
stsadm -o deletesolution -name solutionName.wsp

Using PowerShell:
Uninstall-SPSolution -identity solutionName.wsp
Remove-SPSolution -identity solutionName.wsp

Deployment guide for Microsoft SharePoint Server 2010 and Server 2013

Deployment guide for Microsoft SharePoint Server 2010
http://www.microsoft.com/en-us/download/details.aspx?id=10009
Downloadable eBook: Deployment guide for SharePoint 2013
http://www.microsoft.com/en-us/download/details.aspx?id=30384
Deploying F5 with Microsoft SharePoint 2010
http://www.f5.com/pdf/deployment-guides/f5-sharepoint-2010-dg.pdf

iPro Developer
TIP GUIDE:The Top 10 Guiding Principles for Successful BIDownload this white paper
Go beyond reporting to capture the true value of your data! This is the last week to download this tip guide!
Overcome data chaos and achieve business-transforming insights:
  • Turn your data into a competitive advantage
  • Achieve higher effeciency and effectiveness
  • Understand the factors that drive your organization
Screenshot
 
 


Wednesday, December 5, 2012

Error while modifying Content Query Web Part

Issue:
User tried to modify Content Query Web Part and got following error:

An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator

Resolution:
  • Open the page in SPD where you put the web part
  • Right click on web part and click web part properties
  • It will give you following error

  •  This is the first step where you can narrow down the issue
  • Open Style Library > XSL Style Sheets
  • There is a file called itemstyle.xsl
  • Open that file in designer
  • Press ctrl + F and select “Replace all” option type nbsp
  • Replace it with &#160
  • Save it and try again to modify the web part
  • Let me know if you have any queries on above steps
Recommendation:
Before making any change to any file from SPD please take backup of that particular file, this will be a real SAVIER in such situations

The best link I found for customizing Content Query Web Part – http://www.heathersolomon.com/blog/articles/customitemstyle.aspx

How to delete a content deployment job by using Windows PowerShell in SharePoint 2010

To delete a content deployment job by using Windows PowerShell
  • Verify that you meet the following minimum requirements:
  • On the Start menu, click Administrative Tools.
  • Click SharePoint 2010 Management Shell.
  • From the Windows PowerShell command prompt (that is, PS C:\>), type the following command and press ENTER:
    • Remove-SPContentDeploymentJob -Identity <GUID, name or a valid SPContentDeploymentJob object of the job to be deleted>

How to cancel a content deployment job in SharePoint 2010

To cancel a content deployment job

You cannot perform this task by using Windows PowerShell cmdlets. You must use the SharePoint Central Administration Web site instead.

  • Verify that you have the following administrative credentials:
  • You must be a member of the Farm Administrators group on the Central Administration server.
  • On the Central Administration Web site, in the General Application Settings section, click Configure content deployment paths and jobs.
  • On the Manage Content Deployment Paths and Jobs page, on the menu for the job that you want to cancel, click Cancel.
  • The status of the job is reported in the Status column.


How to delete a content deployment job by using Central Administration in SharePoint 2010

To delete a content deployment job by using Central Administration
  • Verify that you have the following administrative credentials:
    • You must be a member of the Farm Administrators group on the Central Administration server.
  • On the Central Administration Web site, in the General Application Settings section, click Configure content deployment paths and jobs.
  • On the Manage Content Deployment Paths and Jobs page, on the menu for the job that you want to delete, click Delete.
  • Click OK in the message box that asks whether you want to proceed with the deletion.

How to test a content deployment job in SharePoint 2010

To test a content deployment job
  • Verify that you have the following administrative credentials:
    • You must be a member of the Farm Administrators group on the Central Administration server.
  • On the Central Administration Web site, in the General Application Settings section, click Configure content deployment paths and jobs.
  • On the Manage Content Deployment Paths and Jobs page, on the menu for the content deployment job that you want to test, click Test Job.
  • The status of the job is reported in the Status column.

How to manually start a content deployment job by using Windows PowerShell in SharePoint 2010

To manually start a content deployment job by using Windows PowerShell
  • On the Start menu, click Administrative Tools.
  • Click SharePoint 2010 Management Shell.
  • From the Windows PowerShell command prompt (that is, PS C:\>), type the following command and press ENTER:
    • Start-SPContentDeploymentJob –Identity <GUID, name or a valid SPContentDeploymentJob object of the job to be started>


    How to edit a content deployment path by using Windows PowerShell in SharePoint 2010

    To edit a content deployment path by using Windows PowerShell
    • Verify that you meet the following minimum requirements:
    • On the Start menu, click Administrative Tools.
    • Click SharePoint 2010 Management Shell.
    • From the Windows PowerShell command prompt (that is, PS C:\>), type the following command and press ENTER:
      • Set-SPContentDeploymentPath –Identity <GUID, name or a valid SPContentDeploymentPath object of the path to be changed>
    Ref: http://technet.microsoft.com/en-us/library/cc262075%28v=office.14%29.aspx#Section4

    How to edit a content deployment path by using Central Administration in SharePoint 2010

    To edit a content deployment path by using Central Administration
    • Verify that you have the following administrative credentials:
      • You must be a member of the Farm Administrators group on the Central Administration server.
    • On the Central Administration Web site, in the General Application Settings section, click Configure content deployment paths and jobs.
    • On the Manage Content Deployment Paths and Jobs page, on the menu for the path that you want to edit, click Edit.
    • For more information about the settings that you can edit, see Create a new content deployment path.

    How to manually start a content deployment job by using Central Administration in SharePoint 2010

    To manually start a content deployment job by using Central Administration

    • Verify that you have the following administrative credentials:
    • You must be a member of the Farm Administrators group on the Central Administration server.
    • On the Central Administration Web site, in the General Application Settings section, click Configure content deployment paths and jobs.
    • On the Manage Content Deployment Paths and Jobs page, on the menu for the job that you want to start, click Run Now.
    • The status of the job is reported in the Status column.

    Tuesday, December 4, 2012

    Create a new content deployment path by using Windows PowerShell in SharePoint 2010

    ·         Verify that you meet the following minimum requirements:
    o   See Add-SPShellAdmin.
    ·         On the Start menu, click All Programs, click Microsoft SharePoint 2010 Products, and then click SharePoint 2010 Management Shell.
    ·         From the Windows PowerShell command prompt (that is, PS C:\>), type the following command and press ENTER after each line of the command:

    $credentials=Get-Credential New-SPContentDeploymentPath -Name <Name of the new deployment path> -SourceSPWebApplication <GUID, URL or a valid SPWebApplication object of the source Web application> -SourceSPSite <GUID, URL or a valid SPSite object of the source site> -DestinationCentralAdministrationURL <URL of the Central Administration Web site on the destination server> -DestinationSPWebApplication <GUID, URL or a valid SPWebApplication object of the destination Web application> -DestinationSPSite <GUID, URL or a valid SPSite object of the destination site> -PathAccount $credentials

    Create a new content deployment path by using Central Administration in SharePoint 2010

    ·         Verify that you have the following administrative credentials:
    o   You must be a member of the Farm Administrators group on the Central Administration server.
    ·         On the Central Administration Web site, in the General Application Settings section, click Configure content deployment paths and jobs.
    ·         On the Manage Content Deployment Paths and Jobs page, click New Path.
    ·         On the Create Content Deployment Path page, in the Type the name of this path box, type a name for the content deployment path.
    ·         In the Type the description of the content deployment path box, type a description of the content deployment path.
    ·         In the Source Web Application and Site Collection section, in the Source web application list, click a source Web application.
    ·         On the Source site collection menu, click a source site collection.
    o   The Web application and site collection determine the source location from which the content will be deployed. After you make your selections, the source location is displayed under URL.
    ·         In the Destination Central Administration Web Application section, in the Type the URL of the Destination Central Administration Server box, type the URL of the destination Central Administration server. In the Authentication Information section, select one of the following:
    o   Use Integrated Windows authentication   Select this option if you want to use Integrated Windows authentication to connect to the destination server. Credentials sent by using Integrated Windows authentication will be encrypted before being sent to the destination server for authentication.
    o   Use Basic authentication   Select this option if you want to use Basic authentication to connect to the destination server. Credentials sent by using Basic authentication are not encrypted, and therefore are not secure.
    ·         Enter the user name and password for the account that will be used to connect to the destination server, and then click Connect.
    ·         In the Destination Web Application and site collection section, in the Destination Web application list, click a destination Web application.
    ·         In the Destination Site Collection list, click a destination site collection.
    ·         In the User Names section, select the Deploy user names check box if you want user names that are associated with content to be included when this path is used for content deployment jobs.
    ·         In the Security Information section, in the Security information in the content deployment list, click one of the following, and then click OK.
    o   All   This is the default selection. All of the security information that is associated with the content is deployed with the content.
    o   Role Definitions Only   Only role definitions (role definitions are collections of permissions) are deployed with the content. Users and groups, including those that are associated with the role definitions, are not deployed with the content.
    o   None   No security information that is associated with content is deployed with the content.

    Configure content deployment settings in SharePoint 2010

    Use the following procedure to configure content deployment settings.

    ·         Verify that you have the following administrative credentials:
    o   You must be a member of the Farm Administrators group on the Central Administration server.
    ·         On the Central Administration Web site, click General Application Settings.
    ·         On the General Application Settings page, in the Content Deployment section, click Configure content deployment.
    ·         On the Content Deployment Settings page, in the Accept Content Deployment Jobs section, do one of the following:
    o   To accept deployment jobs, select Accept incoming content deployment jobs.
    o   To reject deployment jobs, select Reject incoming content deployment jobs
    ·         To specify the server as either an import or export server, do one of the following:
    o   If you are using the server to receive incoming deployment jobs, in the Import Server section, on the Server you want to use to manage import of content deployment jobs menu, click the server that will receive jobs.
    o   If you are using the server to send deployment jobs, in the Export Server section, on the Server you want to use to manage export of content deployment jobs menu, click the server that will send jobs.
    ·         In the Connection Security section, do one of the following:
    o   To use the HTTPS protocol, select Require encryption (recommended).
    o   To use the HTTP protocol, select Do not require encryption.
    ·         In the Temporary Files section, type the temporary file path that both the import and export servers (as applicable) will use for storage of temporary files.
    ·         In the Reporting section, in the Number of reports to retain for each job box, type the number of reports that you want to keep for each content deployment job that originates from this farm, and then click OK.