9/19/13

Office 365 Change Password Expiration Days

Office 365 passwords expires by default every 90 days.  If this setting is too short, you can modify the number of days from the Office 365 Administration screen which can be accessed by following these steps: On the header/top menu, click on Admin On the Left navigation menu, click on service...

8/25/13

Dynamics CRM How to Access Page Controls with JavaScript

When working with Dynamic CRM custom solutions, I often have to implement some UI control behaviors with JavaScript.  The table below shows some of the common tasks that can be done when using the XRM JavaScript framework that comes with the Dynamics platform. Task XRM JavaScript Framework API Show or Hide a control setVisible(cmd) cmd bool  value:   true ...

7/21/13

WCF Service with Cross Domain Support

When we try to make an AJAX call to a web service that is hosted on a different domain, we get an Access Denied exception on the client side JavaScript. This error is due to the Same Origin Policy that the browsers implement to prevent Cross-Domain requests (XDRs). To address this problem with a WCF service, we can add the following settings to the Web.config file: <system.webServer> <httpProtocol> <customHeaders> <add...

6/29/13

Dynamics CRM Set IFrame to a Blank URL

When adding an IFrame to an entity form, Dynamics CRM requires that a default URL be defined. When we do not know the URL at design time, we commonly would just set the URL to the string about:blank. When we type this on a browser, this basically tells the browser to load an empty HTML page which is the ideal approach when the URL should be defined dynamically. The problem is that when we...

5/28/13

Request a code review with Visual Studio 2012 Premium

Before any code is check-in, a developer can request a code review using Visual Studio. The steps for a code review request and response are as follows: Send a review request:  (developer) Do not check-in your code On Team Explorer Home, click on Request Code Review o   Enter the name of the reviewer o   Enter the following information §  Task name §  Area...