Problem
The Save Document Library as Template option is not available on the default Documents library that gets created by the site publishing feature.
Cause
This is a known issue in SP 2010 and a work-around has been provided.
Work-around
Open the document library -> Library Settings
On your address bar, change the link from [...]
Requirement
Create a content query webpart that pulls data stored in Richtext format. Data must be displayed without html codes.
Solution
Modify the XSLT to use the ‘disable-output-escaping=”yes” tag:
For example: <xsl:value-of select=”@Description” disable-output-escaping=”yes”/>
Requirement
Create a calculated column called ‘Progress Report No’ based on the following format:
yyyy.MM.W(WeekOfMonth).
e.g. A report created on 4/8/2011 would be, 2011.8.W1
Solution
The formula for the calculated column is:
=TEXT(Created,”yyyy”)&”.”&MONTH(Created)&”.W”&ROUND((DATEDIF(DATE(YEAR(Created),MONTH(Created),1)-(WEEKDAY(DATE(YEAR(Created),MONTH(Created),1),1))+1,Created+(7-WEEKDAY(Created,2)),”D”)+1)/7,0)
This is a simple one but many people get the syntax wrong when they try to export individual document libraries / lists.
Syntax:
To backup a document library called ‘Library1′ in ‘Subsite’.
export-spweb <http://sharepoint site/site collection/subsite/ -itemurl “/site collection/subsite/library1″ -path c:\sharepoint\library1.cmp
To backup a document library called ‘Library 2′ in ‘Site Collection’.
export-spweb <http://sharepoint site/site [...]
Requirement
An old migrated library is populated with several thousand documents with the default content type set to ‘Document’. All the documents now need to be assigned a specific content type.
Solution
Found a powershell script that does the trick:
http://get-spscripts.com/2010/10/change-content-type-set-on-files-in.html
Categories
Recent Posts
- Save document library as template option not available
- Short break
- Speed up SharePoint using the IIS Blobcache
- Could not generate mail report.An exception occurred while executing a Transact-SQL statement or batch.No global profile is configured. Specify a profile name in the @profile_name parameter.
- Microsoft SharePoint is not supported with version 4.0.30319.296 of the Microsoft .Net Runtime.
Popular Posts
- SharePoint Keeps Prompting for Credentials Problem SharePoint keeps prompting you for credentials in the following scenarios: You ...
- Security Token Service Application- Broken Problem Had an issue today on one of my developer's VMs. ...
- User Profile Service Stuck on Starting Problem You have followed Harbar's Rational Guide to setting up the ...
- Event 8313 Topology – Load Balancer EndpointFailure – SearchService.svc Problem Encountered the following error while analysing the logs on our ...
- Event 6398 and 5586 SharePoint Foundation Problem Event logs were getting filled with the following errors: Event 5586, ...
- The security validation for this page is invalid Problem: After applying SharePoint 2010 Service Pack 1 and June 2011 ...
- The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. Problem You install .NET Framework 4.0 on your SharePoint 2010 WFE ...
- Start a workflow using PowerShell Requirement Start a workflow on all / specific items in a ...
- Using Export-SPWeb to export libraries / lists This is a simple one but many people get the ...
- Unable to change User Profile Service Account Problem So you made a mistake by trying to change the ...
Tags
Backup and Restore Branding Content Management Content Organizer database Debugging Document Conversion Service DPM Event 7362 Expiration Policy IIS InfoPath Information Management Javascript KB2266203 Masterpage Migration Mysite OCS Office Page Layouts PowerPivot Powershell RBS Records Center Regional Settings Search Search Center Security Send-to Connection SharePoint Diagnostic Studio SharePoint Manager Solutions SPD Uploading Usage and Health Data Collection User Profile Service Visual Upgrade Web Analytics Web Content Management Webdav Webparts Workflow WSS XSLT
