Month: June 2014

CRM Online – Source CRM Version

While Exporting the solution in CRM Online there is a new option that shows “Source CRM Version”. As of now this particular option has two values 6.0 and 6.1.

  • 6.0 Signifies Dynamics CRM 2013
  • 6.1 Signifies Dynamics CRM 2013 Service Pack 1


Make sure that you are exporting the correct version as required in the target system otherwise it may lead to solution import failure.

HTML Web Resource in CRM

In Microsoft Dynamics CRM HTML web resource we have Xrm.Page.context parameter from where you can get different information about your CRM/Page etc…


This gives an impression that we will have access to all other XRM scripting properties like etc… but that is not the case.

I was having requirement to get the record ID and found given msdn document. Which tells you can pass the records as parameters.

How to Do It:

Go to Web resource Properties in form Editor, Select given check box.


You will be able to get the record id in URL.

Pre Check Box Checked


Post Check Box Checked (there is a whole lot of stuff as given in msdn)


Fetching Data from Query String GetQueryString(“id”) will give you the record id. Similarly you can fetch other values as well.

[code language=”javascript”]
function GetQueryString(key) {
var resourceUrl = document.location.href;
var queryList = resourceUrl.split(/[?&]+/);
for (i = 0; i < queryList.length; i++) {
pair = queryList[i].split("=");
if (pair[0] == key) {
return pair[1];

FetchXML Report Record Count Limits Demystified – Reblogged

Having a record limit of 5000 on FetchXML improves performance becomes a pain when you are working with a FetchXML report in online.

Supposedly there in no such limit in when you are working with FetchXML report in online scenario. I tries it with 5000+ records and it worked fine.

Will try it out with 100,000+ records and let you know.

Azure: Possibilities Unlimited

For some one new to Azure, Azure just means bunch of cloud services provided by Microsoft which hosts some stuff that you can have on your local servers with more flexibility and control. Above definition can be seen analogues to calling Tiger Woods a guy who keeps hitting a ball with a stick.

Today having a Azure subscription is similar to having access to whole stack of Technologies (Microsoft) world has to offer. I have been hosting Couple of Dev VMs and services on azure for personal projects but those were more or less uploaded by me.

Its a surprise that till date I haven’t use any of the services provided by Azure. With launch of VS 14 CTP and not wanting to install it on my system it gave me an opportunity to experience the awesomeness Microsoft Cloud Platform has to offer.

You can simply get VS 14 CTP VM by following Simple Steps.

1. Sign in to Azure Portal.

2. Click new on bottom.


3. Go to Compute > Virtual Machine > From Gallery


4. Visual Studio > Select the version.


5. Follow through Navigation and you should be good to go with your VM up and running in some time.



Above is one of the examples of setting up your services with Azure. You can extend the limit with many non Microsoft technologies ranging from web services/apps like Joomla, Drupal, WordPress etc.. to VM having SharePoint, Biztalk or Linux distros like Ubuntu, Centos, Suse etc…


Hope you are on Cloud 9 after this.

System.IO.Packaging Namespace not found

While moving a part of code from a console application to a SSIS package we started getting compile time error System.IO.Packaging namespace not found.

This seemed like a very basic thing as System.IO namespace is found in System.dll but having System.dll as a part of solution increased the confusion.

A quick Bing returned that its a part of WindowsBase.dll, referring WindowsBase.dll solved the issue.

This a a good example of “Out of Sight, Out of Mind” as not requiring to refer WindowsBase.dll frequently made me forget that it even exists.

Files for Windows Phone 8.1

Microsoft has finally launched the app many Windows Phone 8.1 users were waiting for “Files” File Manager. This is one of the most basic thing that you want to see in an OS and it gives you a sense of control over the data you have with you.

Its a great app and does all basic file manager functions like moving your stuff around, sharing your files with Bluetooth(turn it on before hitting share), One drive etc…

wp_ss_20140601_0002         wp_ss_20140601_0003

What we get is not always sufficient and we always get greedy. So Microsoft it will be great if you can add:

1. File Properties and details.

2. Integration with Microsoft One Drive.

3. Better 3rd party app integration so that user can select which app to use with which file.

If you are on Windows Phone 8.1 Download Files from Microsoft Store by following:

End Of Bad Looking Posts with “Windows Live Writer”

It’s been a while since I have been writing blogs and messing around with blogspot, wordpress, moving to a personal hosting and then switching the host as well as the domain name to a new one. I am no hardcore blogger and I post only when I am getting bored and I have got nothing else to do with life. But while going through posts on one such Day I realized that the blogs I have written look really bad (I know they are bad to read as well but the look and feel just kill the motivation to read).


Realization: Blogs look Bad so readers don’t read hence less torture for readers.


Reason: Atleast Make it look a bit better and Writing blog with Word doesn’t help you do proper formatting.


Solution: Use Windows Live Writer as it tells you how your blog will look like with real formatting and also helps you manage blog properly.


Problem: Couldn’t install Windows Live Writer. “Please try installing Windows Live programs again.”


Reason: Who Cares?

Workaround: Download “Windows Live Essentials” and install from there.


** This might be the last bad looking Post. From now on you will have to read the posts I’ll be writing.