Monday, December 10, 2012

Windows 8 and Identity Foundation

Just installed Windows 8, VS2012 and wanted to modify and run one of the SDK tools from CRM 2011 SDK. I was not able to reference the Windows identity foundation from the solution.
So a colleague of mine pointed me in the right direction:

Enable the feature for Windows 8 called Windows Identity Foundation  3.5

Here is how you do:
- Go to control Panel/Programs
- Go to Turn windows features on or off
- select and enable the feature Windows Identity Foundation 3.5

Thanks, Casper!

Now - In my case I need to deploy the modified version to a server in order to run it as a scheduled task. in order for the application to work there I had to install Identity Foundation on the server. Get it from Microsoft Download.

Enjoy the day!

Tuesday, October 30, 2012

Microsoft Dynamics CRM 2011 Instance Adaptor

Tired of moving data back and forth organizations and instances using SSIS?
Didn't get the budget for SCRIBE?
Microsoft Dynamics connector now has an adaptor for .... CRM 2011.
From a CRM 2011 instance to another CRM 2011 instance.
Requirements are simple:

  • Customizations for synchronizing objects must be aligned
  • You need a connector installed with an Dynamics ERP adaptor of your choice
  • In order to preserve ownership of records across organizations, users must be aligned
You can move, aggregate and transform data back and forth.

So off you go.... Pretty simple. http://www.microsoft.com/en-us/download/details.aspx?id=35385

Try it out creating two new test organizations in crm online.... or use your already existing sandbox environment.

Monday, October 22, 2012

Addresses - Quite a challenge

Working on a project for a client. A project team full of engineers. Engineers licensed to validate documented procedures, point out faulty software and abnormalities. Delicious when Microsoft CRM 2011 is to be delivered under the pseudonym xRM.
Fortunately, Microsoft a large international company that develops software for small, mid-and enterprice customers .......
And so I find myself again - facing issues related to addresses.
The task is to implement files with the underlying cases. And integrate this to an ERP solution using SCRIBE and SSIS. On each Account, File and Case it is required to have:
  • Owning customer (with associated addresses and contacts)
  • Requesting customer (with associated addresses and contacts)
  • Invoice account (with associated addresses and contacts)
No problems.
Even though the ownership of a set of address information must be respected for each of the 7 departments that are present in the company.

Ok - it's ironic. And yet not - the solution has been to use addresses as they are intended to be used, with a relationship to the Business Unit and an additional type of addresses depending on use. (Needed a second dimension in addition to the built in address types). A custom form to select and filter for the addresses that are relevant to file and cases based on the at the account suggested starting points.
But sad, due to the fact that addresses in relation to accounts and contacts are fixed in terms of how to be modified and used from these two main entities.
Address 1 and 2 are listed on both the Account and Contact. But whether it is one or the other is not thought through. (Sorry M $ - But it's not ....) It seems like a reminisæns from 1.2 and 3.0, which is on the list of functionality to be optimized at a time.

The problem arises when you save a record for the first time. A related record is created a  Address Entity if you have entered information in the Address 1 field from the main entity. And an additional record if you specify information in the Address 2 fields on the same main entity.

As this solution for the client must have a certain level of usability and at the same time is integrated with an ERP system that have similar flaws as MS CRM, creating a custom address entity, add the extra fields to address the entity required and the custom form is a must. A de normalization of the construct from the system address entity, gave a few additional enhancements for use in general.

Try playing around with the account, contact and address entities to discover the odd behavior, some one decided should be the way to deal with addresses. 

One day in the future ......

Wednesday, February 8, 2012

Developing CRM 2011 and AZURE

CRM 2011 online is great. No server maintenance, fairly good performance and use of liveID's.
Azure is even greater. Easily configure a number of  instances running for both development, User Acceptance Test, Staging and Production.
But publishing to UAT can take up to 15 minutes. And untill yesterday I couldn't run any local debugging due to missing references to system.web.providers. It is targeting .Net 3.5 but my project is targeting 4.0.

I had to get the Windows Identity Foundation SDK, and then add the Microsoft.IdentityModel to my project. Even SDK had to have Microsoft Identity Service installed as a prerequisite.

Now i am able to run the entire project on my local machine and can easily debug and remove any errors before deploing to Dev.


For what ever it is worth to any one.