Choose Language Hide Translation Bar
Highlighted
ben_ph
Level I

Is it possible to add a helpKey attribute to Display Boxes?

Is there any way to add a helpKey attribute to display boxes like you see on JMP reports? I'd like to be able to search for boxes more reliably than by their number or their title, especially for display boxes without a title. I've seen that with xPath you can search with the helpKey attribute as below.

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
fm = dt << Run Script( "Fit Model" );
r = fm << Report;

// All equivalent
// r[OutlineBox(2)] << getTitle
// r[OutlineBox("Whole Model")] << getTitle (r << xpath("//OutlineBox[@helpKey = 'FitLS Whole']"))[1] << getTitle

I'd like to add helpKeys if possible to my own display boxes for easier searching.

Article Labels