Posts Tagged ‘SharePoint’
REST API for SharePoint
Wednesday, September 9th, 2009How to change the number of urls displayed in the Table of contents webpart
Thursday, September 3rd, 2009The default number of urls displayed in the table of contents webpart is 50. When you have more than 50 sites in your sitedirectory not all of your sites will be listed. Therefore we want to change that default number.
This can easily be done by using the "DynamicChildLimit" attribute. This attribute takes a number. When you set it to 0, this means that there is no limit.
You can find the attribute in the web.config file (under ..\Inetpub\wwwroot\wss\VirtualDirectories\80) and look for following section:
<providers>
<add name="SPNavigationProvider" … />
<add name="SPSiteMapProvider" … />
<add name="SPContentMapProvider" … />
<add name="SPXmlContentMapProvider" … />
<add name="AdministrationQuickLaunchProvider" … />
<add name="SharedServicesQuickLaunchProvider" … />
<add name="GlobalNavSiteMapProvider" … />
<add name="CombinedNavSiteMapProvider" … />
<add name="CurrentNavSiteMapProvider" … />
<add name="CurrentNavSiteMapProviderNoEncode" … />
<add name="SiteDirectoryCategoryProvider" … />
<add name="MySiteMapProvider" … />
<add name="MySiteLeftNavProvider" … />
<add name="UsagePagesSiteMapProvider" … />
</providers>
Now paste the attribute in the 4 bold providers. Here’s an example:
<add name="GlobalNavSiteMapProvider" description="CMS provider for Global navigation" type="Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapProvider, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" NavigationType="Global" EncodeOutput="true" DynamicChildLimit="0" />
Just execute an iisreset and you are done!
SharePoint Training
Thursday, September 3rd, 2009This vacation I discovered this SharePoint-trainig. I think it can be handy for starters. You can install it on your desktop or directly on your server.
http://office.microsoft.com/en-us/sharepointserver/HA102488011033.aspx
Beginning users get a glimpse of what SharePoint can do for you!
SharePoint Email Users Limit
Tuesday, November 25th, 2008When your SharePoint website has many users and you try to email to them by using the "Email Users" action, you may be having some difficulties doing so.
There is an limitation to the number of characters the "mailto"-string can contain. This is 2083 characters.
function BtnEmailClick(viewId)
{
var emails = GetSelectedUsers(viewId, "email", ";");
if (emails.length == 0)
{
alert(noUserEmailSelectedMsg);
return false;
}
emails = "mailto:" + escapeProperly(emails);
window.location = emails;
return false;
}
http://support.microsoft.com/default.aspx?scid=KB;en-us;q208427
More info : http://www.mysharepointblog.com/post/2007/10/Workaround-For-SharePoint-Group-Email-Limits.aspx
Custom workflow status in SharePoint
Monday, November 24th, 2008Below you can find a good description on how to add a custom workflow status to your workflow by making use of the ExtendedStatusColumnValues.
In the SetState Activity, you can set the state to your custom state number.
Hotfix for error message "The ‘UserSelectionMode | UserSelectionScope’ attribute is not allowed"
Monday, November 24th, 2008Feature definition with Id 50af2204-cb5a-46e2-abe0-73735129d1fc failed validation, file ‘columns.xml’, line 8, character 3: The ‘UserSelectionMode’ attribute is not allowed.
Description of the Windows SharePoint Services 3.0 hotfix package: April 12, 2007