Is there a "proper" way to call a Suitelet from Su...
# suitetalkapi
c
Is there a "proper" way to call a Suitelet from SuiteTalk?
u
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
I know, I'm just wondering literally my question
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
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
Hoped there might be a simple RunScript command, like there's, e.g. AddCustomer
I'll keep looking. If I don't find something then I'll have to deal with Restlet auth in C#
u
Yup. RESTlet or the REST API should be a better way to go