Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartClient object always have extra data

    I am storing advanced criteria to my database. But getcriteria() function always fetch smartClient data as well. Is there any way to exclude those information while saving to database and atach it from browser onloading data from database. It just extra load to server in sending request and receiving response.

    Also, wanted to know, what are this and how to extract them from object.

    Please find attached image, I marked it with blue. Click image for larger version

Name:	NSobject.PNG
Views:	42
Size:	32.4 KB
ID:	233388

    #2
    This data is not normally transmitted to the server by any built-in DataSource type, and would not be included by serialization approaches such as JSONEncoder.

    If you are actually ending up sending data like this to the server, you are presumably using a flawed serialization approach that uses for..in iteration on Arrays. You can correct this by iterating by index (for (var i = 0; i < array.length; i++)).

    Comment


      #3
      Yes, I am sending JSONEncoded string.

      Thank you, I will try that.

      Comment

      Working...
      X