Check out the latest example on the Velo Examples page, based on the new wix-booking-backend APIs.
Query and display a list of bookings filtered by date and status.
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Hello - I am having a hard time grabbing the Booking ID to add to my repeater
In this code segment from the example -
$w('#sessionsRepeater').onItemReady(($item, data) => { $item('#sessionDateText').text = data.bookedEntity.singleSession.start.toLocaleString(); $item('#sessionClientNameText').text = data.formInfo.contactDetails.firstName; $item('#sessionServiceText').text = data.bookedEntity.title; $item('#sessionStatusText').text = data.status; }); $w('#sessionsRepeater').data = [];
If I try to add a booking ID
This doesn't work -
$item('#sessionIdText').text = data._id;
This also doesn't work -
$item('#sessionIdText').text = data.BookingId;
What do I need to call?
Thanks - I am VERY new to this, but I've tried everything