Does anybody know if the following book is good value ?
Pro Crystal Enterprise/BusinessObjects XI Programming by Carl Ganz.
RikDeclercq (BOB member since 2006-09-28)
Does anybody know if the following book is good value ?
Pro Crystal Enterprise/BusinessObjects XI Programming by Carl Ganz.
RikDeclercq (BOB member since 2006-09-28)
Yes, it is a great book for those who want to write custom code.
substring (BOB member since 2004-01-16)
Hi,
This book is for .NET and Visual Studio.
Is there any book out there that deals with BO SDKs using Java/Eclipse IDE ?
Also, I wonder why almost all BO SDK books available in the market are using the .NET technology. Anyone ?
Thanks.
AnthonyJ (BOB member since 2006-06-30)
Maybe its the market?
dirmiger (BOB member since 2002-08-28)
Although the book does focus on .NET, I was able to translate the code examples to Java since C# is so similar in syntax.
BoB LoblaW (BOB member since 2007-10-23)
You also have another option. I’ve been experimenting with Groovy and Scriptom as an interface to both the Java and COM APIs in BO and I like the combination. Groovy is a cool new dynamic language for Java. It borrows a lot from Python and Ruby and I like the closure feature. Scriptom is basically a Java to COM bridge for Groovy. Give it a try, you won’t be disappointed.
Here is a little code demonstrating capabilities and syntax. This really doesn’t do much more than login and return the names of all scheduled reports but it does demonstrate how easy it is to do. Lots of headaches like casting and list handling are simplified. You can run this script from Windows or Unix command line.
import com.crystaldecisions.sdk.framework.*
import com.crystaldecisions.sdk.occa.infostore.*
user = '...'
pwd = '...'
server = '...'
authType = 'secEnterprise'
sessionMgr = CrystalEnterprise.getSessionMgr()
session = sessionMgr.logon("${user}", "${pwd}", "${server}", "${authType}")
infoStore = session.getService("InfoStore")
iObjects = infoStore.query("SELECT * FROM CI_INFOOBJECTS WHERE SI_INSTANCE=1 AND SI_RUNNABLE_OBJECT=1")
iObjects.each { infoObject -> println infoObject.title }
print iObjects.size()
session.logoff()
ukchucktown (BOB member since 2007-04-03)
I decided to give this a try to learn something new and get away from VBA in Excel. I’m having problems with the following error:
Exception thrown: java.lang.NoClassDefFoundError: Could not initialize class com.crystaldecisions.sdk.framework.CrystalEnterprise
java.lang.NoClassDefFoundError: Could not initialize class com.crystaldecisions.sdk.framework.CrystalEnterprise
at Script10.class$(Script10)
at Script10.run(Script10:9)
I read the documentation for groovy and tried their recomendations of updating the groovy-starter.conf file, placing the .jar files in a directory with no spaces, adding the .jars to the CLASSPATH… all which I had no luck. I tried saving the .groovy file, doing a groovyc in cmd line to get a .class file and then executing with java and recieved “exception in thread main: java.lang.NoClassDefFoundError:”. I even tried multiple versions of groovy (1.7.5 and 1.5.8).
Did you have this many issues? I am running on windows with XIR2. Do you have any other suggestions??
Thanks,
Joel
jne555 (BOB member since 2005-10-28)