Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Automate Template Configuration Import
-
Hi Joel, Support,
In Mango's "Template Configuration Import" function I have created a template with a single global variable (%%text%%) which will create a data sources and multiple data points exactly as I need. I have been trying to find how I can pass this variable to Mango in the simplest possible way in order to have it create a new device configuration with no further manual interaction. Is there a simple GET or POST argument that can be passed to the templateConfig.shtm to provide this value? There's nothing in the Swagger Rest API that seems to address this.
Cheers,
David
-
Hi dmsmith, glad to have escaped quotation marks. :)
At the moment there is nothing in Template Configuration module to enable that, but it seems like it would be fairly simple to add to a URL handler that just builds the context to parse the template out of the request.
There is also a JSON importer that will scan a folder and import any configurations it finds, but I am unsure if we made that available generally or not.
-
@phildunlap said:
Hi dmsmith, glad to have escaped quotation marks. :)
Ha!!
There is also a JSON importer that will scan a folder and import any configurations it finds, but I am unsure if we made that available generally or not.
This is intriguing. I'd probably have a use for that.
-
I emailed it to you, Jeremy. Have fun!
-
@phildunlap said:
Hi dmsmith, glad to have escaped quotation marks. :)
:-D
At the moment there is nothing in Template Configuration module to enable that, but it seems like it would be fairly simple to add to a URL handler that just builds the context to parse the template out of the request.
This would be an excellent addition to the Template Configuration module.
There is also a JSON importer that will scan a folder and import any configurations it finds, but I am unsure if we made that available generally or not.
Short of the above this would be very useful. Could I also grab a copy?
Cheers,
David
-
sent