-
Notifications
You must be signed in to change notification settings - Fork 24
MobileCRM.UI.IFrameForm.show
rescocrm edited this page Aug 2, 2024
·
9 revisions
Shows a new iFrame form.
| Argument | Type | Description |
|---|---|---|
| caption | String | Defines the form caption. |
| url | String | Defines the URL of the HTML document. |
| maximized | Boolean | Indicates whether the new form should be maximized. |
| options | Object | Generic object passed to the new iFrame (see MobileCRM.UI.IFrameForm.requestObject). |
This example demonstrate how to show a new iFrame form. Method must be called from another iFrame with some options.
function show() {
MobileCRM.UI.IFrameForm.requestObject(function (iFrame) {
/// <param name='iFrame' type='MobileCRM.UI.IFrameForm'/>
MobileCRM.UI.IFrameForm.show("TestIframe", "http://www.google.com/", false, (options = { text: "Some Text as option." }));
}, MobileCRM.bridge.alert, null);
}