cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Stefan_Moser
Level III

Prompt user to save as project at end of workflow

Similar post here for files but this solution didn't work for the project: https://community.jmp.com/t5/Discussions/Prompting-user-to-Save-As-at-the-end-of-workflow/td-p/91457... 

I'd like to prompt the user to save as a project since I have a workflow embedded in in a project for ease of use. Ideally the function is the same as if the user clicked File --> save project as. So a window pops up, they select a directory, and create a name for the project. 

The JSL below currently returns the following error

 

proj = Current Data Table() << Get Project();
proj << Save As("");

Stefan_Moser_0-1769805696636.png

This version runs without error but doesn't actually do anything:

proj = Current Data Table() << Get Project();
proj << Save As();
1 ACCEPTED SOLUTION

Accepted Solutions
hogi
Level XIII

Re: Prompt user to save as project at end of workflow


Is the current window  the project window?

Then 

@Stefan_Moser wrote:

the same as if the user clicked File --> save project as.


 can be implemented via

main menu("Save Project As")  

 

View solution in original post

2 REPLIES 2
hogi
Level XIII

Re: Prompt user to save as project at end of workflow


Is the current window  the project window?

Then 

@Stefan_Moser wrote:

the same as if the user clicked File --> save project as.


 can be implemented via

main menu("Save Project As")  

 

Stefan_Moser
Level III

Re: Prompt user to save as project at end of workflow

Awesome yes @hogi it will always be the current window since the workflow is executed in that window.

Recommended Articles