Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

With both types of code i get Failed to load resource: the server responded with a status of 400 (Bad Request)
Image

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

Even this code you helped with give that error.

var someStorage = Apperyio.storage.stuffList.get();
var storageText = JSON.stringify(someStorage);
return "JSON value for the items = " + storageText;

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

Also tried this:

var arrayText = localStorage.getItem("stuffList");
var storageText = JSON.parse(arrayText);
Appery('txttoets').val(storageText);

But return this:
[object Object],[object Object],[object Object],[object Object],[object Object],

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Listitem in sendgrid email

Johnny, could you show us screenshots of the request data from the browser's network tab?

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

Ok With the code you provide me at the beginning:

var someStorage = Apperyio.storage.stuffList.get();
var storageText = JSON.stringify(someStorage);
return "Prayer List = " + storageText;

Image

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

I tried all kind of code :) but im stuck and would really appreciate your help.

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

Hi there

I really struggle here. Can you help me out please. I also contact you via priority email.

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

I know i must do somthing like

var dataString = localStorage.getItem("stuffList");
var data = JSON.parse(dataString);

I read almost all the post about this :(

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

Almost there :)

var dataString = localStorage.getItem("stuffList");
var data = JSON.parse(dataString);
for(var i=0; i);
}

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Listitem in sendgrid email

YAY I got it working :)

this was my working line:
arr = (data.text +"\n");

Thats all I need help with. Dont know why you not answering me on priority mail or here.

But sure you have you reasons. anyway thx

Return to “Issues”