Sharepoint 2007 : disable automatic cleanup of workflow history

27. June 2008
To keep a detailed history of the approval processes, It could be necessary to keep the workflow history after 60 days (predefined cleanup in MOSS 2007). See the following article : http://technet.microsoft.com/en-us/library/cc298800.aspx The main point of attention is the fact that "workflow history" is a Sharepoint List and could it decrease MOSS's site performance if the list exceeds 2000 items.  

SharePoint

Error on MOSS workflow using Active Directory Groups (domain groups)

27. June 2008
Lightweight Directory Access Protocol Clients that use the DirectorySearcher class to query the Active Directory directory service may receive an incomplete result set. It could be identified by the following error :  System.DirectoryServices.DirectoryServicesCOMException (0x800700EA): More data is available.   This problem appears on MOSS 2007 while a workflow is processed and a domain group was used to define the approvers.   To correct the problem, go to the web.config of the target webapp (the path could be something like : C:\Inetpub\wwwroot\wss\VirtualDirectories\webappname) and apply the following changes :    Add this first green block above the red tag […]   <section name="system.directoryservices" type="System.DirectoryServices.SearchWaitHandler, System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7... [More]

.NET Projects, Office, SharePoint , ,

Internet Explorer : ouvrir un document Excel depuis un lien hypertext.

27. June 2008
Voici comment ouvrir un document Excel sous forme de lien hypertexte à partir d'un script javascript puis vbscript. Il est important que le niveau de sécurité du navigateur autorise l'execution de composants ActiveX. Ces scripts peuvent être utiles dans un contexte ou seul Internet Explorer est utilisé. (contrainte d'execution ActiveX). JAVASCRIPT <script language="javascript" type="text/javascript"> <!-- function OpenExcelDocument(documentUrl) {         if (!window.ActiveXObject)     {         alert('Attention ! Les paramètres de sécurité de votre poste n\'autorisent pas le lancement de composants ActiveX.');         return;     }     excelApp = new ActiveXObject("Excel.Application");      ... [More]

COM, Javascript, Office, Win32 , , ,