Support Article

Not able pass page name as parameter in a section

SA-25657

Summary



User has to call a section (present in Data class) from the work class section using the dynamic page name (using page-group).

So, when they have pass the page name as parameter in the "Using Clipboard Page" option, the section of the Data class cannot load at run time. But when hard coded the page name then this is working fine.


Error Messages



Not Applicable.


Steps to Reproduce



1. Create a section in work class.
2. Refer a section (which is in Data class) and use the option "Use Clipboard Page".
3. From the flow action pass the page name (in this case this is page-group) as parameter.


Root Cause



A software use or operation error : The reported behavior is expected as per product design. Because, when one passes a parameter to rule like Param.paramName that will be treated as "Parameter" page.

It is a different page structure in PRPC. Where as in the reported behavior "Use Page context" has option "Use clipboard page" and value is "Param.paramName". Here the clipboard page is not same as parameter page. Hence it does not take the value from parameter page.

Resolution



To pass dynamic class name to the clipboard page context, use pre-processing activity or data transform to set one of the property value as desired class name and refer the same property in "Use Page Context " drop-down as either "use clipboard page" or "use page defined on the property".

 

Published July 15, 2016 - Updated July 26, 2016


0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.