EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

call built in service from server script

Hi There, I m used to call scripts from scripts using the script id number ...
my question: is it possible to call a service generated by the UI side like DB service from a server script ?
thk you in advance,
Eric

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

call built in service from server script

Hello,

No, it is impossible. Server Code doesn't have visual functions. Please run any request there with a XHR2 function: https://docs.appery.io/v2.2.0/reference

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

call built in service from server script

Sergiy, thank you for your prompt reply and the link. it helped.

Return to “Issues”