cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
spudton
Level III

Populate List Box with list of Strings

Hello,

I would like to give the user the opportunity of choosing a Tag name, which will then show a time series plot of various variables based on that tag name.

I have created this script to create a list of the TAG names, and will then use that selection (onchange) to populate the variables in a graph builder script.

However, this is creating an empty list box. Can anyone identify why?

thanks

Names Default To Here( 1 );
dt = Current Data Table();
ET_LIST = {};
ET_TAG_List = {};

//removes empty column from the column list
For( i = N Col( dt ), i >= 1, i--,
	ET_col = Column( dt, i ) << Get Name();
	If( (Col N Missing( Column( i ) ) / N Row()) != 1 & Contains( ET_col, "ETarg" ),
		Insert Into( ET_LIST, ET_col )
	);
);

Show( ET_LIST );
//takes column list and removes the TAG extension to provide the list of tags
n = N Items( ET_LIST );
For( i = 1, i <= n, i++,
	ETARG = ET_LIST[i] ;
	NFull = Length(ETARG) ; 
	ETTAG = Left(ETARG,(NFull-6)) ;
Insert Into(ET_TAG_List, ETTAG);

);	
	Show(ET_TAG_List);
//want to now take that list and put it into a list box for user to select. will use getselected/onchange to update the charts
New Window( "Example",
	List1 = List Box( ET_TAG_List );
	List1 << Set Items( ET_TAG_List );
);

 

empty input box..

 

 

spudton_0-1593793813267.png

 

 

1 REPLY 1
txnelson
Super User

Re: Populate List Box with list of Strings

The ";" are stopping the processing, change to

New Window( "Example",
	List1 = List Box( ET_TAG_List ),
	List1 << Set Items( ET_TAG_List )
);
Jim

Recommended Articles