AnswerCollection.UploadAnswerCollection Method  

This method uploads the AnswerCollection to the specified location (url).

Executing this method is similar to specifying a URL in the Upload Answers component file property. (For details, see the HotDocs Desktop Help File.)

Syntax

void UploadAnswerCollection ( string url, HotDocs.HDANSWERUPLOADFORMAT format )

Parameters Description
url The destination for the uploaded answers. It can be an HTTP or HTTPS location.
format The format for the uploaded answers. It can be one of the following values from the HDANSWERUPLOADFORMAT enumeration:
  • HD_DEFAULTFORMAT: the delimited format used by HotDocs 5.
  • HD_XMLFORMAT: the XML format used by HotDocs ANX answer files and HotDocs Server interviews. It is the preferred format because it is much easier to work with once it gets to the server.