You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After importing data from a json archive the username disappears for the user that exported the data. After looking deeper into this. I see a difference in the user-profile json between records
On the left a record that contains the username and on the right how the record looks after data was imported for this user from a JSON export
The text was updated successfully, but these errors were encountered:
To make the import work I've modified the map function in the import-archives.bin.js file. Note the bold below:
.map(row => {
if (row.doc.collection !== 'TangyFormResponse') return
if (row.doc.form && row.doc.form.id !== 'user-profile') {
row.doc.items[0].inputs.push({
name: 'userProfileId',
value: userProfileDoc._id
}, {name: 'tabletUserName', value: archive[0].databaseName})
}
After importing data from a json archive the username disappears for the user that exported the data. After looking deeper into this. I see a difference in the user-profile json between records
On the left a record that contains the username and on the right how the record looks after data was imported for this user from a JSON export
The text was updated successfully, but these errors were encountered: