jobrunner:docs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
jobrunner:docs [2023/03/21 22:13] – created Gareth Johnstonejobrunner:docs [2024/04/15 15:51] (current) – [<OpenForm>] Justin Willey
Line 349: Line 349:
   * **formid** The id of the form   * **formid** The id of the form
   * **static** YES or NO   * **static** YES or NO
 +
 +Note that static forms will not open if another instance with the same //formid// already exists.
 +
 +To open an internal browser window that loads pages from the LocalWebPage table use formid INTERNALBROWSER. First parameter is the URL and the second is the form id, followed by the required window title, separated by a dollar symbol. 
 +++++ Example| <sxh xml><Job title="Show XYZ Login" autoclose="Yes">
 +  <SetVariable name="CurrentStaff" sql="UserStaffID" />
 +  <OpenForm formid="INTERNALBROWSER" static="YES">
 +    <Writeln>
 +      <![CDATA[http://localhost:{HTTPServerPort}/iqx/page/xyz-login.html?StaffID={CurrentStaff}&amp;RunListener=1&amp;Port={HTTPServerPort}]]>
 +    </Writeln>
 +    <Writeln>
 +       <![CDATA[XYZ$Xyz Login]]>
 +    </Writeln>
 +  </OpenForm>
 +</Job>
 +</sxh>
 +++++
  
 ==== <CloseForm> ==== ==== <CloseForm> ====
  • jobrunner/docs.1679436819.txt.gz
  • Last modified: 2023/03/21 22:13
  • by Gareth Johnstone