I have custom fields in a Wix Event, that the user must complete, in order to submit an RSVP to attend. I can’t see a way to access those fields in Velo. I want to be able to use a data hook to sense a new RSVP and then write the content of the RSVP to a database outside Wix. I can handle the code to write the data but I can’t see a place where I can retrieve the RSVP details. The RSVP will sometimes, but not always, be a member of the site.
Can anyone help me out here? Can’t see anything in the API docs.
Bit odd but I don’t think there’s any documented methods to retrieve the rsvp fields. I wanted to add the events members are subscribed to to a summary page but couldn’t find this information anywhere.
There are documented methods which I provided in the link above. formdata API is what replaced the deprecated RsvpFormData api. They both will return this data. Please refer to the API reference for more information.
@amandam I’m sorry Amanda but I think you’re wrong. formdata provide the data for creating the RSVP form. createRsvp creates an RSVP and adds the new guests to an event’s guest list. I can’t find anywhere that allows me to access the complete rsvps themselves.
Thanks guys. Looking at the API, I think it will allow me to pull all attendees, including custom fields and then filter the data to the user I am after. I am going to give this a try next week but I’ll come back here if I am struggling. My first look at formData in the API made me think the same as you Doug…but after a second read through, I am going to give it a try.
Thanks to both of you for your comments. If I can pull this off, I’ll post my solution here, as this is not very well explained in the API.
Despite much searching and experimenting I’ve completely failed to retrieve any of the RSVP data. The booking form, sure, is covered by the formdata api. That let’s me retrieve the form allowing me to validate the data prior to creating an RSVP but it most certainly DOES NOT retrieve the rsvp data.
AmandaM could you tell us where to get the data instead of just saying we should be able to get it!
Hi Doug. Can you please start a new thread with your specific problem/goal and. the code you have attempted and what is currently being returned. It will be easier to provide guidance if you share your code