Community
Showing results for 
Search instead for 
Do you mean 
Reply

ACT for Web - Custom Contact Tab - Not Switching when you move contacts

New Member
Posts: 11
Country: USA

ACT for Web - Custom Contact Tab - Not Switching when you move contacts

[ Edited ]

I have developed two different custom contact tabs for an application.  Both of them have the javascript code suggested here that you need to get it to change reload when the contacts change: 

http://community.act.com/t5/Sage-ACT-Developer-s-Forum/APFW-plugins-and-UI-Events/m-p/117692/highlig...

 

<script language="javascript" type="text/javascript">
        function RefreshTabList()  
        {
            location.reload(true);
        }

 

However one tab refreshes the other does not.

New Member
Posts: 11
Country: USA

Re: ACT for Web - Custom Contact Tab - Not Switching when you move contacts

I have found an answer to this and it is confusing and I wanted to post it here so that:

 

1. It might get noticed, explained, and possibly fixed.

2. Someone else will not experience my pain.

 

The difference between the two plugin tabs I had was that one of the tabs had a space in the tab name assigned to it when the plugin is wired in.

 

tabName = "Contact History";
tabURL = session.AppPath + "BMCD_ContactHistory/ContactHistoryListPage.aspx";

 

The other did not.

 

I did not believe it either for a while but I tested it beyond reason.

 

Changing it to this works:

tabName = "Contact_History";

tabURL = session.AppPath + "BMCD_ContactHistory/ContactHistoryListPage.aspx";