JMP has the handy feature of setting up a Source script based on what you have imported; spreadsheets, web pages, databases etc..
If you're like me, you save your work in scripts to the data table. However, when you want to update your data table and do the same analyses again, clicking Source means you lose the scripts.
This isn't a design flaw, JMP is simply recreating your original import conditions. For database imports, the "Update From Database" is available and this will update your table in place.
For all other imports and if you'd like a new data table with updated table to save, this Add-In will hopefully be helpful!
- Have a data table open that has a "Source" script.
- Click "Source and Scripts" under the "Add-Ins" menu (or use keyboard shortcut Ctrl+Alt+U).
- The Add-In runs the "Source" script.
- Then copies all scripts to the new table (except for "Source", "Modify Query" [if applicable] and "Update From Database" [if applicable]).
- Finally, any script groups you created are applied to the new table too.
I must thank @DVLuna who's code formed a large part of Step 4 in this Community answer!