Open crm contact on new session

Aug 31, 2013 at 9:43 AM
Edited Aug 31, 2013 at 10:15 AM
Hi All,

I have customized the search page. when user selects the record from search result, along with new session window I want to open CRM contact form of the selected record.

I have created Web Hosted Application Type record with default action having
URL : http://CRMServer/Org/main.aspx
Query String : etn=%CustomerTypeCode&pagetype=entityrecord&id=%CustomerId

but it opens CRM default page (http://CRMServer/Org/main.aspx) for each new session

Any help on this would be great.

Thanks,
Sep 2, 2013 at 6:21 AM
hi,

make sure your Context contains %CustomerTypeCode and %CustomerId when using the Query String option.

another way would be to implement a uii workflow where you generate your url and navigate the browser of a webhostedapp to that url.

hth
Sep 3, 2013 at 11:41 AM
Hi,

Use UII Debugger available as part of Quickstarts (in your installation folder). A nice tool to see what is there in the context. 99% of the cases, the problem for you should be like your context sensitive variables "CustomerTypeCode" and "CustomerId" are not getting populated. It may be bacuse of your "Customized Search".

Regards,
Srikanth
Sep 5, 2013 at 10:51 AM
Hi,

CustomerTypeCode was missing in context..

Thank you guys..

Regards,
Yatin