Dear Developers,
there is a strange issue with vs.SaveSheet functionality.
If the procedure is executed through SDK with pythonEngine:
TXString script;
script += "import vs;";
script += "vs.SaveSheet(\"View Name\", True, True, True);";
then the newly created saved view disappears if, immediatly after the creation, the properties of the view ("Edit Saved View" dialogue) are opened in VW app, but then immediately closed with a Cancel.
But if the same procedure
import vs;
vs.SaveSheet("View Name", True, True, True);
is executed through VW app > Tools > Plug-ins, then there are no problems. The newly created saved view doesn't disappear after cancelling the "Edit Saved View" dialogue.
Is there a way to preserve the newly created saved view, created through SDK?
Thanks for help,
Tea