how can I pass a parameter to a page variant via chrome_toolbar

MichaelZischeck
Kilo Sage

I got almost everything work but:

 

I cannot figure out how to pass a parameter to a page variant which has a required parameter via chrome_toolbar

 

anyone?

1 ACCEPTED SOLUTION

MichaelZischeck
Kilo Sage

I could kill myself for not realising this earlier... just now figured it out..

 

you can supply "fields"...

and in this case it looks like:

"routeInfo": {
        "route": "my-route",
        "fields" : {"name-of-the-required-parameter-of-the-page" : "value-to-be-supplied"}
                },

View solution in original post

1 REPLY 1

MichaelZischeck
Kilo Sage

I could kill myself for not realising this earlier... just now figured it out..

 

you can supply "fields"...

and in this case it looks like:

"routeInfo": {
        "route": "my-route",
        "fields" : {"name-of-the-required-parameter-of-the-page" : "value-to-be-supplied"}
                },