locked
how to pass qs params to custom web dialog? RRS feed

  • Question

  • Hello, I'm trying to pass qs params to a custom web resource. I was passing the "type" qs param successfully but then I tried to add an additional DuplicateCaseNumber qs param in the standard way but received an error in the custom web page.  I googled and found a post that suggested using the extraqs param. However, I'm still getting an error.  Here's the url I'm opening the window with:

    http://myserver/myorg/WebResources/new_ResolveCaseDialog?type=single&extraqs=DuplicateCaseNumber=17171

    Here's the error I'm getting:

    "CRM Parameter Filter - Invalid parameter 'extraqs=DuplicateCaseNumber=17171' in Request.QueryString on page /myorg/Handlers/WebResource.ashx The raw request was 'GET /myorg/WebResources/new_ResolveCaseDialog?type=single&extraqs=DuplicateCaseNumber=17171' called from ."

    I know how to configure a CRM form for custom parameters (parameter_) but I'm not sure what approach I can use for a custom web resource?
    Friday, February 28, 2014 12:33 AM

All replies

  • Hi,

    pass multi parameter in your webresource data parameter as:

    http://<server name>/WebResources/new_/ShowDataParams.htm?Data=first%3DFirst%20Value%26second%3DSecond%20Value%26third%3DThird%20Value

    refer the follow links:

    http://msdn.microsoft.com/en-us/library/bba8645a-a725-4c4d-a393-bab8ca692482#BKMK_PassingParametersToWebResources

    http://msdn.microsoft.com/en-us/library/gg327945.aspx


    Hope this helps. ----------------------------------------------------------------------- Santosh Bhagat If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    Friday, February 28, 2014 4:12 AM