As we all know we can create a screen in CRM and can easily made available it in the CRM by using adding it to custom pages.
var blk_TestScreen = eWare.GetBlock(“PersonBoxLong”);
blk_TestScreen.Title=”Person Summary“;
Now come to the point, suppose using standard CRM block functionality:
- You have created one block (say TestPersonBlock) for Person as Administration à Customization à Person à Blocks.
- Then you have added a screen PersonBoxLong to this block including different lists and screens.
- Now you would like to call this block i.e. TestPersonBlock in the ASP page with the proper heading on the screens belongs to the same.
- To do this what you need to do is: fetch the screen from the block and accordingly set its title like:
var blk_MainBlock = eWare.GetBlock(“TestPersonBlock “);
var blk_FirstSubBlock = blk_MainBlock.GetBlock(“PersonBoxLong”);
blk_FirstSubBlock.Title = “Person Summary;