For DMI calls, is there a way to get the RPCRequest or specify the request parameters for it? I need specify the prompt parameters for these type of requests, but cannot get anything to work. I am currently on SmartClient 8.1 and have been through the documentation.
The documentation says that the following call will return the RPCRequest. The returned value however is undefined.
DMI.call(appID, className, methodName, arg1, arg2 ...argN, callback);
The documentation also says that I can pass in request params with the following call. This does not work either.
DMI.call({
appID: appID,
className: className,
methodName: methodName,
arguments: [arg1, arg2, ...argN], //optional
callback: callback, //optional
requestParams: requestProps // optional
});
Any help here would be appreciated.
The documentation says that the following call will return the RPCRequest. The returned value however is undefined.
DMI.call(appID, className, methodName, arg1, arg2 ...argN, callback);
The documentation also says that I can pass in request params with the following call. This does not work either.
DMI.call({
appID: appID,
className: className,
methodName: methodName,
arguments: [arg1, arg2, ...argN], //optional
callback: callback, //optional
requestParams: requestProps // optional
});
Any help here would be appreciated.
Comment