Code: Select all
var str = " \n " + JSON.stringify(newObj) + " \n ";
var uv = new SFS2X.Entities.Variables.SFSUserVariable("filter", str);
For now it works, but it's a bit hacky.... and its better if smartfox doesn't change my strings, not even by just adding quotes.
I'm a bit low on time, so i didn't dig very deep into it... so if i'm mistaken, please correct me .