Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For security reasons, we apply restrictions on the usage of the DS from client side, i.e. when calling DS methods through the JavaScript APIWeb SDK or one of our Mobile SDKs.
Please note that some methods, such as ds.setSchema, are supported only for server-side SDKs.

...

Now we can set these fields from the client application, for example using the JavaScript APIWeb SDK:

Code Block
languagejs
linenumberstrue
var params = {
	    data: {
           address: {
               city:"LA",
               state:"California"
           }
    },
    type:"otherInfo"
};

gigya.ds.store(params);

...