Installare Microsoft Dynamics CRM List Component (vs Sharepoint 2010)

Una delle features più importanti, o quanto meno notevole, di MS Dynamics CRM 2011, è la totale integrazione “nativa” con Sharepoint 2010. Già nella V4 di Dynamics CRM possiamo parlare di integrazione con Sharepoint, così come non soltanto limitarci alla V2010 di Sharepoint ma anche alla V2007. Differenze??? Molte. Di che genere??? Riassunte nella tabella successiva:

Sharepoint 2007 Sharepoint 2010
CRM V4 IFrame IFrame
CRM 2011 IFrame List Component

Quando parliamo quindi di integrazione tra CRM e Sharepoint, non facciamo altro che riferirci al contenuto di una Document Library o di una Lista che verrà inclusa probabilmente in un IFrame di un form di una qualsiasi entità in CRM oppure nella “HomePage” di un qualsiasi link attivato da una personalizzazione della SiteMap.

Per ottenere il massimo dall’integrazione tra MS Dynamics CRM 2011 e Sharepoint 2010 ed ottenere la classica “Lista” di Sharepoint integrata in CRM con tutte le relative features proprie dello stesso Sharepoint 2010 è necessario installare MS Dynamics CRM List Component SUL SERVER SHAREPOINT.

Ecco di seguito gli step by step per installare il List Component:

1) Occorre innanzitutto effettuare il download
2) Copiare o spostare il file appena “scaricato” sul Server Sharepoint
3) Doppio click sul file e scegliere quindi una cartella nella quale decomprimere i files (3 in totale)
4) Nel browser (IE) aprire quindi la URL relativa alla Site Collection sulla quale installare il List Component
5) Cliccare quindi su Azioni Sito (in alto a sinistra) e poi dal menu Impostazioni Sito
6) Dalla sezione Raccolte selezionare Soluzioni
7) Cliccare sul tab SOLUZIONI e poi quindi su CARICA SOLUZIONE
8) Uploadare quindi il file precedentemente de-compresso: crmlistcomponent.wsp
9) Cliccare quindi su ATTIVA

Se si sta utilizzando la versione On-Premise di Sharepoint si deve quindi anche aggiungere l’estensione .htc tra i file consentiti:

10) Dalla cartella dove sono stati estratti i files del List Component, copiare il file AllowHtcExtn.ps1 (che è essenzialmente uno script) (suggerimento: creare una directory “temporanea” nella root c:\ – da cancellare una volta “lanciato” il comando)
11) Dalla Windows PowerShell o dalla Sharepoint Management Console eseguire il comando:
AllowHtcExtn.ps1 http://servername
dove http://servername  è  il nome della WEB Application URL

A questo punto è possibile tornare nell’area IMPOSTAZIONI di MS Dynamics CRM 2011 e quindi configurare la GESTIONE DEI DOCUMENTI nella SubArea SISTEMA, aggiungendo un nuovo sito di Sharepoint (Site Collection)

Extreme CRM Conference – Prague (3-6 April 2011)

 

Dal 3 al 6 Aprile si svolgerà a Praga (Repubblica Ceca) la prima edizione in Europa della conferenza EXTREME CRM, dedicata ai Partners Europei MS Dynamics CRM. 4 Tracks differenti: Business Leaders,  Sales & Marketing, Developer ed Implementer.

Sono il responsabile tecnico dell’agenda per le track Developer ed Implementer e sul palco saranno presenti MVP e speaker Microsoft.
In occasione del lancio di MS Dynamics CRM 2011 saranno presentati gli argomenti più “caldi” ed interessanti della nuova piattaforma.
Sono state organizzate anche 2 sessioni HOL (Hands On Lab) in cui i partecipanti potranno confrontarsi direttamente con gli esperti in scenari reali. E’ prevista anche una sessione ATE (Ask The Expert).

From 3 to 6 of April will be hosted in Prague (Czech Republic), the first edition in Europe of EXTREME CRM, dedicated to Partners about MS Dynamics CRM. There will be 4 different tracks: Business Leaders, Sales & Marketing, Developer and Implementer.

I’m the technical lead for Developer and Implementer tracks and on the scene we will meet MVP and Microsoft speakers.
We will speak about  most interesting and “hot” topics in 40 different sessions about the new platform MS Dynamics CRM2011.

There will be also 2 HOL Sessions (Hands on  Lab), in which attendees and partners could interact directly with experts working and talking about real world scenarios. An ATE (Ask the Expert) session completes this rich program.

TroubleShooting Email Router in MS Dynamics CRM 4.0


Problema: Cliccando su CARICA DATI nel Configuration Manager dell’Email Router non è possibile collegarsi all’Organizzazione indicata nella Gestione Distribuzioni.

Scenario di Esempio:
3 Server: 1 Microsoft Dynamics CRM Server + Email Router, 1 Domain Controller, 1 SQL Server + Reporting Services.

1)      CRM Server è installato su porta di default dell’installazione (5555), è anche configurato un certificato Self-Signed per la connessione SSL su porta 443.

2)      Sul server “in locale” l’organizzazione di default è accessibile tramite URL
a.       http://servercrm:5555
b.      https://crm.mioserver.com (configurato un DNS Esterno) (facoltativo)

WORKAROUND:

1)      Database MSCRM_Config

Nel DB MSCRM_Config verificare nella tabella DeploymentProperties che siano rispettate le seguenti condizioni:

ColumnName Value
ADRootDomainScheme http
ADSdkRootDomain Servercrm:5555
ADWebApplicationRootDomain Servercrm:5555
AsyncSdkRootDomain (Blank) or servercrm:5555

Nel caso non si avesse accesso “diretto” al SQL Server ma si è amministratori di macchina locale dove è installato il CRM Server allora è possibile utilizzare il MICROSOFT DYNAMICS CONFIGURATION TOOL:

949079 (http://support.microsoft.com/kb/949079/ ) How to use the Microsoft Dynamics CRM Deployment Configuration tool for Microsoft Dynamics CRM 4.0”

Utilizzare poi da riga di comando le seguenti istruzioni:
- microsoft.crm.deploymentconfigtool.exe addresssettings update –sdkrootdomain:servercrm:5555
- microsoft.crm.deploymentconfigtool.exe addresssettings update -webapprootdomain:servercrm:5555

2)      “MICROSOFT CRM EMAIL ROUTER” Service:
Il Servizio dell’email router può essere eseguito con 3 diversi account: LOCAL SYSTEM, NETWORK Service ed un account “dedicato” che viene creato per motivi di sicurezza.
Può essere impostato l’account: LOCAL SYSTEM

3)      “MICROSOFT CRM ASYNCHRONUS PROCESSING”  (Servizio Elaborazione Eventi Asincroni di Microsoft CRM (ITA):
In caso di “Gestione Sicurezza” avanzata per il server SQL è opportuno creare un utente ad-hoc per il servizio in questione.
a.       Creare un utente che sia amministratore della macchina locale (utente di dominio membro del gruppo administrators del server dove è installato l’email Router)
b.      Assicurarsi che lo stesso utente abbia i permessi di dbdatareader e dbdatawriter sul server SQL ed in particolare sia per il database MSCRM_Config, sia per il database dell’organizzazione per la quale si vuole
gestire l’email router

4) L’utente che utilizza la Gestione Configurazione Router di Posta Elettronica per Microsoft Dynamics CRM deve appartenere al gruppo PRIVUSERGROUP creato da CRM durante l’installazione

5) Non è necessario che l’utente sia anche amministratore della distribuzione

6) Registro di Configurazione:

Verificare che in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM
La chiave ServerURL abbia il valore: http://servercrm:5555/MSCRMServices

In questo modo dovrebbe essere risolto il problema indicato.

CONSIDERAZIONI:
E’ molto utile fare alcune considerazioni di carattere “tecnico” e cioè:
Questi problemi legati all’email router si verificano frequentemente quando si ha a che fare con pubblicazioni IFD o con esposizione dell’organizzazione verso l’esterno (anche non in presenza di pubblicazione IFD). Questo perché probabilmente (come indicato all’inizio di questo articolo), si vuole raggiungere il server CRM con Autenticazione di Windows e magari anche su protocollo https.

a)      L’amministratore del Server CRM (ma anche quello della distribuzione) dovrebbe avere i permessi per accedere al Server SQL e ai database del CRM (Config + singole distribuzioni)

b)      La configurazione dei 2 servizi (Email Router e Asincrono) va fatta sin da un principio CORRETTAMENTE, per non imbattersi in ulteriori “inutili” problemi durante il deployment oppure durante l’utilizzo giornaliero da parte degli utenti

c)       E’ molto importante non sottovalutare il fatto che l’Email Router non si connette all’organizzazione, anche se tutto “sembra” funzionare, come invii e ricezione di posta elettronica sia per gli utenti che per le code. Infatti questo genera una moltitudine di errori nell’Event Viewer perlopiù sconosciuti o in ogni caso non riconducibili alla non corretta configurazione dell’Email Router.

Issue: Clicking on Load Data in the Email Router Configuration Manager receive an error that it’s impossible to connect to the Organization – The Event Viewer gives poor infos.

Example Scenario:
3 Server: 1 Microsoft Dynamics CRM Server + Email Router, 1 Domain Controller, 1 SQL Server + Reporting Services.

1)      CRM Server with default organization installed on default port (5555), it’s also installed ed configured a self-signed Certificate for SSL Connection on port 443.

2)      Locally, on Server, default organization is accesible with following URLs:
a.       http://servercrm:5555
b.      https://crm.myserver.com (External DNS Configured) (optional)

WORKAROUND:

1)      Database MSCRM_Config

In the DataBase MSCRM_Config verify that in the DeploymentProperties table will be following conditions:

ColumnName Value
ADRootDomainScheme http
ADSdkRootDomain Servercrm:5555
ADWebApplicationRootDomain Servercrm:5555
AsyncSdkRootDomain (Blank) or servercrm:5555

In case the user could not access directly SQL Server (for security reasons) but he is an administrator of local machine where is installed CRM Server, it’s possible to use MICROSOFT DYNAMICS CONFIGURATION TOOL:

949079 (http://support.microsoft.com/kb/949079/ ) How to use the Microsoft Dynamics CRM Deployment Configuration tool for Microsoft Dynamics CRM 4.0”

Then, from command line launch following instructions:
- microsoft.crm.deploymentconfigtool.exe addresssettings update –sdkrootdomain:servercrm:5555
- microsoft.crm.deploymentconfigtool.exe addresssettings update -webapprootdomain:servercrm:5555

2)      “MICROSOFT CRM EMAIL ROUTER” Service:
Email Router Service could be executed with 3 different accounts (better 3 types ;-) ): LOCAL SYSTEM, NETWORK Service or a dedicated account, created “ad-hoc” before for security reasoned.
It could be leaved the account LOCAL SYSTEM for this Service.

3)      “MICROSOFT CRM ASYNCHRONUS PROCESSING”:
In case of an adavanced Security Management of all infrastructure (and for SQL Server in particular) it’s useful to create an “ad-hoc” user for this service.
a.  Create a user that will be administrator of local machine (domain user member of Administrators Group on that Machine where is installed the Email Router)
b.  The same user must have DBDATAREADER and DBDATAWRITE Permissions on the SQL Server and in particular for MSCRM_Config and for the Organization’s Database which you would manage the email
configuration/distribution.

4) The user that runs the Email Router Configuration Manager must be a member of PRIVUSERGROUP, created by CRM during the installation (like the Computer that runs the Email Router)

5) Windows System Registry:

Verify that in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM
The Key ServerURL has the value: http://servercrm:5555/MSCRMServices

In this way the problem could be resolved.

CONSIDERATIONS:
It’s very useful making few “technical” considerations, in the detail:
Different issues connected to the email router configuration happen frequently overall when you are trying to configure IFD or if you would like to expose CRM Website on the Internet (without IFD): sometimes IT managers prefers not to use IFD and leave Windows Authentication also with encryption (SSL & htpps)

a)      The CRM Adminisitrator (but also the administrators of a specified organization) could have permission to access and manage the CRM Databases on SQL Server. (Config + single organizations)

b)      The exact configuration for 2 services (Email Router and Asynchronus) must be done CORRECTLY starting from the “second after” the completed installation of CRM Server :-)

c)       It’s very important also to consider that sometimes the Email Router doesn’t connect to the organization, but at the same time, every “email fact”  are working correctly. It means that users can send and receive emails from CRM Platform, queues are working fine, but if you check in the Event Viewer, you could find a lot of errors that most of times are not related correctly to Email Router Issues.

xRM Cloud Acceleration Lab in Redmond


From 6 to 9 of Dicember I was honored to be selected as Advisor for the “xRM Cloud Acceleration Lab”, based in Microsoft at Redmond. After 2 days of adventures to reach my final destination (I’ve spent 1 night in Amsterdam due to a snow storm), just arrived in Seattle I found my 2 great friends Kuba Skalbania (MVP) and Tomasz Luchowski, both from Poland.

All days were exciting and full of technical experiences. First Day, before starting the real work in the Lab, Kuba and me presented a session “xRM, CRM Online, BPOS and Office365″.

During the week, Sanjay assigns me the American Company CINCOM, and with Jerry Weinstock (MVP from CRM Innovation) we followed the project of Mr.Greg Doud and Mr.Bibek Dey, in the development of a very complex application.
We decided to build a webservices on top of a “Decisional System” owned by Cincom, and updated it on Azure Platform, installing also certificates (SSL) to secure the connection between Azure Environment and CRM2011. Consuming the webservice, the XML give different parameters to characterize different fields of CRM2011 (OnLine and On-Prem) of the Account Entity.

With this description it seems very simple…

For this great experience I would like to thank Sanjay Jain (ISV Architect & Evangelist) and also Girish Raja (ISV Evangelist)

Besides it was a great occasion to meet my great friends MVP Matt, Mitch, Ross, David, Shan, Jerry.

For “10 in 10″ video click on the image, it’s an interview with Sanjay, Girish and the fantastic group of MVP, published on Channel9!!

Link al Video "Top 10 in 10" on Channel9

Dal 6 al 9 Dicembre (2010) ho avuto la fortuna di essere selezionato come Advisor per l’xRM Cloud Acceleration Lab, svoltosi in Microsoft a Redmond. Dopo un travagliato viaggio di ben 2 giorni (causa stop forzato per neve ad Amsterdam) , mi sono incontrato con i miei 2 grandi amici polacchi Kuba Skalbania (MVP) ed il suo “socio” Tomasz Luchowski.
A parte il fuso orario, tutta la settimana è stata davvero entusiasmante e ricca di esperienze tecniche.
Il primo giorno di Lab, prima di iniziare il vero e proprio lavoro, Kuba ed io abbiamo presentato la sessione “xRM, CRM Online, BPOS, Office 365“.
Durante la settimana poi mi è stata assegnata l’azienda americana CINCOM, ed in coppia con Jerry Weinstock (CRM Innovation) abbiamo seguito Mr.Greg Doud e Mr.Bibek Dey nello sviluppo di un’applicazione decisamente complessa.
Costruito on-top di un sistema decisionale proprietario di CINCOM un WebServices, abbiamo trasferito il tutto in Azure, installando anche una connessione sicura (SSL) per “consumare” l’XML prodotto dal WebService. Il sistema decisionale fornisce quindi alcuni parametri al CRM (On-Prem e On-Line) per poter differenziare alcune caratteristiche dell’entità Account, visibile esclusivamente ai Sales Manager.

Detta così sembra semplice…

Per questa grande esperienza ringrazio Sanjay Jain (ISV Architect & Evangelist) e poi anche Girish Raja (ISV Evangelist).

Ho poi avuto la possibilità di incontrare nuovamente i miei grandi amici MVP Matt, Mitch, Ross, David, Shan, Jerry.

Cliccando sull’immagine in alto è possibile visualizzare l’intervista pubblicata su Channel9.

Speaker @ Extreme 2010


From 7 to 10 of November I’ll be speaker at Extreme 2010 in Las Vegas. Extreme 2010 is the premier partner event focused solely on Microsoft Dynamics CRM and dedicated to advancing best practices and strategies for Microsoft Dynamics CRM organizations.

I will have 2 sessions:

1) Outlook Client Deployment: Best Practices
2) Microsoft Dynamics CRM 2011 and Microsoft Online Services

The conference is divided in 3 Main Areas:

Technical Readiness: Extreme provides a unique opportunity to gain deep technical readiness on Microsoft Dynamics CRM 2011 in a face-to-face environment – with content delivered by Microsoft product team, technical support and MVP technical experts within the channel.
Business Readiness: You’ll also learn best practices from professionals who are subject matter experts in marketing, sales and business leadership, providing a well-rounded approach to building your practice. You’ll gain insights on how to evolve your business to take advantage of the transforming Microsoft Dynamics CRM strategy including the new marketplace and how to build a successful cloud practice along with growing their current business.
Business Connections: extreme 2010 provides a great multi-day opportunity to connect with other successful CRM partners, creating important business relationships to help your business grow.

For registrations: www.extreme2010.com


Dal 7 al 10 Novembre sarò speaker alla conferenza Extreme 2010 che si terrà all’hotel Tropicana di Las Vegas. L’evento è dedicato ai partner worldwide MS Dynamics CRM ed il tema di tutte le sessioni sarà centralizzato su CRM2011, ultimo nato della famiglia Dynamics CRM, al momento distribuito in versione BETA.

Avrò l’onore e la fortuna di incontrare altri amici MVP come Ronald Lemmen e Matt Parks di Avanade, e conoscere 2 new entries nella famiglia degli MVP CRM. In particolare terrò 2 sessioni:

1) Outlook Client Deployment: Best Practices
2) Microsoft Dynamics CRM 2011 and Microsoft Online Services

Per chi volesse registrarsi all’evento e fare un viaggetto in Nevada il link è: http://www.extreme2010.com

Update Rollup 13 Released

(ENG)
The SE (Sustained Engineering) Team of Microsoft Dynamics released the v13 of Update Rollup. Update Rollup 13 is cumulative and could be downloaded from the link below:

More informations also on the official blog of the team:

http://blogs.msdn.com/b/crm/archive/2010/09/23/update-rollup-13-for-microsoft-dynamics-crm-4-0.aspx

(ITA)
Il Microsoft Dynamics CRM SE Team ha rilasciato la nuova versione (v13) dell’Update Rollup. Questa release è cumulativa e può essere scaricata dai seguenti link:

Maggiori informazioni sul blog ufficiale del Team Dynamics CRM:

http://blogs.msdn.com/b/crm/archive/2010/09/23/update-rollup-13-for-microsoft-dynamics-crm-4-0.aspx

Send HTML email in MS Dynamics CRM

I would like to explain how it’s possible to prepare an email in HTML format to send, for example, in a marketing campaign. This workaround is valid for every kind of HTML Editor.

It’s true that the simplest way to correctly view an email in HTML format in Dynamics CRM is copy and paste from an editor HTML Microsoft, for example Frontpage, that in a Visual Manner it’s not too heavy with the use of CSS (Cascade Style Sheet). If we use applications like Expression Web or Adobe DreamWeaver there is another music… Why??

In last generation HTML Editors, the CSS formats all the page, even if I’m creating a simple page with tables, cells in different colors and so on… I will find in my <head> tag, 3 or 4 blocks of Classes and IDs that the Web page uses to view the page differently.

We have this problem principally with DreamWeaver that uses in an heavy way CSS. What is the solution??

I have a workaround… next in “STEP BY STEP MODE” J

1)      Realize the page in HTML with any kind of HTML Editor

2)      Copy and Paste in Microsoft Word (also 2010)

3)      Save as a New file, the type selected will be HTML

4)      Open this file in Internet Explorer

5)      Select all the elements in the page (I hope correctly visualized)

6)      Paste in the Body of the message (Quick Campaign, Campaign, email) in Dynamics CRM

Inviare HTML email in MS Dynamics CRM
Si immagini di voler preparare una mail in formato HTML da inviare ad esempio tramite una campagna di Marketing. La particolarità del WorkAround in questione è che è applicabile a qualsiasi tipo di editor HTML.

E’ noto che la procedura più semplice per poter visualizzare correttamente una mail in HTML in Dynamics CRM è quella di copiare ed incollare da editor HTML Microsoft, come ad esempio Frontpage, che in “visuale” non è troppo invasivo con l’utilizzo dei CSS (Cascade Stile Sheet) o Fogli di Stile. Se invece utilizziamo oggi programmi come Expression Web (l’erede di Frontpage di casa MS) o altri prodotti complessi tipo Adobe Dreamweaver la storia cambia. Ma perchè cambia???

Ebbene, come dicevo entrano in gioco i CSS che “formattano” da capo a piedi la pagina, anche se creo una normale tabella e metto un semplice sfondo in una cella, magari ridimensiono un po la larghezza di una delle colonne, mi ritrovo già nel tag <head> almeno 3-4 blocchi di classi e ID necessari alla pagina HTML per visualizzare “diversamente” la mia pagina. Peccato che il mio prodotto finale non sarà solo la pagina web ma la finalità è quella di INCOLLARE il risultato in un “Corpo” di un messaggio di una campagna di Marketing o di una Mini-Campagna di posta elettronica.

Ed è qui che chiaramente il risultato finale di copiare ed incollare direttamente (principalmente questo accade con DreamWeaver) dall’editor HTML di ultima generazione purtroppo ha come risultato un email in HTML ma probabilmente senza testo formattato, senza colori di sfondo alle celle di una tabella e così via…

Il WorkAround sembrava semplice, copio e incollo in Word poi ri-copio e ri-incollo in Dynamics CRM, e se utilizzo Office 2010??? Il codice è uno sballo puro… centinaia di righe inutili che hanno come unico effetto quello di produrre lo stesso risultato del copia-incolla da DreamWeaver. E allora che si fa??

Si copia e incolla in Word (2010 o 2007), si Salva con Nome in formato HTML, si apre la pagina con Internet Explorer, si copia in visuale (facendo attenzione a selezionare TUTTO) e poi si incolla nel BODY del messaggio in CRM.

Step by Step:
1) Produrre la pagina HTML in visuale in un QUALSIASI editor HTML
2) Copiare ed Incollare in Microsoft Word
3) Salvare con nome scegliendo come tipo di file HTML
4) Aprire il File in Internet Explorer
5) Selezionare tutti gli elementi della pagina e Copiarli
6) Incollare nel Corpo del Messaggio in Dynamics CRM

Iscriviti

Get every new post delivered to your Inbox.