Hi,
I have a dashboard with several tab page boxes. I have a button that creates a pdf with all the dashboard pages.
Is it possible to configure the pdf button to have only the first page created in pdf or only the 1st tab page box in pdf?
best regards
You could search for and send a Save PDF message to just the first tab panel box like this:
names default to here(1);
dt = open("$Sample_data/big class.jmp");
win = new window("pdf example",
bbSave = button Box("Save to PDF",
(win << XPath("//TabPageBox"))[1] << Save PDF( "$TEMP/report tab 1.pdf" );
Open("$TEMP");
),
tb = Tab Box(
"One", Graph Builder(
Variables( X( :height ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 3 ) ), Smoother( X, Y, Legend( 4 ) ) ) ),
"Two", Graph Builder(
Variables( X( :age ), Y( :weight ) ),
Elements( Points( X, Y, Legend( 13 ) ) ) )
)
);<BR /><BR />Open("$TEMP");