cancel
Showing results for 
Search instead for 
Did you mean: 

Hi. Friends. Unable to Pass Parameters in Visual Composer

Former Member
0 Kudos

Hi.

Currently we are working with Visual Composer. Our

scenario is like we have developed 3 Iviews in one page. we

could be able to get result also.

But our scenario is like whatever the values we

give in First Iview, those same values we should also get in

second and third Iview.

For Example we have plant and vendor, If we give

or submit some values in First application, those values

should also come as in second Iview.

we are getting result for First Iview and second and even third also If you run Individually. But whatever the values we give in First Iview, those are not taking in second Iview as default values.

What we have tried is 1) we have considered URL(Hyper Link Option)

2) Data Store

Kumar. B.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kumar,

Maybe you can try to have different signal events, for example in the first iview, set a button to have the action "event_a" and in the second iview a button with the action "event_b", and then set those events to the corresponding lines of the signal out's in both iviews.

Hope this helps.

Omer.

Edited by: Omer Sharav on Oct 5, 2008 1:01 PM

Former Member
0 Kudos

Hi. Omer.

First of all let me tell heartful thanks to you for sending immediate reply. But I could more appreciate you If you send me more elaborated answer.

Please. I am waiting for your reply.

Thanks in advance

Former Member
0 Kudos

Hi Kumar,

Please try the following:

Drill Down to the 1st I-view, switch to layout, add a button to the form which sends the parameter to the 2nd i-view, right click the button you have added and select "Action...", add a custom action and name it for example "event_a", close the dialog, switch back to design, right click the line from the form to the signal out and select configure, on the configure panel on the right select the event name you have defined for the button ("event_a").

Repeat this procedure for the 2nd i-view which passes a parameter to the 3rd i-view, only with a different event name.

Hope This Helps, let me know if you need further clarifications.

Regards.

Omer.

Former Member
0 Kudos

Hi. Omer.

We have tried using signal in and signal out

as you said. But we could 't be able to pass the values which

are given in one model to another model.

Once again I am repeating my scenario

In my first Iview, I have input form and when I am enter the values and say submit I am getting the result in 3 rows. I have added a colum of push button in the result(table) and action is hyper link where I have maintained the URL's of my Second IView.

So when I click the push button my second Iview should also take the Input parameters from my input form of first Iview. So I have used Signal out and signal in in 1st and 2nd iviews respectively(connection between these two iviews in the model is not possible as we have used these two in a PAGE element) but could not pass the values as required.

Kindly help us. If you don't mine can you Provide your ph. no. so that I will discuss with you clearly.

Thanks in advance

Kumar

Former Member
0 Kudos

Hi Kumar,

You can E-mail me using my Profile link, i'll see if I can help.

Regards.

Omer.

Edited by: Omer Sharav on Oct 6, 2008 2:05 PM

Former Member
0 Kudos

Hi Arun,

The problem seemed to be a result of a typo in the string you need to concatenate to the URL of the i-view:

needs to be </Row> instead of </Rows>:

&_paramsXmlStr_=<Params><Row param1="<value>" param2="<value>u201D u2026></Row></Params>

Regards.

Omer.

Edited by: Omer Sharav on Oct 8, 2008 8:01 AM

Former Member
0 Kudos

Hi Omer,

Thanks for the immediate feedback and also for the solution.We have got the result with the following way by giving the single values to fields in URL.ex plant - 8302 and material_type=z001.

In the same way we have tried the same by following the document "Drilldowns in VCModels" 17th page "DRILLDOWN TECHNIQUE#5: Chart or Table > any parameterized URL " i.e https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0127853-23a2-2910-30ad-c1873643...

for our requirement.

As you know our requirement was to pass the parameters of first iview.So in the first iview we have used in a button hyperlink action in which we have given the second models URL prefixed the following parameter string .

&_paramsXmlStr_=<Params><Row Material_type="#ID[ACA8HN]@Material_type" Plant="#ID[ACA8HN]@Plant"></Row></Params>

If i give this above one in 1st iview,it is not getting compiled.So we have encoded to

&_paramsXmlStr_=%3CParams%3E%3CRow%20Material_type%3D%22&#ID[ACA8HN]@Material_type&%22%20Plant%3D%22&#ID[ACA8HN]@Plant&%22%3E%3C/Row%3E%3C/Params%3E

even without "&" in params for the values in above string.Even then its not bringing the values what we have given in first iview.

Could you please let us know where we are going wrong.

Former Member
0 Kudos

Hi Arun,

Can you please try to build the same URL with the expression builder?

I think maybe the square parentheses are missing ("\[" and "\]" after "ID" and before "@".)

Hope this helps.

Omer.

Edited by: Omer Sharav on Oct 12, 2008 7:28 AM

Former Member
0 Kudos

Hi. Omer.

We have tried using your

input.But it's not taking.

We want to show the URL where we are getting

values passed in the string, But It's not displaying the data.

&_paramsXmlStr_=<Params><Row Material_type='&#ID[ACA8HN]@Material_type&'Plant='&#ID[ACA8HN]@Plant&'></Row></Params>

By adding this string for the URL we could see the values in 2nd iview which we are giving in 1st iview.So we tried with the following way replacing single colon with double colon

&_paramsXmlStr_=<Params><Row Material_type="&#ID[ACA8HN]@Material_type&"Plant="&#ID[ACA8HN]@Plant&"></Row></Params>

in the formula editor it is valid but when i compile the model its throwing the errorbut when i give the above one with single colon its not,compiling and getting deployed.

Kindly go through the above scenario, Let us know if there will be any changes have to be taken.

Thanking you so much.

Former Member
0 Kudos

Hi Arun,

Please see if you can adapt the following formula to your needs:

&_paramsXmlStr_=%3CParams%3E%3CRow%20STR1%3D"&"%22"&#ID[ACA4DY]@STR1&"%22"&"%20STR2%3D"&"%22"&#ID[ACA4DY]@STR2&"%22"&"%3E%3C/Row%3E%3C/Params%3E

Hope This Helps.

Regards.

Omer.

Former Member
0 Kudos

Hi. Omer.

Thanks for providing solution. Problem resolved perfectly. Complete credit goes to you. Full points have been assigned

Thanks once again.

Regards

Arun & Srinivas

Former Member
0 Kudos

I would like to pass values to Visual Composer via URL.

I tried to pass value the following way. Here FSTNAME_M - Field Name & Value - Test

&_paramsXmlStr_=<Params><Row FSTNAME_M="Test"></Row></Params>

But it is not working.

Please I am waiting for your reply.

Thanks in advance.

Thayaparan P

Edited by: Thayaparan Ponnampalam on Dec 10, 2008 5:24 AM

Former Member
0 Kudos
Former Member
0 Kudos

Hi Omer,

Thanks for providing solution.

Problem resolved perfectly.

Thanks,

Thayaparan.

Answers (1)

Answers (1)

Former Member
0 Kudos

Problem Resolved