FormInspector
| 📊 Overview: 1 Constructor | 7 Functions |
📝 Description
Parse 4D form.4DForm file and extract form metadata for documentation
🕐 Last updated: 2025-11-14T16:53:00.640Z
📑 Table of Contents
- 🏗️ Constructor (1 param)
- ⚙️ Functions
- Regular Functions
- _parseForm
- _countObjects (1 param)
- _getTableName (1 param) →
Text - _mergeExistingData
- toObject →
Object - toJSON →
Text - saveToFile
- Regular Functions
Constructor
constructor
[🏗️ constructor]
Class constructor($FormName : Text)
Parse 4D form.4DForm file and extract form metadata for documentation
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$FormName | Text | - | - |
Functions
Regular Functions
_parseForm
Function _parseForm
Parse the form.4DForm JSON file
_countObjects
Function _countObjects($Pages : Collection)
Count objects by type across all pages and collect interactive object details
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$Pages | Collection | - | - |
_getTableName
Function _getTableName($TableNumber : Integer) -> Text
Get table name from table number
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$TableNumber | Integer | - | - |
Returns: Text
_mergeExistingData
Function _mergeExistingData
Preserve manual comment
toObject
Function toObject -> Object
Convert to object for JSON export
Returns: Object
toJSON
Function toJSON -> Text
Convert to JSON string
Returns: Text
saveToFile
Function saveToFile
Save to file
Generated from FormInspector.4dm