Community
Showing results for 
Search instead for 
Do you mean 
Reply

ACT! Plugin only works sometime????

Copper Super Contributor
Posts: 71
Country: Canada

ACT! Plugin only works sometime????

Hello Everyone,

 

I have a strange issue, it seems my plugin (which renames different menu items) only works if someone clicks the actsage.exe to open the program or a shortcut to that file. If they open ACT! by clicking on the .pad file of a database it does not run. Any thoughts?

 

Matt

Employee
Posts: 1,163
Country: USA

Re: ACT! Plugin only works sometime????

Plugins are installed locally, so launching from the executable or from a pad file shouldn't matter. Does the pad point to a local or shared db?

Matthew Wood
Act! SDK Support
Community Moderator
Copper Super Contributor
Posts: 71
Country: Canada

Re: ACT! Plugin only works sometime????

It points to a shared database on a server

Employee
Posts: 1,163
Country: USA

Re: ACT! Plugin only works sometime????

Try adding your plugin to the plugin folder on the server and restarting Act.

 

Login there locally and ensure the menu item changes have been made.

Matthew Wood
Act! SDK Support
Community Moderator
Copper Super Contributor
Posts: 71
Country: Canada

Re: ACT! Plugin only works sometime????

[ Edited ]

I tried with a local database opening the .pad file and it did not run my plugin, I run the menu changes in the following event

 

 

 

Private Sub ActApplication_Open(ByVal sender As Object, ByVal e As System.EventArgs) Handles ActApplication.Open nb = ActApplication.Controls.Item("navbar") 

 

Employee
Posts: 1,163
Country: USA

Re: ACT! Plugin only works sometime????

I think these types of changes are usually recommended to be on in the after logon event.

 

Is it being added to dependentdlls.xml?

Matthew Wood
Act! SDK Support
Community Moderator
Copper Super Contributor
Posts: 71
Country: Canada

Re: ACT! Plugin only works sometime????

it isnt being added to dependentdll.xml I am not sure how to do that, but I will try moving it to the after logon event, by the way do you know the URN for New Secondary contact I tried many ideas including below but it didnt work, and on the sdk i cannot find it:

"act-ui://com.act/application/menu/contact/newsecondarycontact"

Employee
Posts: 1,163
Country: USA

Re: ACT! Plugin only works sometime????

DependentDlls.xml lists add-ons that fail to load, I was just curious if it was failing to load your plug-in or if it was not working.

 

As for the urn for new secondary contact.... not sure. I completely expected it to be in the menu ID section of the SDK documentation... but alas, it's not.

Matthew Wood
Act! SDK Support
Community Moderator
Copper Super Contributor
Posts: 71
Country: Canada

Re: ACT! Plugin only works sometime????

where can i find the menu id section in the ACT! 2010 sdk, i can only find it in older sdk's