cancel
Showing results for 
Search instead for 
Did you mean: 

.NET SDK Developer Guide publication inconsistency

Former Member
0 Kudos

I am working on creating and scheduling some publications of Crystal Reports using the .NET SDK. I'm running BO Enterprise XI 3.1. I have noticed that there are some conflicting statements within the .NET SDK Developer Guide, and I was hoping that I could get some clarification on them.

1. In the developer guide, it states that "As of this release, publications only support Desktop Intelligence documents".

2. However, the developer guide also has several examples of creating a publication containing Crystal Reports documents.

3. The Publication .NET class seems to exist only in the BusinessObjects.Enterprise.Desktop namespace - seemingly Deski specific.

4. However, I have been able to create (and schedule) a publication with a Crystal Report using this class.

So what is the SAP's official stance on this area of the .NET SDK? Is the documentation just out of date, or will I run into pitfalls later on? Is it supported or not? Any clarification would be very much appreciated. I'd like to understand any risks involved as we will be basing a large scale solution off of the publication functionality.

Thanks in advance!

-m

Accepted Solutions (1)

Accepted Solutions (1)

ted_ueda
Employee
Employee
0 Kudos

1. This is a bad statement that refers to version XI Release 2 - an oversight that it wasn't elided for XI 3.x. Publications support Crystal Reports, Web Intelligence and Desktop Intelligence.

2. See above.

3. Desktop doesn't imply Desktop Intelligence, but desktop plugins. Desktop plugins are responsible for content. Desktop intelligence is referred to in the API as FullClient. The namings are historical artifacts.

4. That's perfectly fine.

Sincerely,

Ted Ueda

Former Member
0 Kudos

Thanks Ted!

-m

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi mja013,

As said can you please share the piece of code from where you are scheduling the Publication.

I did some coding but when giving

query = "SELECT SI_ID FROM CI_INFOOBJECTS WHERE SI_KIND = '"

+ InfoStore.CeKind.PUBLICATION + "' AND SI_NAME = SOME GOOD NAME OF PUBLICATION";

InfoObjects publications = boInfoStore.Query(query);

InfoObject publicationInfoObject = publications[1];

Publication publication = (Publication)publicationInfoObject;

it goes in error stating

CrystalDecisions.EnterpriseInfoobject cannot be converted to Publication

Awaiting your guidence

Regards

Ankeet