2020

Table Of Contents
USING QUARKXPRESS SERVER
App Studio Publishing
Portal. For
example:http://localh
ost:8080/
appstudio/clearcreden
tial
config String
Lets you retrieve the
current publication
hierarchy from the
App Studio Publishing
Portal. For
example:http://qxpser
ver:port/
appstudio/config
Render modifier
parameters
layout String
Lets you specify a
layout by name or ID.
The first layout is
Layout 1.
page Integer
Lets you specify a
page.
pages String (page range)
Lets you specify a
range of pages.
Response A .zip file containing an HTML5 article.
Alerts
The renderer for this
image type has no
way of rendering the
desired objects.
HTTP Error #406 This alert displays if you submit a
render request with the box parameter.
Cannot open this
document type.
Please select a
QuarkXPress
document or
template.
HTTP Error #10120This alert displays if you submit
an appstudio request for a QuarkCopyDesk article.
Logs See “Understanding logging.”
Example, GET URL http://localhost:8080/appstudio/sample.qxp
Example, object
model
Request object name: AppStudioRenderRequest // STEP 1: Create the
QuarkXPress Server Request // Context and set the necessary properties
com.quark.qxpsm.QRequestContext requestCtx = new
com.quark.qxpsm.QRequestContext(); Boolean responseAsURL = false;
requestCtx.setDocumentName(docName); // STEP 2 (SPECIFIC TO
REQUESTS): // Create the App Studio renderer // request and embed it in
the request context. AppstudioRenderRequest req = new
AppstudioRenderRequest();
req.setAppStudioData(request.getParameter(“AppStudioData”));
requestCtx.setRequest(req); // STEP 3: Create the service and call the //
processRequest() API RequestService service = new RequestServiceStub();
com.quark.qxpsm.QContentData data =
52 | A GUIDE TO QUARKXPRESS SERVER 2020