01-24-2010 06:27 AM
03-10-2010 09:57 AM
I have a similar issue.
When I change the view from the Contact Detail to another view (Group List, Task List, whatever), then change the view back to the contact I was just on, the Field Change event no longers fires.
03-11-2010 05:57 AM
03-11-2010 06:12 AM - edited 03-11-2010 06:16 AM
This is what I tried, and it doesn't fire when you return to the Contact Detail from another view:
Public Sub OnLoad(ByVal App As ActApplication) Implements IPlugin.OnLoad
ACTAPP = App 'Store a referenct to ActApplication
AddHandler ACTAPP.AfterLogon, AddressOf ACTAPP_AfterLogon
AddHandler ACTAPP.BeforeLogoff, AddressOf ACTAPP_BeforeLogoffAddHandler ACTAPP.CurrentContactChanging, AddressOf ACTAPP_CurrentContactChanging
AddHandler ACTAPP.CurrentContactChanged, AddressOf ACTAPP_CurrentContactChangedAddHandler ACTAPP.CurrentViewChanged, AddressOf ACTAPP_CurrentViewChanged
End Sub 'OnLoad
Private Sub ACTAPP_CurrentViewChanged(ByVal sender As Object, ByVal e As EventArgs)
RemoveHandler ACTAPP.CurrentContactChanged, AddressOf ACTAPP_CurrentContactChanged
' RemoveHandler ACTAPP.ApplicationState.CurrentContact.Fields.FieldChanged, AddressOf Fields_FieldChanged 'Tried this one too.
If ACTAPP.CurrentViewName = "Act.UI.IContactDetailView" Then
AddHandler ACTAPP.CurrentContactChanged, AddressOf ACTAPP_CurrentContactChanged' AddHandler ACTAPP.ApplicationState.CurrentContact.Fields.FieldChanged, AddressOf Fields_FieldChanged 'Tried this one too.
04-07-2010 08:41 AM
I'm also having the same issue for the first contact loaded when ACT loads. Field Changed even doesn't get fired. Did you guys ever find a solution?
Thanks in advance
04-11-2010 05:07 AM
04-12-2010 02:30 AM
04-29-2010 12:57 PM
I have been struggling with this issue for a couple of years. The issue is that Act goes to 'sleep' after a certain amount of time. Pressing F5 before changing the field will cause the field change event to trigger (go figger).
I saw on the Durkin sight that he has a program for Auto refresh:
I'm not sure exactly what it does but I think it was created to solve this issue.
I am planning on creating a similar plugin at some point but until then....F5 is our friend.
05-01-2010 10:12 AM - edited 05-01-2010 10:14 AM
Not only is the AutoFrefresh for ACT FREE but I have included the source code. After installing AutoRefresh a Visual Studio 2008 VB project is delivered in a zip file named "Durkin.Custom.AutoRefresh.zip" located in the "C:\Program Files\ACT\Act for Web\Plugins" or "C:\Program Files\ACT\Act for Windows\Plugins".
Other tools you can check out from us are:
1) The SDK for the Durkin Toolkit which may help answer some questions on how we create ACT! add-on. Our SDK requires one of our addons be installed such as: The Durkin Toolkit, Calendar View Plus, Task List Plus or Opportuinty List Plus. It uses ACT's SDK framework of couse but also allows developers to hook into additional events such as "New Entity Sub Item" and a new CurrentViewChanged event that included custom table views. Our SDK includes Visual Studio project templates to get you up and running fast.
After installing our SDK follow these steps to create a custom projectOur project template is a starting point for custom plug-ins.
1. Open Visual Studio 2008
2. Go to the FILE menu and select NEW PROJECT
3. In the “New Project” dialog select
“Durkin.Custom.SDKExamplesVB” ( Visual basic)
“Durkin.Custom.SDKExamplesCs” ( C Sharp )
2) The SDK for the Smart Notes for ACT. This SDK allows third party developers to create triggers to open sticky notes. This SDK requires Smart Notes for ACT be installed. Contact me directly and I can get you NFRs for any of our tools you need.
Hope this helps. If you have any questions please contact me directly:
-- Jim Durkin