cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use JMP Live to centralize and share reports within groups. Webinar with Q&A April 4, 2pm ET.
Choose Language Hide Translation Bar
View Original Published Thread

Interactively changing menu in an add-in

johnmoore
Level IV

I have developed a handful of add-ins that are similar but slightly different.  Each contains 30-40 scripts. Most of the scripts are the same,but some of the scripts available are different.  The differences are based on geography.  I would like to combine these into one add-in with the ability to select geography.  For example, if the user selected "Europe" as geography, the menu would change to show the correct scripts for Europe.  Any ideas how to do this?

 

Many thanks

1 REPLY 1
Jeff_Perkinson
Community Manager Community Manager


Re: Interactively changing menu in an add-in

One way (there are probably others) would be to have .jmpaddin files with the appropriate menu customization within your main add in and, after prompting to determine which is the correct one use Open() to open the appropriate .jmpaddin.

 

I can't work up an example right now, but in theory this should work. You can use $ADDIN_HOME() for the menu items to refer to the scripts in your main addin.

 

 

-Jeff