Jan 18, 2015

Reading the record Id from CRM 2013 front end

This is just small tip. How developers grab the GUID of a record from the front end of CRM.

What I do is using frames[0].Xrm.Page.data.entity.getId() script in developer’s tool console. (by pressing F12)

Now does it work in CRM 2013?

Yep, but need to be quite careful. Since we don’t get new window for every record in CRM 2013, if you try this as it is, it would give you a wrong ID. (yes, WRONG!) As an alternative, always make your record popped out as a new window before applying this script.

Below Icon will pop-out your record.

Sep 28, 2014

SSRS Date Format Issue

Formatting a date can be a common requirement in SSRS reports. Though, we have few built-in methods to play around, it is best if you can do it using format options within the textbox properties. I am just going to demystify something in it.

How to get there;
Right click the text box > Select text box properties > select Number tab > select Date

Now you see this;


Now you can select any format you need.. and that’s the short and sweet way.

Anyway, as I highlighted, I noticed two separate formats which look likes same.
(Do you see what I see?). Now what does this means?

First one shows date as “1/12/2012
While
Second one shows date as “01/12/2012

Two different formats, though little unclear.