Generate Settings

 

Template file Template archive (zip file)
Application root folder The root folder of the ASP application. (See Application Root for more info on application root)
Destination folder

The destination folder where the scripts are to be generated. The folder is usually same as the application root folder or a subfolder under the application root folder.

Output filename

None - no prefix/infix/suffix is added
Prefix - a prefix is added to all output file names
Infix - an infix (between table name and page ID) is added to all table-specific file names
Suffix - a suffix is added to all output file names

Prefix/Infix/Suffix The string to be concatenated to output file names when the Prefix or Infix or Suffix option is specified
Lowercase Specify whether output file names are in lowercase
Start page

Specify the first page that the default page (usually "default.asp") should redirect users to.

If this setting is left blank, user will be redirected to the List page of the default table (see Table Setup) or the first table that the user have permssion to access.

If this setting is not blank, the default page will simply redirect user to the page you specify, e.g. a page not generated by the current project. If you start the site by the typical default.asp, leave this setting blank, do NOT enter default.asp or there will be a indefinite loop.

Testing web server

Specify the web server that you want to use to test the generated site. For use with Browse after generation (see below). You can choose IIS Express or Other. Requires IIS Express installed on the same machine as ASPMaker.

IIS Express is a simpler and self-contained version of IIS that is optimized for developers. IIS Express is free, does not require administrative privileges to run and supports all Windows platforms XP and above. It can be downloaded from microsoft.com.

If you choose Other web server (e.g. you use IIS), you need to specify Testing root URL (see below) also.

Browse after generation Specify whether to open a browser to test the generated site after script generation.
Testing root URL

Specify the URL of your testing site that maps to the Application root folder (see above). For use with Browse after generation. If you use IIS Express, this setting is NOT required.

For example, if you have set up a website like:

Application root folder: C:\Users\Administrator\Documents\mycompany.com

Destination folder: C:\Users\Administrator\Documents\mycompany.com\project1

and you have setup your testing website's document root at the application root folder, so that you browse the main site by:

http://localhost/

and browse the ASPMaker generated site by:

http://localhost/project1/

Then the Testing root URL should be:

http://localhost/

(NOT http://localhost/project1/, which points to the Destination folder).

ASPMaker will calculate the relative path and add "project1/" to the Testing root URL when opening the browser.

 

After setting above, click the [Generate] button to generate scripts. ASPMaker allows you select scripts to generate, just select the files you want to generate in the [Output] column. If you want include ASPMaker scripts into your custom ASP scripts, you may not want to generate header and footer in those pages. Then you can enable [No header/footer] for those pages. Note that header includes the menu and the project tite.

After selection, click the [Generate] button to generate scripts.

If you modify settings for a table and want to re-generate script for that table only, you can click [Unselect All], then select the files you want to re-generate and click the [Generate] button to generate again. If you are not sure which files to re-generate, click [Select All] and re-generate all files.

You can also right-click the column header of [Output] or [No header/footer] to quickly select all or unselect all items in the column.

Notes

  1. If it is your first generation or you have changed some project level settings, you must select [Other files] to generate the non table-specific pages.
  2. You can press F9 to skip above form and generate all scripts.
  3. You can press Ctrl + F9 to skip above form and re-generate previously selected scripts.

If you need to abort script generation in the middle of the process, just click the [Cancel] button under the progress bar that displayed during generation.

 

Also See:

Customizing Template
Project File

 

 ©2001-2017 e.World Technology Ltd. All rights reserved.