File save as .csv format keeps failing from version to versionDear All,
I have one script to save data table automatically as .csv. This works for few JMP14 or 15 users, but fails for few JMP15 users. same script runs behind all types of data table save. I tried both, with or without 'convert file path' but cant get to the real reason behind it.
Thanks ! Simanti.
save_csv_file = Function({dt},
try(
path = Pick Directory ("Select a directory.");
print(path);
New Window( "Specify filename",
<<MODAL></MODAL>AnalyticsData TableScriptingRe: File save as .csv format keeps failing from version to versionHi,
Is it possible that the Save As command fails because a file with the same name exists in the target directory? If it is a possibility, you may want to test if the file exists (File Exist (path)) to let the user know.
Just a thought.
Best,
TSRe: File save as .csv format keeps failing from version to versionAdding to @Thierry_S's suggestion, what if you isolate the Save As() message (forget the function for now) and make sure that it works on its own?
Re: File save as .csv format keeps failing from version to versionThe section of the code
New Window( "Specify filename",
<<MODAL></MODAL>
fails in JMP 15 for me. But if you change the code to:
save_csv_file = Function({dt},
try(
path = Pick Directory ("Select a directory.");
print(path);
New Window( "Specify filename",
<<MODAL></MODAL>
it works in both 14 and 15