2020

Table Of Contents
USING QUARKXPRESS SERVER
the session does not exist, an error is returned.
Parameter Type Description
docName String
Document (along with
relative path if required) to
be opened for modification.
host String
QuarkXPress Server instance
which should be used for
this document modification.
If null, this value is supplied
by the load balancer. If the
indicated server is not an
active registered server, an
error is thrown.
port Integer
The port for the server
specified in the host
parameter.
sessionId String
Session in which the
document should be
opened.
processRequestE
x
Executes the request context. If a session ID is specified, the
document is kept open after the request is executed. If no
session ID is specified, the request is executed normally without
keeping the document open. If the document is open in
another session, an error is returned. If the document is marked
dirty, an error is returned (a document is marked dirty when
the server that opened the document has become inactive; in
such a case, the document must be closed and opened again).
Parameter Type Description
reqContextObj
QRequestCont
ext
Request to be executed.
sessionId String
Session in which the request
should be executed. This
value may be null. If a
session ID is provided, the
document is kept open. If no
session ID is provided, the
request is executed
normally, as if
processRequest had been
called.
saveAllDocs
Saves all open documents in the session. The documents are
saved one by one. If error occurs while saving a document, an
error is returned immediately and the rest of the documents
remain unsaved. If a document is marked dirty, an error is
returned (a document is marked dirty when the server that
opened the document has become inactive; in such a case, the
document must be closed and opened again).
A GUIDE TO QUARKXPRESS SERVER 2020 | 43