Hi,
This question is continuing of Custom functions with arguments.
Custom function is working as expected. But i am trying to call API HTTP request but inside custom function i am not able to get api call.
class customCallbackFn extends FunctionPlugin {
public ServiceProxy: QklyAnnualizedItemsServiceProxy
paramFn(param, column, val) {
var me = this;
if (me) {
me.ServiceProxy.getConditionTypeDetails('', '', 46, 1, 1).subscribe(result => {
});
return 3
}
else return 2;
}
lookupsheet(ast, state) {
return this.runFunction(
ast.args,
state,
this.metadata("VLOOKUPSHEETFN"),
this.paramFn
);
}
}