Monday, June 23, 2008

Maximize Attachment size in MS CRM

Dear Readers,

here are how you can increase size of attachment in MS CRM. by default it is 5mb.

1. Open the web.config of MS CRM

2. Locate httpRuntime the key within the element and change the values to the following:

httpRuntime executionTimeout="9999" maxRequestLength="10240"


3. Locate httpRuntime the key within the element of the element, and change it to the following:

httpRuntime maxRequestLength="10240"

save the web.config and restart IIS.

Cheers!!!!!

Regards,
Imran

msn : mscrmexpert@gmail.com

skype : mscrmexpert

Show Associated activities in IFRAME

Dear readers,

Go to "Settings" -> "Customizations" -> "Customize Entities" after this steps in CRM, we find the Contact card and we open this card. We select the "Forms and Views" in navigation bar at left and we clicked the Form.Where you want place the your activities screen you select the interested tab and click the "Add IFrame" button. A window will be opened;

1.set the Name "HistoryFrame",
2.set the URL "about:blank",
3.we check the "Pass record object-type code and unique identifier as parameters",
4.we uncheck the "Restrict cross-frame scripting"

Here is code

function GetFrameSource(tabSet)
{
if (crmForm.ObjectId != null)
{
var oId = crmForm.ObjectId;
var oType = crmForm.ObjectTypeCode;
var security = crmFormSubmit.crmFormSubmitSecurity.value;
return "areas.aspx?oId=" + oId + "&oType=" + oType + "&security=" + security + "&tabSet=" + tabSet;
}
else
{
return "about:blank";
}
}
crmForm.all.IFRAME_HistoryFrame.src = GetFrameSource("areaActivityHistory");

Regards,
Imran

msn : mscrmexpert@gmail.com
skype : mscrmexpert