Knowledge found and lost while working with Microsoft Dynamics CRM
RSS icon Home icon
  • MVP Summit Recap

    Posted on April 23rd, 2008 mitch Print Print 1 comment

    Holy Cow Batman!  Did I have fun last week or what? 

    Without a doubt, the MVP Summit 2008 was the most fun and productive conference I've ever attended.

    Not only did we get to hang out with the CRM Product Group for two full days, but the CRM MVPs had an absolute blast hanging out together and sharing war stories, best practices, etc.

    I think I can speak for the group in saying that a good time was had by all ( except for Frank, who had a cold; and even he seemed to be enjoying himself a good bit of the time ).

    Anyway, I just want to say thanks again to Jim Glass for the organization of events and the whole CRM team for rolling out the red carpet for our visit and sharing their time, thoughts, and information with us.

    See you again next year.

    Mitch

    Dynamics CRM
    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
    1,088 views
  • CRM 4 Metadata: Working with Labels

    Posted on April 23rd, 2008 mitch Print Print 1 comment

    As you know, CRM 4.0 introduced multi-language features into the product.  This means a slight change in the way we retrieve metadata related to Entity names.

    The DisplayName property for an Entity has been changed slightly to ensure that you always have access to the localized version of the Entity name.  A sub-property called UserLocLabel has been added to retrieve the label for the language of the current user.

    The only issue is sometimes that value does not exist ( a very rare event, but you need to code for it anyway ).

    Modifying code from the CRM 4.0 SDK, I've created the following method to return either the localized label for the Entity or just the logical name, should the actual label not exist:

    private string RetrieveDisplayName(EntityMetadata entity)
    {
        string displayName = string.Empty;
    
        if (entity.DisplayName.UserLocLabel != null)
        {
            displayName = entity.DisplayName.UserLocLabel.Label.ToString();
        }
        else
        {
            displayName = entity.LogicalName.ToString();
        }
    
        return displayName;
    }
    

    Customization, Dynamics CRM
    1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 3.00 out of 5)
    Loading ... Loading ...
    2,468 views
  • Small issue with CRM Online Discover Service URL

    Posted on April 23rd, 2008 mitch Print Print 1 comment

    I found a minor issue with the URL that allows you to generate WSDL for the CRM Online Discovery Service.

    If you navigate to Settings, Customization, Download Web Service Description Files, you're presented with the following set of links:

    image

    The Discovery Web Service link is:

    https://crm.dynamics.com/MSCrmServices/2007/Passport/CrmDiscoveryService.asmx

    when it should be:

    https://dev.crm.dynamics.com/MSCRMServices/2007/Passport/CrmDiscoveryService.asmx

    A minor issue but hopefully this note will save a little confusion. Microsoft has been advised of the issue as well.

    Final note: The CRM 4.0 SDK documentation clearly states the correct URL in the walk-throughs and other sample code.  It is only this one link on the actual CRM Online site that is a problem.

    CRM Online, Dynamics CRM
    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
    1,871 views