This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Event Handler Failed while loading Form

Shalabh Jain - Thursday, October 10, 2013 5:17 AM:

Dear All,

I am very new to ARAS. A basic problem I am facing.

System Configuration:

1.     Client and server on the same machine (Windows Server 2003.)

2.     ARAS Innovator Version 9.3.0 , sql server 2005, .Net framework 3.5

 

Problem Description:

1.     Created one ItemType TermDictionary.

2.     Added 2 properties: termname and termtype

3.     Click on TOC Access tab and give access to World and category defined is Design

4.     Put one text box on the Form (Named as TermDictionary already present in Form list) named as ExecuteResult and ID is txtResult.

5.     Added one form event onFormPopulated and linked it with one Client-side method FormLoad() in Javascript.

Var myTextField = document.getElementById(‘txtResult’);

Var innovator = new Innovator();

myTextField.value = “OK”;

6.     TermDictionary Form is added in Design section at left hand side.

7.     Right click on TermDictionary and create new object, at this movement form will be loaded and

Error message:

Internal Error : event handler failed.

Show Details : Innovator was not declared.

 

Please tell me what is the problem with the event handler,

Thanks and Regards,

Shalabh Jain



Shalabh Jain - Friday, October 11, 2013 2:03 AM:

hello all,

problem statement is :

Var innovator = new Innovator();

Once I am commenting this statement, code is working fine and OK string is coming in text box on the form.

Please let me know what is the wrong with the following statement.

Var innovator = new Innovator();

Quick response will be highly appreciated.

Thanks you very much….!!!!!

 

 

 



zahar - Friday, October 11, 2013 12:16 PM:

use

top.aras




Shalabh Jain - Thursday, October 17, 2013 5:45 AM:

Thanks buddy for your help....:-)