How do you use the Essbase JAVA API from FDMEE Jython scripts?
I am trying to access the Essbase Java API from an FDMEE script to create an Intersection Validation report for Planning.
This is just a test to make sure the script connects to Essbase:
import com.essbase.api.datasource.EssCube as Ess
import com.essbase.api.datasource.IEssCube as IEssCube
Valid = Ess.isValidMember(str('HELLO'))
if Valid == True:
fdmAPI.logDebug("Valid")
else:
fdmAPI.logDebug("Not valid")
This script produces the error: TypeError: isValidMember(): expected 2 args; got 1
I think it has something to do with the isValidMember being a method in both the Class and the Instance but I have tried all sorts of combinations without any success.