Irvin have you read this post: https://community.skuid.com/t/calling-apex-function
I’m not sure I know all the options, but from that post it looks like you may have at least one “non-webservice” option.
Read the post this morning. I am going with Option 2 at the moment. Just repackaged my RemoteAction into a HttpGet. Not quite sure how to get the server instance, however.
$.ajax({ <br> type: "GET",<br> url: "??????", <-- how to get the server URL?<br> beforeSend: function (xhr) {<br> xhr.setRequestHeader('Authorization', "Bearer" + sforce.connection.sessionId); <-- is this correct?<br> xhr.setRequestHeader('Accept', "application/json");<br> xhr.setRequestHeader('Access-Control-Allow-Origin', '*');<br> xhr.setRequestHeader('Access-Control-Allow-Methods', 'GET');<br> },<br> success: function (data) {<br> console.log(data);<br> deferred.resolve();<br> }<br> });
For others that may run into a similar use case, please consult this tutorial page:
http://help.skuidify.com/m/page-assig…
This tutorial describes how to use the Visualforce component approach where you create your own Visualforce Page and use the Skuid.Page component. This has the benefit of injecting the proper JavaScript into the page so that JavaScript remoting works.