Archive for July, 2008

Business Process Management Does Not Equal Workflow

July 31, 2008

Prendo spunto dal sito di Igor Macori per segnalare un buon articolo per chiarirsi le idee che è stato pubblicato da Bob Mixon, e di cui consiglio caldamente la lettura a tutti, chi è più esperto sul tema sa di cosa stiamo parlando, ma considerando il crescente numero di persone che si avvicina a workflow e BPM (Business Process Management) è bene ritornare sull’argomento.

Advertisements

Batch File compiler

July 30, 2008

This article shows how to compile a bat file into an executable file. The compiled executable can run without showing a windows and you can pass command line parameters to it as you would pass them to the bat file.

The way this program compiles bat file is quite tricky and weird so I call this program a “Mock compiler”. Bat file is not even parsed. This program creates another program and adds the specified bat file as an embedded file in that program. When the generated program is executed, it extracts the embedded bat file to a temp folder and runs it using the Process class. Simple, isn’t it?

Download

Free IP PBX for Windows – Leverage VOIP across your company

July 29, 2008

3CX Phone System is a IP PBX for Windows that allows you to set-up a professional phone system using SIP phones (software or hardware) and use a VOIP providers or VOIP gateway to make external calls. Main features:

  • Based on the SIP standard – works with all popular SIP phones, gateways and providers
  • Runs on Windows – no need to dedicate a PC or learn Linux!
  • Includes enterprise phone system features such as voice mail, auto attendant and more

3CX Phone System FREE edition is a full functional product – it supports an unlimited number of extensions and does NOT time out. Its is supported via the 3CX Forums.  Take a product tour, or fill in your name to download it and try it out today!

Great SharePoint 2007 Web Part series

July 29, 2008

Sahil Malik, on his new blog, is on a tear writing quite a few detailed nuts-and-bolts articles on ASP.NET 2.0 Web Part development with focus on MOSS 2007:

ASP.NET 2.0 WebPart Communication: The Preface to Sharepoint 2007 WebPart communication
Writing Custom Webparts for Sharepoint 2007
Sharepoint 2007 WebParts Communication
Writing custom editors for Sharepoint 2007 and ASP.NET 2.0 WebParts
Sharepoint 2007 WebPart Connections – The Theory before the Code

Flash PhotoGrid integrated with SharePoint’s Picture Library (Version 1.0)

July 28, 2008

This is an easy to use Web Part that displays the contents of a Picture Library in a grid format using Adobe Flash Version 6 or greater.

Just set a few simple properties and the web part will show a grid of a specified number of pictures in the Picture Library with an optional dynamic preview of each picture. You can set the size of the grid window along with Display time if using the dynamic preview feature.

Its a great way to display picture sets of your products, employees, social events etc…

Download Flash PhotoGrid 1.0 for SharePoint 2003 

Download Flash PhotoGrid 1.0 for SharePoint 2007 

(Due to a bug in SharePoint 2007 these WebParts will not work correctly for anonymous users)

Installation Instructions

Intallation must be done from the SharePoint Server and requires SharePoint admin priviliges.

  • Unzip the contents of FlashPhotoGrid.zip. This file contains a batch file to help installation and also the Web Part cab file installation.
  • Run the InstallWebPart.cmd file.
  • Check the results of the command it should display:
    installflash-photogrid.cab Deploying to http://<yourwsssite&gt;
    Operation completed successfully
  • The batch file contains a command line to call the WSS admin program stsadm.exe using the addwppack command to install the Web Part to all virtual servers on the machine.
Permissions

Since this web part is not installed into the GAC and uses the Sharepoint object model to allow the user to select the Picture Librarys permissions may need to be configured if your virtual server is running with WSS_Minimal trust settings.
By default Sharepoint is installed with a restrictive set of allowed permissions as defined in the WSS_Minimal config file.
For details about configuring the SharePoint config files see Web Part Configuration Details

Adobe Flash

If you have trouble getting Flash to work please try this Adobe support page http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_15511

Data Migration Manager cambiare organizzazione in un ambiente “Multitenancy”

July 27, 2008

Il Microsoft Dynamics CRM Data Migration Manager è una applicazione molto poco flessibile. Lo si evince in modo particolare quando una azienda acquista la versione Enterprise di Microsoft Dynamics CRM 4.0 per sfruttare il “Multitenancy”. In questo scenario si creano più Organizzazioni (che rappresentano le varie società della capogruppo) che molto spesso lavorano anche in categorie merceologiche diverse tra di loro. Ebbene si dovrà certamente importare i dati almeno per le entità Accounts e Contatti da altri CRM o PIM. Utilizzando il Microsoft Dynamics CRM Data Migration Manager ogni volta che si importano i dati per una di queste società, per importare i dati di un’altra società è necessario disinstallare, reinstallare e configurare l’applicazione. Per evitare di fare tutto questo vi consiglio di procedere in questo modo.

Subito dopo la prima installazione del Microsoft Dynamics CRM Data Migration Manager, prima di procedere con il Wizard per la sua configurazione fate una esportazione della seguente chiave di registro:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Data Migration Wizard]

e salvatela in un file che chiamerete per esempio DataMigrationWizard.reg, configurate poi il Microsoft Dynamics CRM Data Migration Manager e procedete alla importazione dei dati relativi alla prima società. Quando dovete passare ad importare i dati per una nuova società non dovete far altro che cancellare dalla istanza di SQL Server 2005 il database MSCRM_MIGRATION.mdf e successivamente fare doppio click sul file DataMigrationWizard.reg. Sarete a questo punto pronti per eseguire il Data Migration Manager Wizard per configurare l’importazione dei dati di una nuova società, e così via per le società successive, senza dover disinstallare e reinstallare il Microsoft Dynamics CRM Data Migration Manager per ogni nuova società.

Microsoft SharePoint 2007 – Sample Event Handler to set Permissions

July 26, 2008

I recently had to dig up something I learnt in the past so, here it is – a good example posted by Ishai Sagi to show a great example for:

  • Getting a list item in the event handler
  • Impersonating another user totally (without using RunWithElevatedPrivilages)
  • Changing permissions for an item
  • Creating a new permission role in a web site
  • Checking if a role exists or not

http://www.sharepoint-tips.com/2007/03/sample-event-handler-to-set-permissions.html

Microsoft SharePoint 2007 – Changing service accounts and service account passwords in SharePoint

July 25, 2008

This Microsoft KB talks about changing the service account/service account password for WSSv3 and MOSS2007:
http://support.microsoft.com/kb/934838

Joel Oleson’s article talks about some additional tips including updating Search Service credentials:
http://blogs.msdn.com/joelo/archive/2006/08/22/712945.aspx

Nuovi e importanti aggiornamenti per SharePoint, Project Server e Search Server

July 24, 2008

Sono stati rilasciati alcuni importanti aggiornamenti per WSS 3.0, per MOSS 2007, per Project Server 2007 e per Search Server 2008.

Segnalo in particolare il Search Features pack rilasciato per MOSS che lo porta in linea con le funzionalità già rilasciate per Search Server 2008 (Federated Search).

Tra gli aggiornamenti vanno segnalate diverse correzioni ai problemi delle funzionalità per il Content Deployment.

L’update per Project Server risolve numerosi problemi di usabilità e di performance.

Ecco i link per il download:

ed i link alla documentazione:

ed infine i link agli articoli di KB:

Installare MS Office Sharepoint Server 2007 utilizzando i Database Administrator created database

July 23, 2008

Durante il setup di MOSS vengono creati applicativamente una serie di database su SQL Server (vedi sotto), tanto che tra i requisiti dei service accounts c’è l’attribuzione dei permissions roles DB Creator e Security Administrator su SQL Server.

  • Configuration database: (Used by WSS and MOSS.) Contains SharePoint configuration settings, such as front-end and back-end servers, mail servers, and portal site names. The name for this database is SharePoint_Config.
  • Content database: (Used by WSS and MOSS.) Contains the actual data, stored in the portal site and the team sites. Default name prefix: WSS_Content.
  • Shared Services database: (Used by MOSS.) Used to store information about the Shared Service provided; its default name is SharedServices1_DB.
  • Shared Services Search database: (Used by MOSS.) Stores search index and related content in the database SharedServices1Search_DB.
  • Shared Services Content: (Used by MOSS.) Stores general information for the Shared Services Provider instances in the database SharedServices_Content.
  • Administrative Content: (Used by MOSS.) Stores content related to central administration in the database file SharePoint_AdminContent.

In diverse realtà aziendale le policies impediscono l’attribuzione di tali permissions ad utenti “fuori controllo”. E i Database Administrator dell’azienda spesso pongono il veto al deployment standard di SharePoint.

In questi contesti è però possibile creare i database in forma controllata. La procedura è tra quelle supportate ufficialmente e recentemente è stato pubblicato un articolo su Technet dove approfondire la cosa.