Community
Showing results for 
Search instead for 
Do you mean 
Reply

ShowOpportunity(Opportunity) SDK ISSUE

Bronze Super Contributor
Posts: 1,231
Country: USA

ShowOpportunity(Opportunity) SDK ISSUE

How come in the latest build ACTApplication.UIOpportunityManager.ShowOpportunity(Opportunity); reloads the layout EVERYTIME?

 

This happens in your native code and in any addon which calls the ShowOpportunity method.

 

This does not happen in the other three top level views

ACTApplication.UIContactManager.ShowContact(HostApplication.ActFramework.Contacts.GetMyRecord);

 

 

ACTApplication.UIOpportunityManager.ShowOpportunity(Opportunity); 

 

Just add a handler to the HostApplication.ApplicationState.LayoutLoaded event and watch it get called every time ACT navigates to the Opportunity Details view whether is from an SDK call or a native menu call.

 

 

What is the workaround? I now have a few clients wanting this fixed.

 

-- Jim Durkin

 

J G
Copper Contributor
Posts: 41
Country: USA

Re: ShowOpportunity(Opportunity) SDK ISSUE

Any updates?