9,310
edits
No edit summary |
|||
Line 429: | Line 429: | ||
Besides data access, Resco JavaScript Bridge can also access the standard [[user interface components|UI elements]] of [[Resco mobile apps]], such as [[form]]s and [[view]]s. The main UI element is the entity form, represented by the MobileCRM.UI.EntityForm class. | Besides data access, Resco JavaScript Bridge can also access the standard [[user interface components|UI elements]] of [[Resco mobile apps]], such as [[form]]s and [[view]]s. The main UI element is the entity form, represented by the MobileCRM.UI.EntityForm class. | ||
This class has many properties for different aspects of the form, such as entity, form, controllers, etc. | This class has many properties for different aspects of the form, such as entity, form, controllers, etc. See the full list [https://github.com/Resconet/JSBridge/wiki/MobileCRM.UI.EntityForm on GitHub]. | ||
With these methods and properties, you can make perform many operations on the form. However, you can’t access the form directly – as usual with Resco JavaScript Bridge, you must request the form object using a callback function with entityForm object. Usually, this is MobileCRM.UI.EntityForm.requestObject. | With these methods and properties, you can make perform many operations on the form. However, you can’t access the form directly – as usual with Resco JavaScript Bridge, you must request the form object using a callback function with entityForm object. Usually, this is MobileCRM.UI.EntityForm.requestObject. |