Retrieving data from MembersPrivateData

Greetings,
I’m trying to allow loggedin users pull their data from their membersprivate data and save to another field in a different collection. This is my code but seems the data is not being retrieved. #dataset22 is connected to Membersprivateddata(read only). Any help will be appreciated.

export function button300_click(event) { 
 let phone = $w("#dataset22").getCurrentItem().mainPhone;
 if ($w("#input9").value > 1 ) {
        $w("#dataset21").setFieldValues({

 "status": 'Pending',
 "phoneNumber": phone,
 
        });
        $w("#dataset21").save();
 //Add your code for this event here: 
}}

Hi there, have you checked out the articles in the Corvid help center ?

now this group is confusing. I thought this is the Corvid group.

This is a Partner group. You can find the Corvid forum here . :slight_smile: