Skip to Content
avatar image
Former Member

Issue with Applet iCommand (MII 12.2.3 )

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 05, 2012 at 03:30 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded