I’m trying to find a way to get the Field Names of a Collection through the Corvid code (not the Field Key). Is there any way to do this?
When you connect things in the Wix Editor you are using the field names.
When you use Corvid you are using the field keys and not the names.
See here for more info.
https://support.wix.com/en/article/about-your-content-collection-fields
https://support.wix.com/en/article/about-your-content-collection-fields#field-name
https://support.wix.com/en/article/about-your-content-collection-fields#corvid-by-wix-users-only-field-key
Hm, I’m trying to create a page for someone who wants to change the page based off of uploading items to a collection (and doesn’t want to mess with the Corvid code). Some text headers need to be controlled by the Field Name. So there is no way to get the Field Name from the Corvid API?
It’s not clear enough what you’re trying to do. Are you trying to get the list of all the fields names in a certain collection?
Sorry that it wasn’t clear. I’m hoping to get something like that, ideally some sort of mapping between field name and field key I can use in the page code would be best. But a list of all the field names accessible in code from a specified collection will do.
A method to get filed displayed names doesn’t appear in the Corvid documentation .
I hope they’ll add it soon, because sometimes it is needed.
Meanwhile you should create a table of field keys and displayed names and use it to find connect keys to names.