Adding a Master File to a Project

How to:

Before you can create a procedure that reports against a data source, your application must understand how the data is organized. To obtain this information, your application reads a synonym, which generally consists of two files:

Often, a synonym already exists on the server and reporting can begin at once. However, if the synonym you need does not exist on the server, you can create it directly from Developer Studio using the Create Synonym tool.

There are several ways to provide metadata to a project:

Included in Developer Studio are several sample Master Files (.mas) and corresponding data sources (.foc). Optionally, use these sample files to practice creating projects.


Top of page

x
Procedure: How to Add a Master File to a Project
  1. Open the Master Files folder in a project.
  2. Click the Displays all files in the project path button on the Explorer toolbar.

    The right window pane displays a list of all Master Files in the paths defined for the selected project. Master Files that are not added to the project have a light gray icon next to them and the file type description is Master File Visible within Project Path.

  3. Right-click a Master File from the available Master Files list in the right window pane and select Add to Project.

    or

    Select a Master File and click the Inserts the selected items into the project button on the Explorer toolbar.

    The Master File icon changes color to signify that it has been added to the list of Master Files in your project and the file type description changes to Master File.

Tip: You can add two or more Master Files at one time. Hold down the Ctrl key to select multiple Master Files.


Top of page

x
Procedure: How to Remove a Master File From a Project
  1. Open the Master Files folder in a project.
  2. Click the Displays all files in the project path button the Explorer toolbar.

    The right window pane displays a list of all Master Files in the paths defined for the selected project. Master Files that are added to the project path have a color icon next to them and the file type description is Master File.

  3. In the right window pane, right-click a Master File and choose Remove from Project.

    or

    Select a Master File and click the Removes the selected items from the project button on the Explorer toolbar.

    Click Yes to confirm removal of the Master File.

Tip: You can remove two or more Master Files at one time. Hold down the Ctrl key to select multiple Master Files.


Top of page

x
Procedure: How to Permanently Delete a Master File
  1. Select a Master File and click the Delete button Delete button on the Explorer toolbar.
  2. Click Yes to confirm permanent deletion of the Master File.

WebFOCUS