Kbase 20201: Actuate - Receiving AD-HOC Parameters in a Specified Order
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  20/10/2008 |
|
Status: Unverified
GOAL:
How to sort and receive AD-HOC parameters in a desired order using Actuate Requester.
FACT(s) (Environment):
Actuate 4.x
Actuate 5.x
CAUSE:
The Actuate Requester usually accepts AD-HOC parameters in
alphabetical order. So, if you have (for example, DOG, CAT, ANT, and ZEBRA), the order that Actuate accepts and returns them is (ANT, CAT, DOG, and ZEBRA).
FIX:
There are two options that allow you to get the parameters back in the order you desire, or the order you input them:
1) Rename the parameters in alphabetical order,
2) Assign an alias to them, then use the SortParamsByAlias and set the value to equal "true ".
Follow these steps to assign an alias to the parameters:
A) Go to menu > View >Parameters.
Here you can assign aliases to the parameters on which they should be sorted.
B) On the Report Application, use use the property "SortParamsByAlias" to sort on these aliases, or on the names of the parameters.
NOTE: Sorting is always done in alphabetical order, therefore, name the aliases of the AD-HOC parameters something like ADOG, SCAT, BANT, AND DZEBRA.
C) Set the SortParamsByAlias property to "true".
The parameters are then be sorted and returned as DOG, CAT, ANT, ZEBRA.