I am using a simple JavaScript to receive a row from [Data Extension Server-Side JavaScript Functions] 1 in ExactTarget and display the retrieved row on Landing Page . As below
Platform.Load("core", "1");
var birthdayDE = DataExtension.Init("birthdayDE");
var filter = {
Property: "EmailAddress",
SimpleOperator: "equals",
Value: "[email protected]"
};
var data = birthdayDE.Rows.Retrieve(filter);
if (data.length > 0) {
Write("table border='1' cellpadding='2' cellspacing='3' style='border-collapse:collapse;");
for (var i = 0; i <= data.length; i++) {
var d = data[i];
Write("tr");
for (var key in d) {
Write("td" + d[key] + "/td");
}
Write("/tr");
}
Write("/table");
Somehow it does not show me any results nor give any errors.