Default action is ignored when check HAT autoamtion

Jul 22, 2010 at 8:43 AM

If hosted app has HAT automation, the default action of this app is ignored.

 

For example I did default action on CRM Contact form with filtered object by Contact Id (from Session) – it’s works then this app does not has Adapter automation.

When I check Adapter automation is “Use HAT” then default action is not working, but my automation is work.

 

Did you know why it happens?

Jul 23, 2010 at 12:53 AM

If you are using "Automation Adapter", then you could write a workflow and use the "Navigate" activity to navigate to the correct url.

Jul 23, 2010 at 7:30 AM

Ok, but how can I get CustomerId from Session to Navigate URL?

For example I want to open create form, of Contact from Session:

http://Server/Organization/sfa/salesorder/edit.aspx?_CreateFromId=%CustomerID&_CreateFromType=2

Jul 25, 2010 at 1:53 PM

Check out these blog posts…

http://blogs.msdn.com/b/ypitsch/archive/2010/06/01/open-a-contact-or-account-page-based-on-the-lookup-request.aspx

and

http://blogs.msdn.com/b/mbarbour/archive/2010/05/13/showing-crm-data-in-the-customer-care-accelerator.aspx

in HAT, you will use the ‘getcontext’ shape to get the value for a given key.

 

MattB-msft