KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Imported Forms in Project mode
PRODUCT: 4D | VERSION: 19 | PLATFORM: Mac & Win
Published On: October 24, 2022

With 4D Project mode, it can be fairly easy to import forms from one project to another. This can be done by copying the entire directory containing the files that comprise the form that are typically found in the directory of the form's name at:
/{Project Name}/Project/Sources/Forms/

For example a form named "myForm" for a project named "SampleDB" would be at:
/SampleDB/Project/Sources/Forms/myForm/

However, some forms may use files that are not all contained in the forms' directories.
The files to look out for are:
- Project methods at /{Project Name}/Project/Sources/Methods/
- Style Sheets at /{Project Name}/Project/Sources/
- Global resources directory at /{Project Name}/Resoruces/
- Subforms

As explained, simpler forms can be easy to import by copying one directory over. More complex forms that utilize additional items external to the scope of the form may requires some additional locating and copying.