02-25-2010 01:29 AM
I am working on creating a custom tab in the ACT for WEB 2010 interface.
I have the web plugin working that adds the tab to the ACT and it shows some date for the contact.
I need to know how to refresh the information in the tab when another contact is selected.
Can anyone tell me how to do this?
03-02-2010 02:30 AM
I'm not sure if it works the same way in ACT for web, but in ACT for windows, you can hook to the applicationstate.currentcontactchanged event which will get fired every time you navigate contacts.
03-19-2010 02:54 AM
I face the same issue,
Has anyone found a way to trigger the refresh of a custom web tab when changing from one opportunity to another in detail view?
03-19-2010 06:33 AM
These two handlers should allow you to keep track of when a contact is about to change and when they have changed
ActApp.CurrentContactChanging += new EvenHandler(ActApp_CurrentContactChanging);
ActApp.CurrentContactChanged +=new EventHandler(ActApp_CurrentContactChanged);
Opportunities have similar event handlers.
03-19-2010 07:02 AM
And if I'm not mistaken there's also the same handlers but for Opportunities:
ActApp.CurrentOpportunityChanging += new EvenHandler(ActApp_CurrentOpportunityChanging);
ActApp.CurrentOpportunityChanged +=new EventHandler(ActApp_CurrentOpportunityChanged);
03-22-2010 03:42 AM
Thanks for the replies, they look very promising but I am not sure if I can use these in web.
I do not get passed an ACTApplicationManager instance when creating a web plugin. I get an ACTSessionManager instance.
Is there any way I can access the ACTApplication from the this ACTSessionManager?
Also, if i do manage to access the ACTApplication, should I trigger the refresh from the tab itself or from the plugin that instanciated the custom tab.
03-26-2010 03:48 AM
The lovely people at Sage have helped me to find a solution to this problem.
This method is called on the active tab when moving to the first/previous/next/last company, contact or opportunity in detail view.
I solved my problem by placing the following code on my tab page.
I hope this proves useful to others,
09-05-2016 11:17 PM