9,310
edits
(→Fetch) |
(→Fetch) |
||
Line 199: | Line 199: | ||
Finally, the Fetch query is executed, and the results are processed in the success callback – one of the elements on the HTML page is filled with HTML code and the application data. In case of an error, a message box with the error is displayed. | Finally, the Fetch query is executed, and the results are processed in the success callback – one of the elements on the HTML page is filled with HTML code and the application data. In case of an error, a message box with the error is displayed. | ||
Any fetch run through Resco that does not have the "distinct" attribute explicitly defined is assigned with <code>default="true"</code>. Therefore, using JSBridge Fetch functionality you only get the unique results. | |||
Code: | Code: |