Logic Machine Forum
GA comment with JSON - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: GA comment with JSON (/showthread.php?tid=4490)



GA comment with JSON - tomnord - 12.01.2023

Is it possible to add comments for objects in the Json profile? e.g:
Code:
{
      "address": 8,
      "bus_datatype": "bool",
      "bus_address":"32/1/16",
      "name": "Status",
      "comment": "Status of input",
      "type": "discreteinput",
    },



RE: GA comment with JSON - admin - 12.01.2023

No, because bus_address does not create new objects. It only works with existing objects.


RE: GA comment with JSON - tomnord - 12.01.2023

(12.01.2023, 08:14)admin Wrote: No, because bus_address does not create new objects. It only works with existing objects.

but "units": work.. Is this not the same thing?


RE: GA comment with JSON - admin - 12.01.2023

Ok, so you want the comment field to be filled from the profile when mapping new objects. This is not possible at the moment.