The Wix Blog Posts collection is read-only, so I created another collection [Blog Post Audios] to store customized values that is used in code. How can I link this new collection to the Posts collection so that if a new blog post is published, a new entry/row appears in my new collection [Blog Post Audios]?
I need a similar solution: a job that reads a database (e.g. Posts collection) and populates another database with any new addition (Blog Post Audios collection).
But, I’m new to coding and don’t know exactly how to go about coding that job. I’ve got the job file and everything set up, but don’t know how to write the .js file for this job. Any suggestions?
I’m guessing something with “query” and “update” functions… If I could have an example to start with it would help a lot.