The other day, I was puzzled by a weird problem coming from a “Go to URL” action in a CRM sub-report.
The link was constructed correctly by using the following line of code:
Parameters!CRM_URL.Value & “?ID={“& Fields!new_bookingid.Value.ToString() &”}&LogicalName=new_booking”
which was rendered as:
https://crm.site.com/main.aspx?etn=new_booking&extraqs=etc%3d10048&id%3d4a528068-a2a1-e211-bc2c-d067e5e91163&id=4a528068-a2a1-e211-bc2c-d067e5e91163&pagetype=entityrecord
Notice how the ID has been replicated twice? Now the form was opening correctly but no Javascript was called after I updated the fields, which is why I fired up the IE developer tools and debugged the form scripts to discover an horrible Javascript error: Object doesn’t support property or method ‘setFormMode’
I then remembered that my client CRM server was on Update Rollup 7, so after having read the following forum post http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/0c0aa09e-0ea6-4150-8056-a2b7b91f3256, I knew the only solution was to update the server!
Hope this helps someone.