10,730
edits
Line 247: | Line 247: | ||
* iFrame – adds JavaScript to a view | * iFrame – adds JavaScript to a view | ||
=== | === Iframes === | ||
You can use [[Offline HTML]] functionality to add JavaScript and JSBridge to views and perform validation; for example when you use the view to change the data (editable fields, MultiSelect), and to handle view buttons. It is also possible to use JavaScript and JSBridge to load records to the view ([[FetchXML]]). | You can use [[Offline HTML]] functionality to add JavaScript and JSBridge to views and perform validation; for example when you use the view to change the data (editable fields, MultiSelect), and to handle view buttons. It is also possible to use JavaScript and JSBridge to load records to the view ([[FetchXML]]). | ||
Line 257: | Line 257: | ||
See [[Resco_JavaScript_Bridge#EntityList|Resco JavaScript Bridge]] for more information. | See [[Resco_JavaScript_Bridge#EntityList|Resco JavaScript Bridge]] for more information. | ||
{{Note|If you are using JavaScript to provide source data for a view, this applies to the default list view, but not to the map view. Map views and [[route plan]]s use the original fetch in the view combined with the latitude and longitude of the area currently displayed on the map.}} | {{Note|If you are using JavaScript to provide source data for a view, this applies to the default list view, but not to the map view. Map views and [[route plan]]s use the original fetch in the view combined with the latitude and longitude of the area currently displayed on the map; custom data provided by JSBridge are ignored.}} | ||
== Miscellaneous == | == Miscellaneous == |