I just learned how to use WSProxy as an alternative to use in Salesforce Marketing cloud. The SF documentation provides retrieve data but is only limited in retrieving data extension schema and details.
var prox = new Script.Util.WSProxy();
var props = { QueryAllAccounts: true };
var cols = ["Name","CustomerKey","CategoryID","IsSendable"];
var filter = {
Property: "CategoryID",
SimpleOperator: "equals",
Value: 101367
};
var opts = {
BatchSize: 25
};
var data = prox.retrieve("DataExtension", cols, filter, opts, props);
Is there a retrieve functionality for data extension rows in WSProxy, something like:
var prox = new Script.Util.WSProxy();
var cols = ["Field1","Field2","Field3","Field4"];
var filter = {
Property: "Field1",
SimpleOperator: "equals",
Value: 101367
};
var data = prox.retrieve("DataExtensionObject", cols, filter);