JSON Components

Since components actually are JSON objects.
Is it possible to create components and convert and send them to ignition perspective with an Web API?

example:
I create an C# MVC WebAPI where I create a JSON component.
I send the JSON trough an HTTP request to Ignition perspective.
Does this see the JSON as a component?

1 Like

Likewise is there a component that will allow the json object to render much in the same way as cut and paste on the screen. In other words a component that takes the entire json object as a binding. This way I can store the component in a database. When I want to tender it on the screen I can bind to a simple query like “select json where id=1”

1 Like

We have some loose ideas for a special view type that would act much like a WebDev python endpoint, meaning that the view’s definition (the JSON you’re talking about) would be calculated on the fly via a python method. I think this would be the best way to accomplish what you’re both talking about. No ETA quite yet, as it’s quite an advanced use case.

1 Like