Hey,
Could someone help me, I'm trying to pass a parameter from javascript to a plugin, but I'm not having success.
Here are codes:
var req = {};
req.getMetadata = function () {
return {
boundParameter: null,
parameterTypes: {"CNPJ": CNPJ_data_texto},
operationType: 0,
operationName: "new_TestedeProcesso"
};
};
var CNPJ = (string)context.InputParameters["CNPJ"];
((IPluginExecutionContext)serviceProvider.GetService(typeof(IPluginExecutionContext))).InputParameters["CNPJ"] = CNPJ;