08-05-2020 10:28 AM
Is there a programmatic way to read/write the custom metadata fields in a SystemLink managed system? I've looked at the SystemLink palette but do not see an obvious way to accomplish this.
Solved! Go to Solution.
08-05-2020 01:29 PM
This is far from complete, but I added a simple example on how to read the system metadata using the HTTP API. You can get more information on the HTTP API if you click on the ? in SystemLink on the top right when you have the Systems Manager application open.
https://github.com/joshuaprewitt/systemlink-labview-http-examples
You would have to use the /v1/systems/managed/{id} route to update the metadata, however doing a PATCH in LV can be a little tricky.
Also parsing the properties dictionary will require some string parsing, because the normal Flatten from JSON doesn't support them.
I'll try to improve the example when I have some more time to work on it.
08-12-2021 02:20 PM
Have you made any updates to this?