cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar

How to pull data regularly from another addin?

need make a addin that can query data from another addin(premade with ui to extract data and don’t have access to script) that is connected to a database.

Is there a workaround?

Pls help
3 REPLIES 3
jthi
Super User

Re: How to pull data regularly from another addin?

Depends on the addin you are trying to utilize. You might be for example be able to launch the add-in using JSL, get a reference to the UI and press the button to run the query. 

-Jarmo

Re: How to pull data regularly from another addin?

the premade addin you need to enter the dates, has radio buttons that need to be selected and then query data, how do I use jsl to preselect this and then allow modifications?
Has someone done this before or knows how to?
jthi
Super User

Re: How to pull data regularly from another addin?

Most likely someone has done this before and also knows how to but not for the addin you have. If the add-in is using modal window, then it will be much more difficult or impossible (not 100% sure if you could bypass modality). Below is very simple example

Names Default To Here(1);
New Window("Example",
	rb = Radio Box({"single", "double", "triple"}, Show(rb << Get()))
);

wait(2); // for demo purposes

wref = Window("Example");
wref[RadioBox(1)] << Set(2, Run Script(0));

Also what do you mean by this "...and don’t have access to script"? is the add-in script encrypted? 

-Jarmo