Revision history of "Embed TS in other sites"

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 15:09, 21 January 2025Tvi talk contribs 477 bytes +477 Created page with "To embed the output of a public codeunit, on another website, the following code can be used.<syntaxhighlight lang="html"> <div id="tsContent"></div> <script type="text/javascript"> $.ajax({ url: 'https://[SYSTEM-DOMAIN]/[APP-NAME]/mainpublic?command=[CODEUNIT-NAME]]', success: function(data) { $('#tsContent').html($(data).find(".mainContent").html()); }, }); </script> </syntaxhighlight>It requires jQuery to be loaded beforehand." Tag: Visual edit