0 Replies Latest reply on Jan 14, 2018 8:21 PM by jk-2 RSS
    jk-2 Explorer

    Is it possible to send infotable value from JAVA SDK to Thingworx platform without datashape

    Hi,

     

    Is it possible to send infotable value from Edge SDK to Thingworx platform without datashape?


    Example:

    I have a datashape with two fields String and infotable. I am able to set and get the value for String. Not able to get the value for infotable.

     

     

     

       DataShapeDefinition dsd = new DataShapeDefinition();

      dsd.addFieldDefinition(new FieldDefinition("streamData", "INFOTABLE"));

      dsd.addFieldDefinition(new FieldDefinition("source", "STRING"));

      InfoTable ids = new InfoTable(dsd);

      i.addRow(v);

      vt.SetInfoTableValue("values",i);

      vt.SetStringValue("source", "LocalValue");


    In platform i am not able to get the infotable value in streamData.