Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

139
Views
How to copy table from diferents collections in Wix?

I would like to copy PrivateMembersData to another collection from Google Cloud. I already do Google Cloud Integration but I need some answers because I'ḿ very new in javascript. Is it possible to copy?

What's the code should I use ?

Do I have to have same filters to do it ? Because is not possible to edit the filters name in Google Cloud Integration database from Wix.

I've tried this code in data.js :

import wixData from 'wix-data'; 


export function Members$PrivateMembersData_afterInsert(item, PrivateMembersData ) {
  let hookContext = PrivateMembersData;
 // see below

  // some changes to the received item

  return item;
}
export function testes_rapha$mytable_Insert(item, mytable);
      


export function Members$PrivateMembersData_afterUpdate(item2, PrivateMembersData ) {
  let hookContext = PrivateMembersData;
  

  // some changes to the received item

  return item2;
}
wixData.update("testes_rapha$mytable", item2)
    .then( (results) => {
        let item = results; //see item below
    } )
    .catch( (err) => {
        let errorMsg = err;
    } );
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!