Use context value in UII action of web hosted application

Mar 6, 2013 at 4:03 AM
Edited Mar 6, 2013 at 4:18 AM
I created web hosted application with following values
Name = create order form
Hosted Application Type = web hosted application
Display group = Main Panel
Adapter = Use no Adapter
Application is Dynamic= No
URL = about:blank

And in UII action
Name = default
URL = http://server Name/org Name/main.aspx
Query string : etc=1088&pagetype=entityrecord&extraqs=customerid=%CustomerID&customeridname=%CustomerName&customeridtype=contact

note: 1088 is entity type code for order. I want to autopopulate customer field on order form. The url is made as per the guideline provided by crm 2011 sdk.

When I search a customer in search form of CCA agent desktop and opens a record ,it shows blank page for tab 'Create Order Form'
The issue here is that querystring field doesn't capture values from context, but if I put any hardcode values it works properly and customer field gets autopopulate.
Could anybody help me.