8.0

Table Of Contents
Inserting text
Adds new text to the text box or replaces existing content.
Parameters
<box-name>
string
The string parameter replaces the
content of the text box named
<box-name> with a new string value.
Use the file: indicator to replace the
contents of the text box with text saved
in a file.
Response
The QuarkXPress project with the new contents in the text boxes.
Alerts
File not found.
HTTP Error #404
QuarkXPress Server Error #-43
This alert is displayed when you try to put content from a text
file into a text box but the text file does not exist in the
document pool.
What to do: Check whether the text file exists in the
document pool. If not, create the text file in the document
pool and resubmit the request to QuarkXPress Server. If the
text file does exist in the document pool, check the file name
in the request. This alert is also displayed if the text file is
saved in a subfolder of the document pool. In this case, use
the file: indicator before the text file path.
For example:
http://localhost:8080/sample.qxp?Story1=file:Story1\News.do
c
In this example, the News.doc file located in the Story1 folder
in the document pool is placed into the text box named
Story1.
Logs
If the project is successfully rendered, a transaction success message is written to
the QuarkXPress Server Transaction Log file. The transaction entry consists of the
date and time of the request, render type, project name, type of response
produced by server, size of response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
8/3/2005 11:27:42 - jpeg/sample.qxp - Type: image/jpeg - Size: 31715 - Client:
127.0.0.1
If an alert is displayed, an error message is written to the QuarkXPress Server
error log. The following is a sample of an error log entry:
8/10/2005 10:32:57 - Error - Error Code: -43 - File not found.
Example GET
URL
http://localhost:8080/sample.qxp?Author=NewText
http://localhost:8080/sample.qxp?TopStory=file:TopStory.doc
Example, Object
Model
Request Object Name : RequestParameters
sdk.QRequestContext rc = new sdk.QRequestContext();
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
Page 86