on 06-30-2008 4:51 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.