How to programmatically create a new FPMI window in designer and save it?

Hello,

In my module, I am trying to create a new window in an existing project and adding some components in it after which I want to save the window. Please see the code below, I am using the commitDesignable method of the window worksapce however it is not saving the changes made in the created window. Please help.

What is your actual, ultimate end goal here? Creating and saving resources like this is 1. extremely complicated and 2. extremely fragile to Ignition codebase changes (I can guarantee that anything you end up getting to work will not work in 8.0, for instance).

If there’s another way to achieve the same end result, I would highly recommend pursuing that.

1 Like