Importing PDIX display programmatically

We are currently working on automating our PI workflow, which includes element creation and folder management, using AF SDK and PI Web API. We've successfully implemented most of our planned automations, but we've hit a roadblock when it comes to programmatically importing PDIX files into PI Vision displays.

We explored the PI Web API documentation and found an endpoint for updating displays that seems to accept a JSON body. We attempted to leverage this by extracting the

display_json

and

metadata_json

files from a PDIX and using them to construct the required JSON structure for the endpoint, but this approach was unsuccessful.

Additionally, we looked into using the PI Vision Display Utility tool. However, we discovered that the executable doesn't support command-line arguments, meaning invoking it programmatically (even with a

\silent

flag) still opens the GUI.

Is there a straightforward way to programmatically import PDIX files into PI Vision displays, or an alternative method we might be overlooking? Any guidance or insights would be greatly appreciated!"