Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Set field values using parameters passed to a form

$
0
0

Hi all!

I have a problem with passing values as parameters in URL. On salesorder entity I have URL field. In this field is URL to open window with new incident and pre-filled values (salesorder, customer). When I test URL (paste it to browser) it works. When I add sub-grid on contact's form with all contact's salesorders and view in subgrid contains URL field problems after click on URL it doesn't work.

exception is : Exception message: CRM Parameter Filter - Invalid parameter 'test_related_order={54173215-6BC5-E711-A97B-0036D8B71F1F}' 

URL is like:

[SERVER]/main.aspx?pagetype=entityrecord&etn=incident&extraqs=customerid={4E3792CE-6AC5-E711-A97B-0036D8B71F1F}&customeridtype=contact&customeridname=testContact&test_related_order={54173215-6BC5-E711-A97B-0036D8B71F1F}&test_related_ordername=testOrder

It is stored in encoded format. Here I used clean format to be more easy to read.

Changing order didn't help. fill only customer attribute also didn't help. I received similar exception with different invalid parameter like customeridname. name of attributes are right. I've user https://msdn.microsoft.com/en-us/library/gg334375.aspx to build URL.

it's CRM 365 on-premise 8.2

Any Ideas?

Thanks.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images