2016

Table Of Contents
Lets you log out of the App Studio
Publishing Portal. For example:
http://localhost:8080/
appstudio/clearcredential
String
clearcredential
Lets you retrieve the current
publication hierarchy from the
String
config
App Studio Publishing Portal. For
example:
http://qxpserver:port/
appstudio/config
Lets you specify a layout by name
or ID. The first layout is Layout 1.
String
layout
Render modifier
parameters
Lets you specify a page.Integer
page
Lets you specify a range of pages.String (page
range)
pages
A .zip file containing an HTML5 article.Response
HTTP Error #406The renderer for this image type has
no way of rendering the desired
objects.
Alerts
This alert displays if you submit a render request
with the box parameter.
HTTP Error #10120Cannot open this document type.
Please select a QuarkXPress document
or template.
This alert displays if you submit an appstudio
request for a QuarkCopyDesk article.
See Understanding loggingLogs
http://localhost:8080/appstudio/sample.qxp
Example, GET URL
Request object name: AppStudioRenderRequest
// STEP 1: Create the QuarkXPress Server Request
// Context and set the necessary properties
Example, object
model
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 = service.processRequest(requestCtx);
ave
The ave render type returns a .zip file containing an AVE issue file and its corresponding
manifest.
AVE
Namespace
A GUIDE TO QUARKXPRESS SERVER 2016 | 53
USING QUARKXPRESS SERVER