CADViewer Redlines - Server Interaction Setup

Redlines Script and Servlet Instructions

How it works

CADViewer PRO & ENT allow users to draw redline objects and to save these redline objects to the server. In order to save redline objects to the server, a server CGI script or servlet is required. CADViewer sends redlines data via HTTP POST to the script on the server. When CGI script or servlet receives data from CADViewer, it is responsible for saving redline data to the server and sends a message end with one of the two keywords "ok" or "dialog" back to CADViewer to end the transaction. CADViewer inteprets the "ok" message obtained from the script as a sucessful transaction. CADViewer will display all the message received from the server ending with the keyword "dialog". The content of the message is up to the web administrators. CADViewer also allow users to read redline files saved on the server.


If you are going to use CADViewer with Windows 2003 Server and do not want to install Apache, do read the following resource about setting up Perl: http://www.visualwin.com/Perl/ and http://www.wrensoft.com/zoom/support/faq_cgi.html#cgi_misbehaved

Important check list

CADViewer cannot open/save redline files unless the following requirements are met

How to open and save redline objects

About TMS scripts

When users click the redline save button, CADViewer will send the following parameters via HTTP POST to the server script (defined by param "redline_cgi" such as <param name="redline_cgi" value="http://xyz.com/cgi-bin/redsaver.pl">):

How to set up to open redline file on a local machine

How to set up to open redline file on the server

How to set up to save redline objects on a local machine

How to set up to save redline objects on the server

Examples