How to enable IRIS Text Analytics programmatically?
Hi Community!
How can I enable IRIS Text Analytics (formerly known as iKnow) in a given Namespace programmatically?
Hi Community!
How can I enable IRIS Text Analytics (formerly known as iKnow) in a given Namespace programmatically?
IRIS Text Analytics/iKnow and Analytics/DeepSee are enabled on per-application basis. Interoperability/Ensemble/HealthShare are enabled on a per-namespace basis.
First you need to get default application from the namespace:
And then call one of these methods:
If you want to enable Interoperability/Ensemble call:
Worked like a charm!
If you would like to do it with %Installer Manifiest, it is not going to be easy, unfortunately. CSPApplication there quite limited.
I can't just do it this way.
You should first create simple csp application
Add something like this method
But unfortunately, I also can't just call it from an installer, Invoke tag should be placed in Namespace tag. which is actually current namespace, but you should compute it first. This may help to declare a couple more default variables. Just place two first lines before your Installer generator
And finally, you can add this to your installer. Place it after CSPApplication creation, but outside of Namespace tag.
Hi guys!
A related topic is how to disable Analytics. Recently, I had to disable access to DeepSee from certain namespace. I did that by settings this global:
I used Caché 2017.2, but I think this also would work in newer Cache versions and in IRIS as well. More information here.
HTH,
José