Question:
How to change field types in external collection? Manualy/Code
Product:
Wix Editor
What are you trying to achieve:
I’m using an external collection from BigQuery, and when translating the dataset base, the data types are not compliant. I need to configure manually or configure in the adapter parameters for Wix the field data types, because directly through the editor the field data types cannot be changed (for external collections). An example is the website_link field which is transferred as text type, but I need it to be a url in the collection.
What have you already tried:
I couldn’t find an answer in the documentation, except that there is an option to duplicate data from a collection via api (output data from one collection, load it into a new collection) to avoid the limitations of the external collection. However, my collection is regularly updated, so this option is not suitable for me, as I will have to use the script every time I update the original external collection.