How do I pass a parameter to a portlet built with an application component (form, report, chart, dynamic page)?
The only way to pass parameters to an application component portlet is to modify the generated code to use the wwpro_api_parameters.get_value function. The function is declared as: function get_value( p_name in varchar2, p_reference_path in varchar2) return varchar2; p_name is the name of the parameter, and p_reference_path uniquely identifies an instance of the portlet. The reference_path is declared in the generated code and automatically passed to the portlet. Unfortunately, you cannot address reference_path in the report building wizards, you have to edit the code to add this call. To pass the parameter, you append the parameter name to the URL of the page that contains the portlet. For example, if the parameter name is CustId, and you want CustId 999, add “&CustId=999” to the page URL. Please refer to the PDK documentation for more information on using the wwpro_api_parameters package.