10.2.1

Table Of Contents
8/10/2005 10:39:07 Error Error Code: 10339 The specified file failed to load in the
picture box.
http://localhost:8080/sample.qxp?
PictureBox=file:FrenchOpen.pdf
Example, GET
URL
Request object name: RequestParameters
com.quark.qxpsm.QRequestContext rc = new com.quark.qxpsm.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
//STEP 2(SPECIFIC TO REQUESTS):Create the Box Param
//renderer request and embed it in
RequestParameters request = new RequestParameters();
NameValueParam nameValue1 = new NameValueParam();
nameValue1.paramName = this.boxname1.Text;
if(!this.boxvalue1.Text.Equals(""))
nameValue1.textValue = this.boxvalue1.Text;
request.params = new NameValueParam[]{nameValue1};
rc.request = request;
//Create the service and call it with QRequestContext object
RequestService svc = new RequestService();
com.quark.qxpsm.QContentData qc = svc.processRequest(rc);
Box names are case-sensitive.Notes
You can use "&" to change the contents of multiple boxes in one request. For example:
http://localhost:8080/sample.qxp?
Logo=file:logo.jpeg&TopPicture=file:TopPicture.eps
Saving a projects with a new name
The saveas content modifier lets you save modified QuarkXPress projects in any
supported format to the document pool or to any network location accessible to
QuarkXPress Server.
If you send a saveas request to QuarkXPress Server Manager using HTTP or the Web
services interface while the common doc pool switch is set to off in the
QuarkXPress Server Manager client, the file is saved to all registered QuarkXPress Server
instances. If the common doc pool is enabled, the file can be saved to any one registered
QuarkXPress server instance.
Lets you specify a name for the saved-as project.String
newname
Parameters
Lets you specify a location for the saved-as project (other than
the document pool).
String
path
Lets you specify whether the project should be saved to the
document pool.
true | false
savetopool
The default value for this paramter is true. However, if you
specify a path value, the default value changes to false, which
means if you want the project saved to the document pool,
you must explicitly set savetopool to true.
Lets you specify whether the saved project should replace a
project with the same name. The default value is true.
true | false
replace
The message "Document successfully saved."Response
HTTP Error #404File not found.Alerts
QuarkXPress Server Error #43
86 | A GUIDE TO QUARKXPRESS SERVER 10.2.1
USING QUARKXPRESS SERVER