I am working on a rust script that will all but select folders (such as a specific perspective view) and copy them over from one project, and create a new project with all the same files. For some reason though ignition can't recognize the new files as a project. The only thing I can tell that is missing is the global-props folder with data.bin and resources.json. Is that needed for ignition to recognize the project as a project? Please help
Nevermind you do not need those files. For anyone who has a similar issue later on, you just have to wait 5 - 10 minutes tops for the gateway to discover the project files.
If you are on a modern enough version you can call system.project.requestScan
to manually request Ignition to rescan the projects directory.
5 Likes
For clarity, the definition of "a project" is "a folder in the projects directory that contains a valid project.json
manifest file inside of it". All other content below that is optional, though several files, including the global-props
resource, will be automatically recreated by Ignition/the Designer as soon as you attempt to interact with the project.
Thank you