<?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: JMP17 interactive html working with Save As but can;t re-create in code only in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP17-interactive-html-working-with-Save-As-but-can-t-re-create/m-p/739366#M92114</link>
    <description>&lt;P&gt;You might have to wrap it to new window first or take higher level reference to capture also filter&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

nw = New Window("Graph Builder",
	gb = dt &amp;lt;&amp;lt; Graph Builder(
		Size(525, 454),
		Show Control Panel(0),
		Variables(X(:weight), Y(:height), Overlay(:sex)),
		Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
		Local Data Filter(
			Show Modes(1),
			Mode(Include(0)),
			Add Filter(columns(:age), Display(:age, N Items(6)))
		)
	)
);


nw &amp;lt;&amp;lt; Save Interactive HTML("$TEMP/test.html");
nw &amp;lt;&amp;lt; Close Window;

Web("$TEMP/test.html");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1711561727529.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62738i592B6A321DD34894/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1711561727529.png" alt="jthi_0-1711561727529.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With higher (or rather highest in this case) level reference&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 454),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Local Data Filter(
		Show Modes(1),
		Mode(Include(0)),
		Add Filter(columns(:age), Display(:age, N Items(6)))
	)
);

topref = (gb &amp;lt;&amp;lt; top parent);
topref &amp;lt;&amp;lt; Save Interactive HTML("$TEMP/test.html");

Web("$TEMP/test.html");&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 27 Mar 2024 17:50:26 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-03-27T17:50:26Z</dc:date>
    <item>
      <title>JMP17 interactive html working with Save As but can;t re-create in code only</title>
      <link>https://community.jmp.com/t5/Discussions/JMP17-interactive-html-working-with-Save-As-but-can-t-re-create/m-p/739361#M92113</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have successfully made an interactive html report when doing the File -&amp;gt; SaveAs method, however, I'm having issues getting the interactive html to show the data filters when saving in jsl code. Can someone take a look and see if I'm missing something obvious here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code I'm using:&lt;/P&gt;
&lt;P&gt;JMP17&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;v2 = dtconcat &amp;lt;&amp;lt; Graph Builder(
	Size(951, 734),
	Show Control Panel(0),
	Variables(X(:TIME), Y(:Something), Overlay(:label)),
	Elements(Points(X, Y, Legend(11)), Smoother(X, Y, Legend(12))),
	Local Data Filter(
		Show Modes(1),
		Count Excluded Rows(0),
		Mode(Include(0)),
		Add Filter(
			columns(:label, :"otherlabel"n),
			Display(:label, N Items(15), Find(Set Text(""))),
			Display(:"otherlabel"n, N Items(5))
		)
	)
);
 
v2 &amp;lt;&amp;lt; save interactive html("path\path1\path2\test.html");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Mar 2024 17:45:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP17-interactive-html-working-with-Save-As-but-can-t-re-create/m-p/739361#M92113</guid>
      <dc:creator>jj200812</dc:creator>
      <dc:date>2024-03-27T17:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: JMP17 interactive html working with Save As but can;t re-create in code only</title>
      <link>https://community.jmp.com/t5/Discussions/JMP17-interactive-html-working-with-Save-As-but-can-t-re-create/m-p/739366#M92114</link>
      <description>&lt;P&gt;You might have to wrap it to new window first or take higher level reference to capture also filter&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

nw = New Window("Graph Builder",
	gb = dt &amp;lt;&amp;lt; Graph Builder(
		Size(525, 454),
		Show Control Panel(0),
		Variables(X(:weight), Y(:height), Overlay(:sex)),
		Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
		Local Data Filter(
			Show Modes(1),
			Mode(Include(0)),
			Add Filter(columns(:age), Display(:age, N Items(6)))
		)
	)
);


nw &amp;lt;&amp;lt; Save Interactive HTML("$TEMP/test.html");
nw &amp;lt;&amp;lt; Close Window;

Web("$TEMP/test.html");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1711561727529.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/62738i592B6A321DD34894/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1711561727529.png" alt="jthi_0-1711561727529.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;With higher (or rather highest in this case) level reference&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size(525, 454),
	Show Control Panel(0),
	Variables(X(:weight), Y(:height), Overlay(:sex)),
	Elements(Points(X, Y, Legend(9)), Line Of Fit(X, Y, Legend(11))),
	Local Data Filter(
		Show Modes(1),
		Mode(Include(0)),
		Add Filter(columns(:age), Display(:age, N Items(6)))
	)
);

topref = (gb &amp;lt;&amp;lt; top parent);
topref &amp;lt;&amp;lt; Save Interactive HTML("$TEMP/test.html");

Web("$TEMP/test.html");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Mar 2024 17:50:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP17-interactive-html-working-with-Save-As-but-can-t-re-create/m-p/739366#M92114</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-03-27T17:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: JMP17 interactive html working with Save As but can;t re-create in code only</title>
      <link>https://community.jmp.com/t5/Discussions/JMP17-interactive-html-working-with-Save-As-but-can-t-re-create/m-p/739369#M92115</link>
      <description>&lt;P&gt;Thanks Jarmo! I also found this previous post which captures your idea. It works now!&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Missing-Local-Data-Filter-in-quot-Save-Interactive-HTML-quot/m-p/58163" target="_blank"&gt;Solved: Missing Local Data Filter in "Save Interactive HTML()" Script - JMP User Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 18:03:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP17-interactive-html-working-with-Save-As-but-can-t-re-create/m-p/739369#M92115</guid>
      <dc:creator>jj200812</dc:creator>
      <dc:date>2024-03-27T18:03:36Z</dc:date>
    </item>
  </channel>
</rss>

