Publishing reports for external use

Recently I have been working quite a lot with reports and I must say that the new GUI in Reportdesigner for SQL RS 2008 is really a nice facelift.

I have been working with autogenerating reports as PDF:s as I have previously blogged about. It is a bit more complex to do in SQL Server 2005 and later since you have to work with two webservices that have similar class names, which I must say is a real stroke of genius. If there is interest, I might be looking into writing some about this.

An interesting thing I noticed about this is that despite the fact that the report previously has been published for external use, each update of the report will require you to republish it in order for the changes to stick. You can otherwise get some really interesting inconsistencies.

Gustaf Westerlund
CEO, Chief Architect and co-Founder at CRM-konsulterna AB

www.crmkonsulterna.se

New webpage for CRM-Konsulterna

The work with starting the new company is coming along fine. We recently launched the new website where we tell everyone who’d like to know I bit more about the company and what we offer.

It is currently available only in Swedish, but Google Translate will probably work if you really want to read it and feel a bit weak on the Swedish.

We will try to attract the best Microsoft Dynamics CRM consultants in Sweden and hope to build a very interesting company where we can all excel and really bring value to our customers.

Please have a look! http://www.crmkonsulterna.se/

Gustaf Westerlund
CEO, Chief Architect and co-Founder at CRM-konsulterna AB
http://www.crmkonsulterna.se/

Understanding the user

In all computer systems in general and in CRM systems specifically, it is essential to understand the world of the end user. The following movie gives some very interesting insigths into the current trends of how the users are changing. Are you changing with it or are you going to try to turn back time?

Gustaf Westerlund

Microsoft Dynamics CRM Chief Architect

Logica

www.logica.com

Hybris

A few weeks ago a new colleague started working here at the Dynamics CRM group at Logica Sweden. His name is Fredrik Strandin and he is a very skilled developer. He mentioned that part of the reason he contacted Logica for a position was that he was following this blog and liked it. A huge complement and I am very grateful for it. It is hard to know how many people actually are following this blog and what I write, so please leave a comment if you like. The best inspiration to writing more on the blog is praise from readers of the blog.

I would also like to point out that I really enjoy working for Logica. It is a very friendly company with a very good customer approach. Of course, no company is perfect and a company with 40 000 employees can sometimes be a bit bureaucratic but then again we have resources to approach the largest, coolest and most difficult of CRM projects. So, if you, like Fredrik would like an opportunity to come work with this most extraordinary team of Dynamics CRM professionals, please contact me, we are always looking for driven and skilled people. Just call the main Logica phone number and as for Gustaf Westerlund in Sweden. We have offices in about 40 countries around the world, so it doesn’t really matter where you live :).

Gustaf Westerlund
Microsoft Dynamics CRM Chief Architect

Logica
www.logica.com

Problems with referenced assemblies in plugins

Plugins are a very useful technique and can be used to lots of different things. But sometimes things don’t work like you expect them to…

Here at Logica Sweden we have developed a CRM Framework with lots of nice tools to aid your everyday CRM development. The architect behind this hasn’t been me but my fellow CRM architect Daniel Halan. This framework is contained in a dll and it is used in plugins.

The problem I was facing was that when I updated the framwork and rebuilt my plugins, to the assembly directory, it also put the framework dll in this directory. But when I tried to run it I got the most weird errors saying that it could not find methods, constructors and similar. If I installed the framework dll in the GAC then it would all work fine. This is something that I would like to avoid, however, since it is a bit cumbersome when developing.

After some collective debugging we found the error, plugins don’t use the dll:s in the assembly directory, but the dll:s in C:Program FilesMicrosoft CRMCRMWebbin (or similar depending on where you have installed CRM).

So, make sure you put your referenced dll:s in the correct directory and happy coding!

Gustaf Westerlund
Microsoft Dynamics CRM Architect

Logica
www.logica.com