Community
Showing results for 
Search instead for 
Do you mean 
Reply

Web Menu Items not executing js functions

Copper Contributor
Posts: 34
Country: United States

Web Menu Items not executing js functions

If you thought the documentation for the Act app. was lacking you ouyght to see the Web SDK. No wonder no one wants to develop anything for web.

 

So trying a very simple app just to see what it would take to move our plugins to web as well. Not looking good. First item right off is that I can't seem to figure out how to get the js include file to actually be included:

 

session.Menu.AddJavascriptInclude("mymethods.js");

IWebMenuItem axcMenu = session.Menu.Items.Add("axciant", "AXCiANT", ActionType.None, "axciant", true);axcMenu.Items.Add(

"?", "ABC", ActionType.JS, "DoSomething()", true);

axcMenu.Items.Add("??", "XYZ", ActionType.JS, "DoSomethingElse()", true);

axcMenu.Items.Add("???", "123", ActionType.JS, "ConfigIt()", true);

 

 

Everything shows as it should but clicking one of the three sub menu's just return a js object expected error.

I've put the js file in the apfw/plugins folder and the bin folder and even the javascript folder and it doesn't see it anywhere.

 

Any ideas what I'm missing would be greatly appreciated.

JB 

Was this post helpful? If so please take a moment to learn a little bit about my ACT! products for yourself or resell to your clients.

Thank You
JB

http://www.axciant.com/act/actrecordescape.asp