Wednesday, May 22, 2013

Arrrggghhh!! Mind Blown!

Pretty sure my mind just blew.  Guess it's time to restart Visual Studio.  Errors get really funky when you have .xaml files open sometimes.  WOW!!

Name of client is blacked out.



Hope this gets a laugh or two!

Friday, May 17, 2013

Using RetrieveAttribute Request in CRM 2011 To Get the Label Value for an OptionSet

Here is a quick way to get a label for an OptionSet value in Microsoft Dynamics CRM 2011 using RetrieveAttributeRequest.


private string GetCRMOptionSetLabel(IOrganizationService service, string entityname, string optionsetname, int value)
{
            
    RetrieveAttributeRequest reqOptionSet = new RetrieveAttributeRequest();
    reqOptionSet.EntityLogicalName = entityname;
    reqOptionSet.LogicalName = optionsetname;
    RetrieveAttributeResponse resp = (RetrieveAttributeResponse)service.Execute(reqOptionSet);
    PicklistAttributeMetadata opdata = (PicklistAttributeMetadata)resp.AttributeMetadata;
    var option = opdata.OptionSet.Options.FirstOrDefault(o => o.Value == value);

    return option.Label.LocalizedLabels.FirstOrDefault().Label;
}

- I hope this helps!

Friday, May 10, 2013

I Will Presenting CRM and SharePoint Integration at the Denver CRMUG May 15th!!

My colleagues from RBA Consulting and I will be in Denver on May 15th at the Denver CRMUG.  We will be presenting on the topic of CRM and SharePoint integration and will go well beyond what you can do out of the box.

Date:  May 15th
Time:  4:00 pm - 6:00 pm
Location:

Microsoft
7595 Technology WayDenverCO80237

Some topics we will be covering:

  • Document Management
  • Contextually appropriate templating using content types
  • Portals
  • BI Dashboards


Learn more and get registered here:


-

Wednesday, May 8, 2013

CRM MVP Developers Doing the Google Hangout Thing!!

Today I participated in a Google Hangout for the first time along with some fellow CRM MVP's (Donna Edwards, Daniel Cai, and Dave Berry).  The top of the conversation was development where we went through our thoughts on HTML5 vs Silverlight, JSON, JQuery, Jscript, Polaris, Orion, etc.. from a developer standpoint.

You should watch the video here:
https://www.youtube.com/watch?feature=player_embedded&v=i82l7ENifBk





BONUS:  at 53:40, I decide to go FULL PIRATE! :)



-

Thursday, May 2, 2013

The Current State of the WinRT Connection Code for CRM 2011

So, for the last week I have been working with the CRM 2011 connection code for WinRT released here:

http://blogs.msdn.com/b/crm/archive/2012/11/02/building-clients-for-windows-phone-and-windows-8-rt.aspx

Below are some general observations:

PROS:

  • It appears that they have covered their bases and things are pretty well set up Office 365 Online orgs and IFD on-premise orgs.  It seems like this would be workable in those particular scenarios.
  • Easy connection methodology built in.
  • Native connection from your app to CRM 2011.


CONS: 

  • Is not currently set up for AD auth on-premise orgs
  • While the authentication mechanism technically supports WLID authentication, there is no built in mechanism that I can find to to register your device and get a device username and password.  This presents a problem and makes this scenario unworkable for Windows Live auth for windows store apps where because before you could use the application you downloaded you would have to download the CRM SDK and run the command line tool to register your device and use it first.

- That's my two cents right now.