<?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: web reports - inactive filter for tab page in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/web-reports-inactive-filter-for-tab-page/m-p/477774#M72225</link>
    <description>&lt;P&gt;Thank you, Dan. I followed your example and made my project the way you suggested!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Li&lt;/P&gt;</description>
    <pubDate>Sun, 10 Apr 2022 09:51:03 GMT</pubDate>
    <dc:creator>LiPav</dc:creator>
    <dc:date>2022-04-10T09:51:03Z</dc:date>
    <item>
      <title>web reports - inactive filter for tab page</title>
      <link>https://community.jmp.com/t5/Discussions/web-reports-inactive-filter-for-tab-page/m-p/477299#M72170</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am building a web report as tab page boxes, where in each of the tab pages is a plot and a data filter built based on individual data table. It works, only the filter for 2nd and next tab pages are inactive... Any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the example of the problem. The filter in the "alpha" tab is active, and the filter in the "beta" page inactive:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Names Default To Here( 1 );&lt;BR /&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;BR /&gt;dt_2 = Open( "$SAMPLE_DATA/Owl Diet.jmp" );&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;webreport1 = New Window( "Example",&lt;BR /&gt;Tab Box(&lt;BR /&gt;Tab Page Box( Title( "alpha" ),&lt;BR /&gt;H List Box(&lt;BR /&gt;&lt;BR /&gt;dt &amp;lt;&amp;lt; Bubble Plot( X( :weight ), Y( :height ), Sizes( :age ), Title Position( 0, 0 ),&lt;BR /&gt;&lt;BR /&gt;local Data Filter(&lt;BR /&gt;Mode( Selected( 1 ), Show( 0 ), Include( 0 ) ) ,&lt;BR /&gt;Add Filter( columns( :sex ) )&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;),&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tab Page Box( Title( "beta" ),&lt;BR /&gt;H List Box(&lt;BR /&gt;&lt;BR /&gt;dt_2 &amp;lt;&amp;lt; Bubble Plot( X( :skull length ), Y( :skull length ), Sizes( :teeth row ), Title Position( 0, 0 ) ),&lt;BR /&gt;,&lt;BR /&gt;dt_2 &amp;lt;&amp;lt; Data Filter(&lt;BR /&gt;Local,&lt;BR /&gt;Mode( Selected( 1 ), Show( 0 ), Include( 0 ) ) ,&lt;BR /&gt;Add Filter( columns( :species ) )&lt;BR /&gt;))&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;)&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;webreport = New Web Report();&lt;BR /&gt;webreport &amp;lt;&amp;lt; Add Report( webreport1 );&lt;/P&gt;&lt;P&gt;file = webreport &amp;lt;&amp;lt; Save( "$TEMP" );&lt;BR /&gt;If( !Is Empty( file ),&lt;BR /&gt;Web( file )&lt;BR /&gt;);&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;&lt;P&gt;I am using JMP 16 on Windows.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Li&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:23:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/web-reports-inactive-filter-for-tab-page/m-p/477299#M72170</guid>
      <dc:creator>LiPav</dc:creator>
      <dc:date>2023-06-11T11:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: web reports - inactive filter for tab page</title>
      <link>https://community.jmp.com/t5/Discussions/web-reports-inactive-filter-for-tab-page/m-p/477444#M72177</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/29573"&gt;@LiPav&lt;/a&gt;&amp;nbsp;- for the webreport, I believe the main issue is that only a single filter is supported per webpage.&amp;nbsp; For export purposes, I would suggest creating two windows with one filter per window (see script below).&amp;nbsp; These will be published with an index page, allowing you to use the browser forward/back buttons to navigate between the reports.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also notice that in the desktop JMP window the second report is not interactive.&amp;nbsp; This is due to the fact that the Data Filter is created separately from the Platform.&amp;nbsp; When you have a filter for a single platform, I would recommend using the &lt;FONT face="courier new,courier"&gt;Local Data Filter()&lt;/FONT&gt; specification within the &lt;FONT face="courier new,courier"&gt;Bubble Plot()&lt;/FONT&gt; or other platform command.&amp;nbsp; When you need to link a single filter to multiple reports in the same window, see the Scripting Index entry for &lt;FONT face="courier new,courier"&gt;Data Filter Context Box&lt;/FONT&gt; for an example that demonstrates how to link the filter to multiple platforms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;-Dan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt_2 = Open( "$SAMPLE_DATA/Owl Diet.jmp" );

webreport1 = New Window( "alpha",
	H List Box(
		dt &amp;lt;&amp;lt; Bubble Plot(
			X( :weight ),
			Y( :height ),
			Sizes( :age ),
			Title Position( 0, 0 ), 

			local Data Filter( Mode( Selected( 1 ), Show( 0 ), Include( 0 ) ), Add Filter( columns( :sex ) ) )
		)
	)
);

webreport2 = New Window( "beta",
	H List Box(
		dt_2 &amp;lt;&amp;lt; Bubble Plot(
			X( :skull length ),
			Y( :skull length ),
			Sizes( :teeth row ),
			Title Position( 0, 0 ),
			Local Data Filter( Mode( Selected( 1 ), Show( 0 ), Include( 0 ) ), Add Filter( columns( :species ) ) )
		)
	)
);

webreport = New Web Report();
webreport &amp;lt;&amp;lt; Title( "Reports" );
webreport &amp;lt;&amp;lt; Description( "Multiple report example." );
webreport &amp;lt;&amp;lt; Add Report( webreport1, Title( "alpha" ) );
webreport &amp;lt;&amp;lt; Add Report( webreport2, Title( "beta" ) );

file = webreport &amp;lt;&amp;lt; Save( "$TEMP" );
If( !Is Empty( file ),
	Web( file )
);

&lt;/PRE&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>Fri, 08 Apr 2022 12:53:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/web-reports-inactive-filter-for-tab-page/m-p/477444#M72177</guid>
      <dc:creator>danschikore</dc:creator>
      <dc:date>2022-04-08T12:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: web reports - inactive filter for tab page</title>
      <link>https://community.jmp.com/t5/Discussions/web-reports-inactive-filter-for-tab-page/m-p/477774#M72225</link>
      <description>&lt;P&gt;Thank you, Dan. I followed your example and made my project the way you suggested!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Li&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 09:51:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/web-reports-inactive-filter-for-tab-page/m-p/477774#M72225</guid>
      <dc:creator>LiPav</dc:creator>
      <dc:date>2022-04-10T09:51:03Z</dc:date>
    </item>
  </channel>
</rss>

