Copy link to clipboard
Copied
Hello everyone,
I'm still working on CEP.
I am trying to use the csinterface.getextensions() function and I get [object, object], [object, object], [object, object] etc. But I expected to get a list of loaded extensions by their ID's.
Need help.
Americo
<Title renamed by MOD>
Sorry. You are right. It is csinterface.getExtensionID(), and it only gets the current extensions ID. It looks like you will have to go with what you have and get the IDs from _extensions[index].id.
Copy link to clipboard
Copied
Hi @Americo Pinto -
The following code return an array of an object and each object contains the following properties - basePth, id,width, height, name, etc.
let csinterface = new CSInterface();
let _extensions = csinterface.getExtensions() ;
Copy link to clipboard
Copied
Hello @Charu Rajput
Thanks ! could you give me an example, pleaser ; I haven't found any documentation to help me build my order.
Regards.
Copy link to clipboard
Copied
csinterface.getExtensions() gets the objects for the extensions. csinterface.getExtensionsID() gets just the list of IDs.
Copy link to clipboard
Copied
Hi John,
I'm sorry this function does not exist in CSInterfaces.js
Regards
Copy link to clipboard
Copied
Sorry. You are right. It is csinterface.getExtensionID(), and it only gets the current extensions ID. It looks like you will have to go with what you have and get the IDs from _extensions[index].id.
Copy link to clipboard
Copied
Hello John,
don't be sorry; I thank you for your help, which was invaluable, because thanks to you I've solved my problem.
Have a nice day!