KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Batch Searching and Modifying Form Object Properties
PRODUCT: 4D | VERSION: 21 | PLATFORM: Mac & Win
Published On: March 26, 2026
4D does not provide a built‑in mechanism for searching and modifying form object properties across an entire application. In Project mode, however, this becomes feasible because all forms and form objects are stored as plain text files. This structure allows external tool, such as Visual Studio Code, to operate on the project’s files directly.

When a project is opened in Visual Studio Code, the editor gains access to all project files, including the text-based representations of forms and their objects. The global search feature functions similarly to 4D’s Find in Design, enabling text-based searches across the entire project. This capability makes it possible to locate specific form object properties or values by searching for their textual definitions.

Visual Studio Code also supports global text replacement, allowing property values to be updated across multiple forms simultaneously. This approach enables consistent changes—such as adjusting fonts, styles, or event settings, without manually editing each form in the Form Editor.

Using a text editor to search and replace form object definitions provides an efficient method for updating large numbers of objects. This technique is particularly useful in projects that require broad UI adjustments or standardized property changes across many forms.