Exception: Function name getactioncontrol not found

Post any questions regarding Installing or Upgrading Ebase, including problems starting up the Ebase Xi Server or Designer

Moderators: Jon, Steve, Ian, Dave

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

Exception: Function name getactioncontrol not found

#1

Postby xren » Tue Apr 29, 2014 8:15 pm

Hi

I have the following code in my server side java script:

executeCustomFunction('getactioncontrol',null);

Which cause the excetption: "Function name getactioncontrol not found"

I am running this on version 4.5.1 64 bit ebase.

The code was developed on 4.4.2 32 bit ebase.

I did installed another server - 4.5.1 64 bit, and imported the same project. it works fine on that one.

What might be the problem? is version 4.5.1 stable?

Thanks,
Xiaoli
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Wed Apr 30, 2014 7:29 am

Xiaoli,

Can you check that the function is actually missing - Tools > Maintain Functions. In my V4.5.1 system it's there, so I don't know why it might be missing on yours. If necessary, you can add it manually: the implementing Java class is com.ebasetech.ufs.customfunctions.GetActionControl, it takes no parameters and returns a String. Alternatively, you can export it from the system where it exists, copy the export xml file, and then import it.

Regards
Jon
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#3

Postby xren » Wed Apr 30, 2014 10:59 pm

Hi Jon,

I did see there are many functions on my dev/test system. how can these be exported? I did not find where to do it.

Thanks,
Xiaoli
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#4

Postby Jon » Fri May 02, 2014 11:01 am

You can export functions by doing Tools > Migration > Export, then selecting the function(s) under System/Functions. Sorry about the late reply - I missed this message.
0 x


Who is online

Users browsing this forum: No registered users and 2 guests