cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Applet iCommand (MII 12.2.3 )

Former Member
0 Kudos

Hi Friends,

     i'm using below  code which executes the query template and its written inside .irpt page . 

<APPLET NAME="ByProd_Applet" CODEBASE="/XMII/Classes" CODE="iCommand" ARCHIVE="illum8.zip" WIDTH="1" HEIGHT="1" MAYSCRIPT>

<PARAM NAME="QueryTemplate" VALUE="HEM-MES/PhaseConfirm/Xacute_Complete_Save_Button">

</APPLET>

while executing the QT seperately it works fine and returns the success message( eg : in my case " Phase confirmation successful  " ). When QT is embedded with applet it returns false value . Inside the .irpt page calling complete.js file .while executing the applet

complet.js code :

if ( document.ByProd_Applet.executeCommand())

{

// Actual process which i want to be executed

}

else

{

alert(document.ByProd_Applet.getLastError());

}

document.ByProd_Applet.executeCommand() returns false value. it should be true since BLT & QT returns success message. Else part causes Pop Up " Last Error messge : , Message : Successfully displayed " which i dont want.

Why executeCommand getting failed though QT returns success message. Do i need to do anything with applet MII12.2.3 ??

kindly do the needul .

Regards,

Annamalai.

Accepted Solutions (0)

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

Does your Xacute QT return a FatalError message (using the Terminate action block is an easy test)?  If you are returning an XML document using the FatalError action block, then I assume that should work too.