Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CEF Hierarchical demo not saving when close Front Panel #110

Open
cjalanis opened this issue May 17, 2019 · 1 comment
Open

CEF Hierarchical demo not saving when close Front Panel #110

cjalanis opened this issue May 17, 2019 · 1 comment

Comments

@cjalanis
Copy link

When you run the Hierarchical Configuration Editor example, and you select Save or Save As... the XML generated has JSON content is saved as expected:

1.0.0
{"hierarchy structure":{"root":"5221C8D8-2C15-492C-BEA6-26A4714B1CDE","hierarchy":[{"current node":"5221C8D8-2C15-492C-BEA6-26A4714B1CDE","children":[]}]},"instance data":[{"ID":"5221C8D8-2C15-492C-BEA6-26A4714B1CDE","Alias":"cRIO configuration","class":"cRIO configuration.lvclass","version":"1.0.0","data":"<instanceID>5221C8D8-2C15-492C-BEA6-26A4714B1CDE</instanceID>\r\n<kvpairs>\r\n<SCFG_AliasName>cRIO configuration</SCFG_AliasName>\r\n<SCFG_ViewClass>cRIO  node root.lvclass</SCFG_ViewClass>\r\n<sysname>cRIO</sysname>\r\n</kvpairs>"}]}

But, when the front panel is closed and selected to save changes, it saves an XML without any information

1.0.0
{"hierarchy structure":{"root":"","hierarchy":[]},"instance data":[]}
@cjalanis
Copy link
Author

Added ReadTree to Close?, New?... case and solved the issue.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant