• 0
Sign in to follow this  
Dinesh Singh

Automate adding of multiple datapoints from multiline key-value pair output for Script datasource

Question

2 answers to this question

Recommended Posts

  • 1

When we do this kinda thing in-house, I'll sometimes create a single datapoint, export the datasource to XML, add additional datapoints via copy/paste, and update the new datapoint names & keys. Once you're done just import the XML file back into your account.

If you haven't had a look, the XML data structures for all of our exportable LogicModules is incredibly straightforward, so hacking in this manner is relatively easy.

Share this post


Link to post
Share on other sites
  • 0
On 2/4/2016 at 10:04 PM, Dinesh Singh said:

 

Is there a way to automate adding of multiple datapoints from multiline key-value pair output for Script datasource.

Thank You !

I haven't seen any discussions about DS/ES API support.  You can clone dataPoints, then edit the name and the key-value pair.  It's slightly faster than fully manual.  I too would love DataSource and EventSource management from API.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this