<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: On Save ? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/On-Save/m-p/725972#M91085</link>
    <description>&lt;P&gt;For me it was something like:&lt;/P&gt;
&lt;P&gt;Search for On Save (nothing useful or rather too many items, Subscribe is there if you scroll down to Prototype matches but I didn't and most likely I wouldn't have even tried it)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1709155419658.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61638i8B0D7A11BBE8878C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1709155419658.png" alt="jthi_0-1709155419658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try On Close to see which could be correct category (too many categories to really filter that down quickly)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1709155446874.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61639i2D7415BA155616BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1709155446874.png" alt="jthi_1-1709155446874.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Notice Subscribe to Data Table List (I'm familiar with that one so I went with that, Subscribe was visible here). Click on that and it selects Row from left (no idea why it is Row and not Data Table)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1709155505264.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61640i6F7CC8EEDAC26DF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1709155505264.png" alt="jthi_2-1709155505264.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Remove search term to get only Row related items and check if that would have something useful (found nothing useful).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1709155915625.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61642i7F9BAED62FE52C83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1709155915625.png" alt="jthi_4-1709155915625.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Update my search term to Subscribe to find more things related to that and notice that there is Subscribe message (for Data Table) and it happens to support On Save&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1709155587158.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61641i3A41BACDB3C7B2A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1709155587158.png" alt="jthi_3-1709155587158.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There were few steps where I could have noticed Subscribe earlier but I didn't (this time). Most likely easiest way to find it could have been something like "Search for "On Save", select Data Table from left to find only Data Table related items and hope for best"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1709156043282.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61645i9B18F7BEAD64649A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1709156043282.png" alt="jthi_5-1709156043282.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 21:38:18 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-02-28T21:38:18Z</dc:date>
    <item>
      <title>On Save ?</title>
      <link>https://community.jmp.com/t5/Discussions/On-Save/m-p/725620#M91023</link>
      <description>&lt;P&gt;Is there a setting &lt;FONT face="courier new,courier"&gt;on save()&lt;/FONT&gt; - similar to &lt;FONT face="courier new,courier"&gt;on close ().&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Background: &lt;LI-MESSAGE title="Optimize Sharepoint Integration" uid="725342" url="https://community.jmp.com/t5/JMP-Wish-List/Optimize-Sharepoint-Integration/m-p/725342#U725342" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A Jmp file doesn't get&amp;nbsp; uploaded to sharepoint as long as it is opened in Jmp.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;gt; If a user clicks on &lt;FONT face="courier new,courier"&gt;save&lt;/FONT&gt; Jmp should ask the user if it's OK to close the file -&amp;nbsp;to trigger the upload.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 17:42:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/On-Save/m-p/725620#M91023</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-02-27T17:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: On Save ?</title>
      <link>https://community.jmp.com/t5/Discussions/On-Save/m-p/725894#M91078</link>
      <description>&lt;P&gt;I'm not sure &lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/data-table-messages.shtml?os=win&amp;amp;source=application#ww1902862" target="_blank" rel="noopener"&gt;&amp;lt;&amp;lt; Subscribe&lt;/A&gt; could work in this case (it does offer On Save)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt &amp;lt;&amp;lt; Subscribe(
	"name1"("client"),
	On Close(Print("Closing Data Table"))
);
f = Function({dtab, oldname},
	Print("oldname", oldname);
	Print("new name", dtab &amp;lt;&amp;lt; getname());
);
fsave = Function({dtab, newpathname},
	Print("new path name", newpathname);
	Print("new name", dtab &amp;lt;&amp;lt; getname());
);
dt &amp;lt;&amp;lt; Subscribe("name1", On Rename(f));
dt &amp;lt;&amp;lt; Subscribe("name1", On Save(fsave));
fcols = Function({dtab, b},
	n = N Items(b);
	dtname = (dtab &amp;lt;&amp;lt; getname());
	Print(dtname);
	Print(n);
	For(i = 1, i &amp;lt;= n, i++,
		colname = (b[i] &amp;lt;&amp;lt; getname());
		Print(colname);
	);
);
dt &amp;lt;&amp;lt; Subscribe("name2", On Delete Columns(fcols)); 
//Try deleting a column, then close the data table.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Feb 2024 20:34:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/On-Save/m-p/725894#M91078</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-02-28T20:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: On Save ?</title>
      <link>https://community.jmp.com/t5/Discussions/On-Save/m-p/725899#M91079</link>
      <description>&lt;P&gt;wow, amazing - how do you find these things?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 20:39:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/On-Save/m-p/725899#M91079</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-02-28T20:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: On Save ?</title>
      <link>https://community.jmp.com/t5/Discussions/On-Save/m-p/725904#M91080</link>
      <description>&lt;P&gt;Usually with I find them using Scripting Index. I either have some idea about which features there are in JMP (I know quite a few of them) which could work or I use some creative searching in scripting index and attempt to narrow down the possible options.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 20:47:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/On-Save/m-p/725904#M91080</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-02-28T20:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: On Save ?</title>
      <link>https://community.jmp.com/t5/Discussions/On-Save/m-p/725918#M91081</link>
      <description>&lt;P&gt;and me:&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_4-1709153859237.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61636i95481A38525AB9FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_4-1709153859237.png" alt="hogi_4-1709153859237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_1-1709153535593.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61633i86C07614190FAE65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_1-1709153535593.png" alt="hogi_1-1709153535593.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_2-1709153615269.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61634i53EAD7BA866EA73D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_2-1709153615269.png" alt="hogi_2-1709153615269.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4)&amp;nbsp;&lt;A href="https://www.google.com/search?q=on+save++site%3Acommunity.jmp.com" target="_blank" rel="noopener"&gt;https://www.google.com/search?q=on+save++site%3Acommunity.jmp.com&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;-&amp;gt; Jarmo will know ...&lt;BR /&gt;&lt;BR /&gt;On Save is even listed in the summary and an example is available - but with my skills I can't find it in Scripting Index.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hogi_3-1709153703893.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61635i5B660247D313AD87/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hogi_3-1709153703893.png" alt="hogi_3-1709153703893.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 20:58:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/On-Save/m-p/725918#M91081</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-02-28T20:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: On Save ?</title>
      <link>https://community.jmp.com/t5/Discussions/On-Save/m-p/725972#M91085</link>
      <description>&lt;P&gt;For me it was something like:&lt;/P&gt;
&lt;P&gt;Search for On Save (nothing useful or rather too many items, Subscribe is there if you scroll down to Prototype matches but I didn't and most likely I wouldn't have even tried it)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1709155419658.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61638i8B0D7A11BBE8878C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1709155419658.png" alt="jthi_0-1709155419658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try On Close to see which could be correct category (too many categories to really filter that down quickly)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1709155446874.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61639i2D7415BA155616BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1709155446874.png" alt="jthi_1-1709155446874.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Notice Subscribe to Data Table List (I'm familiar with that one so I went with that, Subscribe was visible here). Click on that and it selects Row from left (no idea why it is Row and not Data Table)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1709155505264.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61640i6F7CC8EEDAC26DF1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1709155505264.png" alt="jthi_2-1709155505264.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Remove search term to get only Row related items and check if that would have something useful (found nothing useful).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_4-1709155915625.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61642i7F9BAED62FE52C83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_4-1709155915625.png" alt="jthi_4-1709155915625.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Update my search term to Subscribe to find more things related to that and notice that there is Subscribe message (for Data Table) and it happens to support On Save&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1709155587158.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61641i3A41BACDB3C7B2A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1709155587158.png" alt="jthi_3-1709155587158.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There were few steps where I could have noticed Subscribe earlier but I didn't (this time). Most likely easiest way to find it could have been something like "Search for "On Save", select Data Table from left to find only Data Table related items and hope for best"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_5-1709156043282.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61645i9B18F7BEAD64649A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_5-1709156043282.png" alt="jthi_5-1709156043282.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 21:38:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/On-Save/m-p/725972#M91085</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-02-28T21:38:18Z</dc:date>
    </item>
  </channel>
</rss>

