opensourceautomation / Open-Source-Automation

Open Source Automation is a home and commercial automation engine
www.opensourceautomation.com
GNU Lesser General Public License v3.0
97 stars 62 forks source link

Export/Import Screen #322

Open VaughnRupp opened 8 years ago

VaughnRupp commented 8 years ago

A nested export that would export the Screen, Controls and related objects and their object types.

Properties are not linked to anything, so the graphics would have to exported that match those properties.

Graphics are not currently exported at all, so this would used in object exports too.

KHerron commented 6 years ago

The current EXPORTS we have, display a popup with the TEXT to copy and paste.

Wouldn't this be better if we had a File Save popup instead, then save the export to the file name and location specified. Then we could make the Screens and Objects export to a selected folder and include all the associated files with it?

KHerron commented 6 years ago

OK, I now understand why you did it this way, as a File Save Dialog will only save it to the server and no to the client. So I am looking in to dynamically creating a "ZIP" file that would contain all the information for a particular screen. This would include, the Screen object itself, along with all the screen controls on the particular screen, and any images used on that screen.

Once we have a stable export function, we can then look at adding an IMPORT function that would use the ZIP file to Import or install the screen. (Boy this is such fun!!)

KHerron commented 6 years ago

Screen Import and Export code has been committed