cancel
Showing results for 
Search instead for 
Did you mean: 

fetch parameter value in "Pages with flow logic"

divya_nayudu
Participant
0 Kudos

hi all,

im calling a .bsp page (created in 'pages with flow logic') on click of a button. In the URL, im passing a parameter. I need to catch tht parameter's value in my page. How do i do that?

How to use the "REQUEST" object to fetch parameter's value? Thanks in advance!

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188685
Active Contributor
0 Kudos

you can use the method GET_FORM_FIELD and get the value from the url.

...../z_pflow/pa.htm?test=122343

data: test(10).

test = request->get_form_field( 'test' ).

this way you can get the values from the url.

Answers (1)

Answers (1)

former_member184111
Active Contributor
0 Kudos

Hi,

Declare a parameter in page attributes of Called page , with the same name as the parameter you are passing in the URL and mark it as Auto.

The parameter will be filled in OnInitialization Event handler.

Regards,

Anubhav.

divya_nayudu
Participant
0 Kudos

Thanks a lot Anubhav and Vijay! Its worked. Given points.

former_member184111
Active Contributor
0 Kudos

Hi,

Please check...you have rewarded any points ...

divya_nayudu
Participant
0 Kudos

Sorry it got missd. You can check now!

former_member188685
Active Contributor
0 Kudos

URL parameter with AUTO option you solved...?

with out using the Request and with out setting the set_attribute method..

divya_nayudu
Participant
0 Kudos

No Vijay. I had to use the request object.