How To Display Data From an External API in WiX | Step 6: Populating a Repeater with Data | Velo

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

ความคิดเห็น • 32

  • @rando_prime123
    @rando_prime123 ปีที่แล้ว +2

    This series was immensely helpful. Thanks for taking the time to share your knowledge!

    • @thewixwiz
      @thewixwiz  ปีที่แล้ว

      Thanks for the support!

  • @antonhassan
    @antonhassan ปีที่แล้ว

    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
      @thewixwiz  ปีที่แล้ว

      Glad it helped! Thanks for watching!

  • @ericmg4581
    @ericmg4581 2 ปีที่แล้ว +2

    Great Work! Nice videos! Please keep going.

    • @thewixwiz
      @thewixwiz  2 ปีที่แล้ว

      Thanks so much! Anything you would like to see next?

    • @ericmg4581
      @ericmg4581 2 ปีที่แล้ว +2

      @@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.

    • @ericmg4581
      @ericmg4581 2 ปีที่แล้ว +1

      @@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!

    • @thewixwiz
      @thewixwiz  2 ปีที่แล้ว +1

      @@ericmg4581 Okay I will explore that!

    • @thewixwiz
      @thewixwiz  2 ปีที่แล้ว +1

      @@ericmg4581 Great point - I will add it.

  • @ManasMadrecha
    @ManasMadrecha 7 หลายเดือนก่อน +1

    Super useful. Are the values server rendered on the website (so, helpful for SEO)?

    • @thewixwiz
      @thewixwiz  7 หลายเดือนก่อน

      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.

  • @ducthienbuivo7528
    @ducthienbuivo7528 ปีที่แล้ว

    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??

    • @thewixwiz
      @thewixwiz  ปีที่แล้ว

      Assuming they have an API then yes!

    • @ducthienbuivo7528
      @ducthienbuivo7528 ปีที่แล้ว

      @@thewixwiz thanks for your response

  • @ProXGamer7
    @ProXGamer7 2 ปีที่แล้ว +1

    Great!

  • @MottyChenXBS
    @MottyChenXBS 5 หลายเดือนก่อน

    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!

    • @thewixwiz
      @thewixwiz  5 หลายเดือนก่อน

      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.

  • @superlunardesign
    @superlunardesign ปีที่แล้ว

    Hey! thanks so much for this - I'm getting the following error: Error: Cannot read properties of undefined (reading 'map') - Any ideas why?

    • @thewixwiz
      @thewixwiz  ปีที่แล้ว

      Thanks for watching! Look for the variable you are using .map on - it is undefined.

  • @isabellarojas6905
    @isabellarojas6905 4 หลายเดือนก่อน

    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.

    • @thewixwiz
      @thewixwiz  4 หลายเดือนก่อน

      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

  • @bulgan0305
    @bulgan0305 ปีที่แล้ว

    Thank you!

  • @nidhijain2113
    @nidhijain2113 ปีที่แล้ว

    How to populate a text using the API value? or probably change the value of text with Api returned value on click

    • @thewixwiz
      @thewixwiz  ปีที่แล้ว

      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.

  • @portalweaver.brasil
    @portalweaver.brasil 2 ปีที่แล้ว

    great content! now I just need to fetch an npm info, which i'm having lot of headache

    • @thewixwiz
      @thewixwiz  2 ปีที่แล้ว +1

      Thanks for your support! Good luck!

    • @portalweaver.brasil
      @portalweaver.brasil 2 ปีที่แล้ว

      thank you!

    • @caiocesarop
      @caiocesarop 2 ปีที่แล้ว

      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.

    • @thewixwiz
      @thewixwiz  2 ปีที่แล้ว

      @@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