KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Shared Objects with Form Objects
PRODUCT: 4D | VERSION: 16 R | PLATFORM: Mac & Win
Published On: June 28, 2018
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

It is possible to bind shared objects to form objects and form object properties.



However this is not recomended with data entry that modifies the objects because they must be reworked to include a Use/End use to allow the modification to apply adding complexity to setting up the object.

Use(sharedObj)
   //...
End use


It is also possible to bind form widgets to a shared object but this is not recomended. Any modifications to the shared object would not be automatically applied to the form.

As such the more preferable use for shared objects with form objects would be for readonly situations.

Documentation:
-Shared objects and shared collections
-Use...End use