cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
hogi
Level XI

AddIn - check if avaialble?

How can I check via JSL if an AddIn is installed, e.g. Dynamic Subset Add-In (Filterable Data Table, updated) ?

 

Is there a JSL command to enable/disable an Add-In?

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: AddIn - check if avaialble?

Here is an example from the Scripting Index using Get Addins() function to return all addins that are registered

Names Default To Here( 1 );
addins = Get Addins();
addin ids = Get Addins() << id;
Show( addins, addin ids );
Jim

View solution in original post

6 REPLIES 6
txnelson
Super User

Re: AddIn - check if avaialble?

Here is an example from the Scripting Index using Get Addins() function to return all addins that are registered

Names Default To Here( 1 );
addins = Get Addins();
addin ids = Get Addins() << id;
Show( addins, addin ids );
Jim
hogi
Level XI

Re: AddIn - check if avaialble?

and from here ...

hogi_0-1688705862116.png

 

hogi
Level XI

Re: AddIn - check if avaialble?

After an Update, an AddIn got "unloaded" on my system. 

Is there a mechanism which unloads AddIns automatically based on special criteria?

jthi
Super User

Re: AddIn - check if avaialble?

What type of an update (Add-in, JMP, operating system, operating system user account)?

-Jarmo
hogi
Level XI

Re: AddIn - check if avaialble?

Hi @jthi .
It happens when an AddIn is updated. 

 

One possible root cause:

I use UpdateCheck.jsl from Add-In Manager, triggered via  AddInLoad.jsl *)

In general, it works quite smooth, but sometimes an AddIn is disabled after a "patch day".

 

In the AddIn Manager manual I found:
However, as of JMP 13, using this script within an addinLoad.jsl script will not work.

 

Fortunately, with newer Jmp versions it does
... besides the topic with the disabled AddIn.

I don't know if it's due to UpdateCheck.jsl , AddInLoad.jsl or if there is another reason.
It is not (always) the AddIn that has been updated which got disabled.
and it's not always the same AddIn which got kicked out.

Therefore, I wonder: In general, what triggers an AddIn to get disabled?

jthi
Super User

Re: AddIn - check if avaialble?

I think it is related to addin folders and some .xml files (at least addinRegistry.xml ). Scripting Guide > Creating Applications > Compile Add-Ins with the JMP Add-In Builder > Installing ... might provide some information. I haven't checked out Add-In Manager's code so I'm not sure how it manipulates different files JMP needs for add-ins to be recognized.

-Jarmo