SetWebReturnURL
After an XpressDox template has been run from within your own web application or website, the «SetWebReturnURL»
command can be used to specify a result page i.e. where the browser should point now that the document has been assembled. The return URL can be written into the application via the interview URL generated by XpressDox Cloud, but the more secure way of doing it is to include the command inside the template itself. This return page can be anything from thanking the user for completing the interview and informing them of the next step in the process, or a page allowing the user to download the assembled documents. Your application is completely in control at this point.
The details of the assembly process (details of the template run and download links for the assemble documents and associated data file) will be posted (HTTP POST) in XML format via an HTML form to the specified URL on completion of the interview. The name of the parameter containing the xml data will be set to xdResultData.
An example would be:
«SetWebReturnURL(‘www.xpressdox.com’)»
For more information about integrating an interview into your web page, please see the documentation built into XpressDox Cloud. To access the integration information, login to your cloud account, click to view any interview and then click the “Include Interview in your Page”
link on the left had side of the page (link also available in the dropdown menu on the explorer page). Answer the very simple form and hit the “Show Me How” button and the code you need, along with an explanation, will be generated for you.