Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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

2 REPLIES 2

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"}
                },

XimonJ
Tera Contributor

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