How do I manually add a data point to DataHub through the script log?
How do I manually add a data point to a data domain through the script log?
A datapoint can be added using the create command.
(create name [0|1])
Where name is the name of the point, as a string and [0 or 1] telling create what to do if a point already exists with that name. Use 1 to ignore an existing point and do nothing. Use 0 to have create throw an error. If nothing is entered, the default is 0.
An example is shown below:
