System Table TB_GN_DIRECTORY_ALIAS

This table specifies the links to file or picture folder names for Infrastructure Application Extension . It is used for form designer and report designer controls that specify a file name or a picture file. The first part of the file name will be replaced using this table.

Note: If your pictures are stored in the AutoCAD Map 3D <version>\Pics folder or a subfolder, you need not specify an alias in TB_GN_DIRECTORY_ALIAS.

Control properties that use file/folder names:

Example with filename "c:\dat\mydocuments\house55.bmp"

  1. Create an alias in the IIS for "c:\dat\mydocuments\". For example, "MyPictures")
  2. Create a new record in TB_GN_DIRECTORY_ALIAS and set

    Directoryname="c:\dat\mydocuments\"

    AliasName= "http://mycompany.com/MyPictures/"

All Web file names that begin with "c:\dat\mydocuments\" are preceded by "http://mycompany.com/MyPictures/".

There are two ways to specify the alias name. You can either enter a complete URL or a relative address. For example, when you specify a complete URL, such as http://mycompany.com/MyPictures, the alias name is the absolute path. When you specify an alias without the HTTP part, such as MyPictures/, the alias name is related to the IIS alias.

Also, you can create a virtual directory that is not located under Autodesk Infrastructure Map Server and specify the complete URL as alias.

Note: Restart AutoCAD Map 3D toolset after making new entries or changing older entries.