Table of Contents

  1. About HotDocs Sample Portal for Cloud Services
  2. System Requirements
  3. Installing Sample Portal for Cloud Services
  4. Files Used with the HotDocs Sample Portal for Cloud Services
  5. Using Sample Portal for Cloud Services

1. About HotDocs Sample Portal for Cloud Services

HotDocs Sample Portal for Cloud Services is an application designed to demonstrate some of the basic features of HotDocs Cloud Services for evaluation purposes. Unlike the regular version of Sample Portal that uses HotDocs Server to get interviews and assemble documents, this version of Sample Portal uses Cloud Services instead and does not require an instance of HotDocs Server. It also serves as one example of how a host application for Cloud Services can be designed and implemented; the source code (included in the installation) contains many developer comments to help you understand how it works.

HotDocs Sample Portal for Cloud Services demonstrates the following three features:

Because it is an example application, Sample Portal does not contain any user authentication or user management. It should not be used in any production-type environment.

2. System Requirements

Your system must meet the following software requirements before you can install HotDocs Sample Portal for Cloud Services:

In addition to the requirements listed above for the server, end users who need to view or complete browser-based interviews, or who need to view or edit assembled documents, require the following:

3. Installing Sample Portal for Cloud Services

The process of installing HotDocs Sample Portal for Cloud Services on your Web server is handled by a custom installation package designed for this purpose. Like most installation packages, this installation consists of several wizard-like dialog boxes that gather the information necessary for Sample Portal to be installed correctly.

To install HotDocs Sample Portal for Cloud Services

  1. Close all open applications.
  2. Save the installation package (SampleCloudPortal.msi) to a location on the server's hard drive.
  3. Open Windows Explorer and browse to the folder on the hard drive where the installation package is found.
  4. Double-click SampleCloudPortal.msi. The installation program begins installing Sample Portal.
  5. Follow the on-screen prompts to complete the installation. You will be prompted for information at the following dialogs:
    Dialog Description
    Program Files Enter the folder where Setup should install the program files. By default, this is "C:\Program Files (x86)\HotDocs Sample Portal for Cloud Services\."
    Application Settings This dialog box prompts for the following information:
    • Sample Portal Domain: In this section you should enter the name of your site, which will appear at the top of each page. The default name is HotDocs Sample Portal for Cloud Services. You should also enter the name of the domain or computer you will use when accessing Sample Portal for Cloud Services. If this is an internal server, you could use the computer name; for an external server, you would need to use a web-accessible name (e.g., www.domain.com). This is the URL of the HotDocs Server JavaScript folder.
    • HotDocs Cloud Services Credentials: Enter the HotDocs Cloud Services URL (e.g., https://cloud.hotdocs.ws), along with the subscriber ID and signing key you received when you signed up for HotDocs Cloud Services. (The ID and signing key are both case-sensitive, so be sure to type those values exactly as you received them.) Unless you receive instructions indicating otherwise, you should use the default Cloud Services URL displayed in the install.
  6. After completing the installation, open a browser and enter the URL (e.g., http://www.domain.com/SampleCloudPortal) in the Address box. (The last part of the URL, SampleCloudPortal, will always be the same, but you must replace www.domain.com with the value you specified during the installation.) When the page appears, you will see a list of templates ready for assembly.

4. Files Used with the HotDocs Sample Portal for Cloud Services

You should become familiar with the different files used by Sample Portal, including aspx pages, codebehinds, HotDocs templates and component files, etc.. The following table lists the important files, grouped by folder, which are installed with Sample Portal:

Sample Portal for Cloud Services

This is the main program files folder (e.g., C:\Program Files\HotDocs Server\Sample Portal for Cloud Services). It contains the the readme file and a shortcut to the Sample Portal for Cloud Services home page.

Sample Portal for Cloud Services\Files

This folder contains three subfolders:

Sample Portal for Cloud Services\WebApp

The SampleCloudPortal virtual directory created in IIS during the Sample Portal for Cloud Services installation points to this folder. It contains the Sample Portal for Cloud Services application and C# source code. The following folders and files are of particular interest:

5. Using Sample Portal for Cloud Services

To begin using Sample Portal for Cloud Services, open the application in your web browser (e.g. go to http://domain.com/SampleCloudPortal/). Sample Portal for Cloud Services provides an interface for you to assemble documents by merging a set of answers with a HotDocs template stored on the server. When you assemble a document, Sample Portal displays a set of dialogs (the "interview") where you enter answers required by the selected template. When you finish entering your answers in the interview, you can download and save the assembled document on your local computer.

Sample Portal also allows you to manage the set of templates available for assembly (a few sample templates from the HotDocs Demonstration Templates library are included, but you can also upload your own templates), and you can also manage answer files that are created when assembling documents.

To access Sample Portal

  1. Open a web browser window.
  2. Enter the Sample Portal URL in the Address bar. This URL looks like the following example, where www.domain.com is your own domain or computer name: http://www.domain.com/SampleCloudPortal

When the Web site loads, you will see the Home page with a list of templates ready for assembly.

To assemble a document

  1. At the Home (Select a Template) page, click the title of a template. The Answer Set page appears.
  2. Choose a new answer file, an existing answer file on your PC, or an answer file stored on the server, then click Continue. The Interview page appears.
  3. Answer questions on each dialog of the interview, then click Finish when all questions are answered. The Disposition page appears.
  4. Do one or more of the following tasks:
    • If you did not answer all of the questions, click Return to Interview to finish answering required questions.
    • Enter a Title and Description for the answer file, then click Save Answers to save the answer file on the server.
    • Click Download to save a copy of the finished document(s) to your PC.

To manage templates

  1. At the Home page, click Manage Templates. The Manage Templates page appears.
  2. Click Edit next to a template to change its title or description.
  3. Click Delete next to a template to remove it from the template list.
Note: Deleting a template in this manner does not delete the actual template files from the server. If you wish to delete the file, you must log on to the server and delete the files manually from the Sample Portal Templates folder (e.g., C:\Program Files\HotDocs Server\Sample Portal\Files\Templates). To upload additional templates to Sample Portal for Cloud Services, follow the steps explained in the HotDocs Developer help file under the topic "Upload Templates to a Web Server." The URL for uploading templates is shown at the bottom of the Manage Templates page (e.g., http://www.domain.com/SampleCloudPortal/upload.aspx).

To manage answer files

  1. At the Home page, click Manage Answers. The Manage Answer Files page appears.
  2. Click Edit next to an answer file to change its title or description.
  3. Click Delete next to an answer file to remove it from the answer file list.
Note:You can only add a new answer file to this list by saving answers following a document assembly.