on 2013 Apr 30 7:12 PM
How would I distinguish the mandatory input parameters from the optional parameters in Crystal report format when using Java API?
Thanks,
Chandra Prakash
Request clarification before answering.
Hi Chandra,
There is a method in the IParameterField interface odf RAS API's, which lets you know whether the parameter is optional or not. Below is the defination of it.
getIsOptionalPrompt
boolean getIsOptionalPrompt()
Gets whether the parameter is optional.
Optional parameter prompts do not require a parameter value to be provided. No visual cue in the parameter dialog indicates that a parameter is optional; however, the report designer may add custom text to the prompt text indicating it is optional.
If an optional parameter prompt is given a Values collection whose “IsNoValue” property is set to true, the user will not be prompted to enter a value.
Returns:true if the parameter is optional.
You can find the API referrence from the below link
http://help.sap.com/businessobject/product_guides/boexir31/en/rassdk_java_apiRef_12_en.zip
Hope it helps.
Thanks,
Prithvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.