Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I pass a parameter to a portlet built with an application component (form, report, chart, dynamic page)?

0
Posted

How do I pass a parameter to a portlet built with an application component (form, report, chart, dynamic page)?

0

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.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123