Home > MS CRM 4.0 > Enable CRM 4 URL QueryString Parameter Passing

Enable CRM 4 URL QueryString Parameter Passing


 

This morning i was trying to pass query string to CRM URL to identify new record creation request is coming from ISV page or CRM page but it throwing an error as below

InvalidOperationException: CRM Parameter Filter – Invalid parameter ‘etc=2;ampis=1’ in Request.QueryString on page /NotableSolutionsInc/sfa/conts/edit.aspx
The raw request was ‘GET /NotableSolutionsInc/sfa/conts/edit.aspx?etc=2;ampis=1’ called from .]

It seems worked while CRM 3.0 that one can pass custom variables via URL’s querystring and use it while form’s onload event. but it’s not worked in CRM 4 by default now. to be able to do this, you have to tune the registry.

Create a DWORD registry key named [DisableParameterFilter] under [HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSCRM], set the value to 1 , and the do a iisreset, this enable the url querystring parameter passing under CRM 4.

some related discussion here. but still wondering what will be affected by disabling this “ParameterFilter”, since it seems not documented in any documents I’ve seen…

Advertisements
Categories: MS CRM 4.0
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: