Posted: 20 Mar 2015 12:11 EDT Last activity: 20 Mar 2015 15:58 EDT
Data Page not taking parameters when in a section
I am calling a data page from a section with a repeating grid layout and i select the option to pass the current parameter page but the page always turns out empty. I review the tracer and in the moment of the load of the data page the parameters always show up empty. The parameters are being set in a pre data transform with the exact same name as defined in the data page.
I am not sure I understand what you are doing but I don't think it can work that way. The parameter page does not get set using data transform, it may be possible but I can't even find the parameter "page" on the clipboard so I do not think what you are trying to do will ever work.
Parameter pages are set on a rule by the rule that is calling it. Example:
A Flow Action (FA) References a Section (S) which has a Section Include of a Section (SI) that references a Data Page (D_). D_ takes a param named MyParam. When SI references D_ there will be an option to supply the parameter. At this point there are 2 options
1. hard code in a text value
2. Add a param to SI and let S pass a value to SI as param that then will be passed to D_. If you do this SI can either pass the parameter to D_ using the param.paramName convention or if the param on SI is named identical to the param defined on D_ then you can just check "Pass current paramater page".
If you want the FA to actually determine the param value then S must also declare a param and have FA pass the actual value in. You will notice that in FA there is a "Param" button right were it references S.
So in conclussion: D_, SI, and S all define a parameter on there parameter tab. FA Passes a value to S's param. S passes it param to SI's param which passes its param to D_.
I hope this helps, let me know if you have follow up questions;
Cecil Howell, CSA | Senior Instructor | Pegasystems Inc.