Sharepoint: Table of list template IDs

Template ID

Description

1200

Administrator tasks list

104

Announcements list

303

Blog Categories list

302

Blog Comments list

301

Blog Posts list

105

Contacts list

120

Custom grid for a list

118

Custom Workflow Process

130

Data Connection library

110

Data sources

108

Discussion board

101

Document library

106

Events list

150

Gantt Tasks list

100

Generic list

1100

Issue tracking

103

Links list

114

List template gallery

116

Master pages gallery

201

Meeting Agenda list

202

Meeting Attendees list

204

Meeting Decisions list

207

Meeting Objectives list

200

Meeting Series list

210

Meeting text box

211

Meeting Things To Bring list

212

Meeting Workspace Pages list

117

No-Code Workflows

2002

Personal document library

109

Picture library

300

Portal Sites list

2003

Private document library

111

Site template gallery

102

Survey

107

Tasks list

112

User Information list

113

Web Part gallery

119

Wiki Page library

140

Workflow History

115

XML Form library

Advertisements

PNG Files Do Not Show Transparency in Internet Explorer 8

Issue:

If you browse to a Web page (using Internet Explorer 8) that contains an image that has a transparent background in PNG format, the image background may appear to be gray rather than transparent.

Solution:

Add the below code to the Image CSS:

filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.png', sizingMethod='scale');

SharePoint – CQWP – XSLT in ItemStyle to Format Created Date

The goal is to display the created date with the full month and day:

Add the following namespace attribute to the root xsl:stylesheet element in ItemStyle:

xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"

Create an xsl:variable element:

<xsl:variable name="Created">
<xsl:value-of select="ddwrt:FormatDateTime(string(@Created) ,1033 ,'MMMM dd')" />
</xsl:variable>

Use the variable:

<xsl:value-of select="$Created"/>

SharePoint 2010 – WebPart Header Rounded Corners

Lets use some fancy CSS3 properties to add rounded corners to the Webpart header bar. This solution wonโ€™t work in IE7 or IE8 but should work in IE9, Firefox, Safari, and Chrome.

Have a look:

.ms-WPHeader td { 
	background: #89CE2E; 
	border-bottom: none !important;  
}
.ms-WPHeader td.ms-wpTdSpace { 
	-moz-border-radius-topright: 5px; 
	-webkit-border-top-right-radius: 5px; 
	border-top-right-radius: 5px; 
}
.ms-WPHeader td:first-child.ms-wpTdSpace { 
	-moz-border-radius-topright: 0px; 
	-webkit-border-top-right-radius: 0px; 
	border-top-right-radius: 0px; 
	
	-moz-border-radius-topleft: 5px; 
	-webkit-border-top-left-radius: 5px; 
	border-top-left-radius: 5px; 
}
.ms-WPHeader h3, .ms-WPHeader h3 a { 
	color: #fff; 
}
.s4-wpcell:hover .ms-WPHeader .ms-WPHeaderTdMenu:hover { 
	background: #89CE2E; 
}

SharePoint 2013 – BootStrap – Search Box drop down options not displaying on certain pages

OK, I have run into another boggling situation where the default Search Box dropdown is not giving me the search options on my home page… but it is showing on most of the other pages in the site collection?

After some digging in the guts of the master page and and searching the inter-webs… I have a solution ๐Ÿ™‚

Just add a reference to ajaxcontroltoolkit in your master page and bob’s you uncle:

<script type="text/javascript">
          SP.SOD.executeOrDelayUntilScriptLoaded(function () {
         SP.SOD.executeOrDelayUntilScriptLoaded(function () {
RegisterSod("ajaxtoolkit.js",  SP.Utilities.Utility.getLayoutsPageUrl('ajaxtoolkit.js'));
}, 'strings.js');
}, 'sp.js');
</script>

Please note that if you are using Design Manager please add the below code to Bootstrap.html instead:

<!--MS:<SharePoint:ScriptLink language="javascript" name="ajaxtoolkit.js" OnDemand="true" runat="server" Localizable="false">-->
<!--ME:</SharePoint:ScriptLink>-->

If you get a chance please check out this CodePlex project: http://responsivesharepoint.codeplex.com/

SharePoint 2010- Link directly to InfoPath form template

OK so you have an InfoPath form and you need to put a link directly to the form on the main page of the site. We don’t want to link to the library itself and then get people to click the “Add Document” link on the bottom of the list because that is way too many steps and life will be better with less steps… ๐Ÿ™‚

We can do this Two Ways:

  • Choice 1:
    1. In InfoPath Designer, click the File tab.
    2. In the actions column, click Publish, and then click SharePoint Server
    3. In the Publishing Wizard, type the URL of the target SharePoint website, and then click Next.
    4. Verify that the Enable this form to be filled out by using a browser check box is selected, and that Form Library is selected.
    5. Click Next twice.
    6. Click Publish.InfoPath Designer first creates a new form library on the website and then publishes the resource planning form in the library.
    7. In the Publishing Wizard, click Open this form in the browser.The form opens in the default browser.
    8. Copy the entire contents of the browser’s address bar, and Voilร . The address bar contents should resemble the following.
      http://teamsite/_layouts/FormServer.aspx?XsnLocation=http://teamsite/ContosoResourcePlanning/forms/template.xsn&OpenIn=browser&SaveLocation= http://teamsite/ContosoResourcePlanning&Source=http://teamsite/ContosoResourcePlanning
      
  • Choice 2:
    1. Navigate to the SharePoint Library in your web browser
    2. At the bottom of the SharePoint Library, click the Add document button.
    3. The form will open in your browser.
    4. Copy the entire contents of the browser’s address bar, and paste it into Notepad. The address bar contents should resemble the following:
      http://teamsite/_layouts/FormServer.aspx?XsnLocation=http://teamsite/ContosoResourcePlanning/Forms/template.xsn&SaveLocation=http://teamsite/ContosoResourcePlanning&ClientInstalled=true&Source=http://teamsite/ContosoResourcePlanning/Forms/AllItems.aspx&DefaultItemOpen=1
      
    5. We need to chop up the URL and Add a few things:
      1. We want the form to always open in the browser so we need to add “&OpenIn=browser“.  Just paste it in between …/template.xsn and &SaveLocation=…
      2. SharePoint loves being a snot and opening forms on the client machine so just to be safe Please remove “&ClientInstalled=true“. This don’t always happen but for good measure we are going to remove it because it don’t actually need to be there ๐Ÿ™‚
      3. We are also going to remove “&DefaultItemOpen=1
      4. Your URL should now resemble the following:
        http://teamsite/_layouts/FormServer.aspx?XsnLocation=http://teamsite/ContosoResourcePlanning/Forms/template.xsn&OpenIn=browser&SaveLocation=http://teamsite/ContosoResourcePlanning&Source=http://teamsite/ContosoResourcePlanning/Forms/AllItems.aspx
        

That’s it… No honestly that’s it… Paste your URL where you need to place it and you are set. ๐Ÿ˜€