You are so helpful, Wix Wiz. I had a problem with _id. For the value of _id, I took it from the id given by the API, which is of number type ... and in the video you pointed out that _id MUST BE A STRING. That really solved my problem. Thank you. 🙏🏻🙏🏻
@@thewixwiz It will be great if you can build a PDF functionality when a custom form Data is sent to a PDF format document that it will be sent automatically to a user. (ex. Invoice format). Thank you again for these tutorials.
Thanks! This is a tough one - generally Wix uses server side rendering but it's hard to know exactly what is rendered server side on pages with custom code.
thanks for your tutorial, i am wondering if i can use the same logic and set up for my wix website to connect to google photo library or google cloud storage??
In this series you show how to call an external API and show the data in a repeater. How would you go about populating form controls (i.e. textboxes, dropdowns, etc) with a fetched data, allow the user to modify the data, and POST or PUT the result into an API? If you have a series of videos on that topic already - that would be great!
The API call would be the same, it's just a matter of how you handle the data on the front end. You could pass them as values to the inputs and then make a consecutive POST request with any finalized data. With a post request you send a body along with the request and specify the method in the options. Any more specific advice would depend on the API.
Made it work, but only in the front-end. Wix shows a "Fetch is not defined" when trying to get the secret key from the backend. The exactly same code works in the front-end.
@@caiocesarop Hi, have you watched the entire series? If you still need help you can post your question to the forum: www.eitanwaxman.com/forum/youtube-tutorials-wix-wiz
This series was immensely helpful. Thanks for taking the time to share your knowledge!
Thanks for the support!
You are so helpful, Wix Wiz. I had a problem with _id. For the value of _id, I took it from the id given by the API, which is of number type ... and in the video you pointed out that _id MUST BE A STRING. That really solved my problem. Thank you. 🙏🏻🙏🏻
Glad it helped! Thanks for watching!
Great Work! Nice videos! Please keep going.
Thanks so much! Anything you would like to see next?
@@thewixwiz It will be great if you can build a PDF functionality when a custom form Data is sent to a PDF format document that it will be sent automatically to a user. (ex. Invoice format). Thank you again for these tutorials.
@@thewixwiz It's any way for you to share the code? perhaps you can add the code to a drive or something like that. Thanks!
@@ericmg4581 Okay I will explore that!
@@ericmg4581 Great point - I will add it.
Super useful. Are the values server rendered on the website (so, helpful for SEO)?
Thanks! This is a tough one - generally Wix uses server side rendering but it's hard to know exactly what is rendered server side on pages with custom code.
thanks for your tutorial, i am wondering if i can use the same logic and set up for my wix website to connect to google photo library or google cloud storage??
Assuming they have an API then yes!
@@thewixwiz thanks for your response
Great!
Thanks!
In this series you show how to call an external API and show the data in a repeater.
How would you go about populating form controls (i.e. textboxes, dropdowns, etc) with a fetched data, allow the user to modify the data, and POST or PUT the result into an API?
If you have a series of videos on that topic already - that would be great!
The API call would be the same, it's just a matter of how you handle the data on the front end. You could pass them as values to the inputs and then make a consecutive POST request with any finalized data. With a post request you send a body along with the request and specify the method in the options. Any more specific advice would depend on the API.
Hey! thanks so much for this - I'm getting the following error: Error: Cannot read properties of undefined (reading 'map') - Any ideas why?
Thanks for watching! Look for the variable you are using .map on - it is undefined.
How do I create a dynamic page for each element of the repeater? I am fetching the data from an external API and need a separate page for each item.
For data from an external API, Wix router is probably the approach you want to take:
th-cam.com/video/YBbNJb2umSE/w-d-xo.html
Thank you!
How to populate a text using the API value? or probably change the value of text with Api returned value on click
Very similar to the repeater, just pass the value to a text element. You can wrap your API call in a function that is called on click.
great content! now I just need to fetch an npm info, which i'm having lot of headache
Thanks for your support! Good luck!
thank you!
Made it work, but only in the front-end. Wix shows a "Fetch is not defined" when trying to get the secret key from the backend.
The exactly same code works in the front-end.
@@caiocesarop Hi, have you watched the entire series? If you still need help you can post your question to the forum:
www.eitanwaxman.com/forum/youtube-tutorials-wix-wiz