Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to start an Extensibility App throug isl @ Micros Simphony 2

Status
Not open for further replies.

nvak

Programmer
May 25, 2015
60
GR
Hello Guys,

I have an extensibility app and i can configure a button to start it.

Type: Function, Run Extensibility App and at Arguments i set: Type=DLL;AppName={appname};FileName={my.dll};Script={start_method};arg=

Does anyone know how can i do the same thing through isl?

I cant find a way to press the specific button or i cant find a way to start the same method passing the context (IExecutionContext) of the page.

Thanks
 
Not sure if Simphony allows calls to another exe on the workstation or not. Micros 9700 has the System command that can execute a windows command (run another exe that is installed on that Workstation).

System command[{output_specifier}]

Code:
event inq : 10
   var scriptname : a40 = "notepad.exe"    // Opens notepad, If installed
   system scriptname
endevent

// **** or **** //

event inq : 11
   var scriptname : a40 = "D:/scripts/someScriptFile.sh"    // Open script file from this path; File could be .bat, .pl or other script file.
   system scriptname
endevent
 
Yes i can do that to Simphony2.

The problem is that an extensibility app uses the context of the current page and i dont know how can i pass it as a parameter.
 
Does Simphony offer a Global Varible that is stored on the Workstation to use later.

9700 you can use RetainGlobalVar or DiscardGlobalVar,
Description: These commands instruct the ISL to save all global variable values in between
transactions, or to discard them.

These commands are global, which means they remain in affect until the
alternative command is used or until the script file has been changed (i.e.,
until the script file is opened for edit and closed). Default action is to discard the global variable values after each event.

Code:
retainglobalvar
var numtnd : n5 //Numtnd is retained until POS Operations is Shut Down or Reloaded.

event tmed : 1
  numtnd = numtnd + 1

endevent
[/code}

Note sure if this will help or not, as I haven't used it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top