I`m going to delete mulitiple data extension records with Server-Side Javascript, so I used function of 'Platform.Function.DeleteData' and code as following:
Platform.Function.DeleteData("Map Tags With Emails", ["Email ID"], arrayEmailIds);
Here 'arrayEmailIds' is a variable of array type, but it is not to works. Then I change the code as following:
var emailIds = Request.GetFormField("emailIds");
var arrayEmailIds = Platform.Function.ParseJSON(emailIds);
for (var i = 0; i < arrayEmailIds.length; i++) {
Platform.Function.DeleteData("Map Tags With Emails", ["Email ID"], [arrayEmailIds[i]]);
}
It works properly, even so I think it is not a good way to do this, so I want to get a better method to involve this case.