cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Two questions on dynamic parameter from java API point of view

Former Member
0 Likes
498

Hi,

We have a requirement for dynamic parameters in crystal reports that need to be executed in java application. Since, crystal java framework do not support the dynamic parameter execution (please correct me if I am wrong), we plan to execute explicitly the query for getting the dynamic values of such dynamic parameters before listing the parameters in java application.

The query for the dynamic parameter will be given in the field 'Prompt Group Text' of the parameter.

I coudl not get hold of these details from java api. So please some one help me out.

Environment - Crystal X1 R2 with java libraries

1. How can we identify a parameter is a dynamic one?

2. How to get the 'Prompt Group Text' field value?

Any suggestions welcome.

Thanks,

Ratan.

View Entire Topic
Former Member
0 Likes

There are these two methods in the Business Objects Enterprise SDK Developer Libary:

byte[] getDynamicCascadePromptData()

Returns a collection that contains dynamic cascading prompt data.

java.lang.String getDynamicCascadePromptGroupID()

Returns a dynamic cascade prompt group ID.

For more information on what is available through available SDK's, please refer to the following link:

http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm

Former Member
0 Likes

Hi,

Thank you for the reply.

We are using the JRC SDK of the crystal reports (not the entriprise edition). So I could not find the methods you have mentioned. I will find whether the java api (of entriprise edition) is avaialbe for download or need to buy the entriprise edition.

Thanks,

Ratan.

Former Member
0 Likes

Hi Merry,

Any idea of where I can download the enterprise edition (free/evaluation copy) so that I can go ahead with my dynamic parameter development and have the proof of concept?

Thanks,

Ratan.

Former Member
0 Likes

Below is a link to the business objects website with the contact information:

http://www.businessobjects.com/product/platforms/enterprise.asp

We don't have a copy of Enterprise on our website for downloading, but if you contact a sales person they may be able to help you with what you need.

ted_ueda
Product and Topic Expert
Product and Topic Expert
0 Likes

One comment - there's no public API that would allow you to get the Dynamic Cascading Prompt List of Values. The XML stream returned by the getDynamicCascadePromptData() method is not documented.

Crystal Report Viewer uses the info to connect to the List of Values on Enterprise - the way to present the cascading prompt values to a user is to open the report using the viewer, and have it present the prompt page to the user.

Sincerely,

Ted Ueda