I accidentally cut a template from the project browser. It's still in my clipboard, I can see the XML code. How can I get it back into my project?
There is a warning when deleting templates, but not when cutting. That should probably be updated.
I accidentally cut a template from the project browser. It's still in my clipboard, I can see the XML code. How can I get it back into my project?
There is a warning when deleting templates, but not when cutting. That should probably be updated.
I found the option to paste xml on a newly created template using shift + right click to "set XML" but I got a premature end of file. Guess I'll just have to start from the last backup that I have. Not too much lost...
I got a premature end of file parse exception on line 2, column 10. Not sure why... here's the top of the file
<?xml version="1.0" encoding="UTF-8"?>
<objects fpmi.archive.type="template" framework.version="8.1.27.2023042509" com.inductiveautomation.vision.version="11.1.27.0" timestamp="Fri Jan 12 12:50:15 CST 2024">
<c id="144" cls="com.inductiveautomation.factorypmi.application.components.template.VisionTemplate">
<c-comm>
<p2df>1898.0;928.0</p2df>
<r2dd>0.0;0.0;1898.0;928.0</r2dd>
<str>THCK-Cent</str>
<lc>0.0;0.0;16;1;-;-</lc>
column 10 would be the "f" after object....?
After further investigation, I found that even copying a known good template's XML into a new template generates an error.
This time I get a "Error reading head" error - unexpected end of ZLIB input stream