Is there a "proper" way to call a Suitelet from SuiteTalk?
u
クリスピポテト
04/27/2020, 2:38 PM
Suitelet is different from SuiteTalk. Suitelet is more of custom script that you create using suitescript while SuiteTalk is either the REST or the SOAP integration. Suitelets would normally post with URL encoded strings while SuiteTalk could be JSOn for the REST and XML for the SOAP
c
cja
04/27/2020, 2:39 PM
I know, I'm just wondering literally my question
cja
04/27/2020, 2:40 PM
I've worked with SuiteTalk and SuiteScript for years. It would save me rewriting a script in C# if I could call the script via SuiteTalk
u
クリスピポテト
04/27/2020, 2:42 PM
The mechanism is pretty different, if you literally want to leverage the Suitelet using the same mechanism as SuiteTalk, do can't trigger the Suitelet unless you have a user event script deployed to a record being modified by SuiteTalk and that UE calls the Suitelet. But that's an ill-performing solution
c
cja
04/27/2020, 2:44 PM
Hoped there might be a simple RunScript command, like there's, e.g. AddCustomer
cja
04/27/2020, 2:44 PM
I'll keep looking. If I don't find something then I'll have to deal with Restlet auth in C#
u
クリスピポテト
04/27/2020, 2:59 PM
Yup. RESTlet or the REST API should be a better way to go