Apex Remote Input Object. This is used for invoking Apex RemoteAction.
// Sample Apex Class - ProductConsoleControllerV2.cls @RemoteAction global static Object invokeMethod(String methodName, String serializedInputs) { return retObj; } // Sample IApexRemoteInput const apexRemoteInput = { className: "ProductConsoleControllerV2", methodName: "invokeMethod", paramsArray: [ // first arg corresponds to first arg in Apex invokeMethod(methodName, ...) "getCustomLabels", // second arg corresponds to second arg in Apex invokeMethod(. , serializedInputs) JSON.stringify({ "labelNames": this.uriEncodedTextToTranslate(), "language": this.language }) ] } // Using IApexRemoteInput in DataSource dataSourceService.apexRemote(apexRemoteInput).execute().then(...);
Generated using TypeDoc
Apex Remote Input Object. This is used for invoking Apex RemoteAction.
// Sample Apex Class - ProductConsoleControllerV2.cls @RemoteAction global static Object invokeMethod(String methodName, String serializedInputs) { return retObj; } // Sample IApexRemoteInput const apexRemoteInput = { className: "ProductConsoleControllerV2", methodName: "invokeMethod", paramsArray: [ // first arg corresponds to first arg in Apex invokeMethod(methodName, ...) "getCustomLabels", // second arg corresponds to second arg in Apex invokeMethod(. , serializedInputs) JSON.stringify({ "labelNames": this.uriEncodedTextToTranslate(), "language": this.language }) ] } // Using IApexRemoteInput in DataSource dataSourceService.apexRemote(apexRemoteInput).execute().then(...);