Rename a BAM entity file
Change the filename of a BAM entity involves more than simply renaming the file from the Projects view.
Once an entity is implemented, the
entity filename serves as the basis for all supporting files. For example:
- If the Name property of a CRUD form is "
Foo
", then - The file created when implementing the entity is Foo.4fdm, and
- The files created for the application all begin with "Foo", such as Foo.4gl, Foo_common.4gl, and so on.
After implementation of an entity, you can change the logical name of the entity in the Business Application diagram; however, it does not change the entity filename on disk.
You may want to change the entity filename on disk. You may decide that it is not a good descriptor. You may want the generated file names use a different stub. To rename the physical file, you must follow these instructions.
This procedure does not remove the previous files (the application files previously generated using the old name.) You can manually delete those files using any file browser.