Skip to main content
← Data, API & Backend
Data, API & Backend October 20, 2021 · 7 replies

Passing variable to a web view component

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Hi,

Can we pass a variable URL to a web view component? If yes, how?

Thanks!

7 replies

Javier Felipe Bravo team October 21, 2021

Hey ! You can bind the webview component to API data, if you have the URLs stored in a backend tool. Also, you can set the webview URL statically in Figma.

You can also use some special variables in the webview URL, for instance, to introduce the user coordinates in the URL. You've got more information about this here :)

Olusola October 23, 2021

Hi! I have a similar problem where I cannot  set them statically in Figma. I tried to do what you say in this and in the medium article, but I am running into an error  - whenever I try to bind the URL data to the Web View container, it doesn't work.

I duplicated every file provided and I am struggling. Am I missing something?

image.png

How do I bind the web view url to a value in my airtable?

Olusola October 23, 2021

I also think that it may be a bit outdated since it is a year old - idk if anything else needs to happen to make it work.

Lakshay October 26, 2021

I have the same issue, I am unable to bind the URL to the webview.

  How do you suggest we bind the URL to the webview component? I am getting the same error as  .

Javier Felipe Bravo team October 27, 2021

Hey, we're working to fix it, thanks for the patience 🙏

petbase November 10, 2021

Hi  All (   )  I'm NOT GETTING THE ERROR. Here are my screenshots you can copy to bind URLS to web-views... Here are the Binding, the API, The Figma declaration, and a successful send request. In file too below for download..

image.png

WebView URL Api Request and Binding..docx

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord