Resco JavaScript Bridge: Difference between revisions

Jump to navigation Jump to search
(→‎Fetch: distinct=true)
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.


{{Note|Any fetch run through Resco that does not have the "distinct" attribute explicitly defined is assigned with <code>distinct="true"</code>. Therefore, using JSBridge Fetch functionality you only get the unique results.}}
{{Note|Any fetch run through Resco that does not have the "distinct" attribute explicitly defined is assigned with ''distinct="true"''. Therefore, using JSBridge Fetch functionality you only get the unique results.}}


Code:
Code:

Navigation menu