10,729
edits
Line 380: | Line 380: | ||
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. To see the full list click here: http://www.resco.net/MobileCRM/support-jsbridge.aspx# | This class has many properties for different aspects of the form, such as entity, form, controllers, etc. To see the full list click here: http://www.resco.net/MobileCRM/support-jsbridge.aspx#MobileCRM_UI_EntityForm | ||
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. |