Friday, June 15, 2012

Microsoft Dynamics CRM 2011 Activity Feeds - Configuring for Entities having more than one form

very nice post for how to add the wall to the entity which has more than one form.

NOTE: but if you have created one form and enabled Activity feed, then created new forms, you do not have to add the Wall, it will inherit automatically.

but if you have created more than one form and now you are activating the activity feed, then you have to add manually to the form as instructed in the below link.


Monday, June 4, 2012

How to Duplicate a Virtual Box Image

here is the nice article

make sure the command line
VBoxManage.exe internalcommands sethduuid "C:\foldername\filename.vdi"


how to disable the Sub-Grid in MS CRM 2011 (unsupported)

Sometimes we need the subgrid to be disabled in the form, just to show the records.
here i will show it, but its not supported(i mean not available in sdk).
Also its not 100% disabled, as you can select the record and open it. but you will not get the ribbon also the scroll bar will not come it the window is not sufficient to fit the grid.

i will put the snaps before and after the sub grid is disabled.

1. image before the sub grid is disabled

 2. So you will get the ribbon related to the sub grid (entity)
 3. after the grid is disabled
 4. but still you can select the record and open, but not corresponding ribbon for that, as you can not select the subgrid :P

So how it works...

just pass the subgrid name and the boolean value true/false to the below function.

function enableDisableSubGrid(subGridName, boolFlag){
 var _subGrid = document.getElementById(subGridName + "_span");
 _subGrid.disabled = boolFlag;

just call it by passing the subgrid name and the bool flag
true: it will disable the sub grid
flase: it will enable the subgrid

in the SDK, the setDisabled() function does not support for the webresources and subgrids controls under Xrm.Page.ui.

am flagging such work around UNSUPPORTED , else ppl will shout at it :P