cancel
Showing results for 
Search instead for 
Did you mean: 

Two questions on dynamic parameter from java API point of view

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Guys,

I am working in CR4E framework .We have a report which uses dynamic parameter which will prompt after entering value for original parameter.We have a requirement for dynamic parameters in crystal reports that need to be executed in java application.But while running the report through java application,we know that we have to get the dynamic cascading prompt by using two methods.They are getDynamicCascadePromptGroupID() and getDynamicCascadePromptData().

But we are not able to get the jar file which will have classes that implements the ireportparameter interface which contains these methods.

Can someone please help me how to sort out this problem.

former_member217070
Active Participant
0 Kudos

Hi, Maralla,

The getDynamicCascadePromptGroupID() and getDynamicCascadePromptData() API's are in the Enterprise SDK, not the CRJ, and are not documented and so are not supported.

This quote is from earlier in this thread:

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.

Regards,

Bryan

Former Member
0 Kudos

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 Kudos

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 Kudos

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 Kudos

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
Employee
Employee
0 Kudos

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