Data Shuttle - Adding New Records
Hi all -
I have a Data Shuttle process that runs when a new attachment is added. The goal of the process is to add all records in the attachment to the sheet, but I'm struggling b/c I need to map a Unique Column according to Data Shuttle for the Destination Sheet.
The process fails to load all of the sheet rows because after it loads the first new row, the others are held back because they aren't considered "unique." In the example below, the column "Name" is what I was mapping to, but after Row 1, it stops loading anything further.
Other than adding a Unique ID in the attachment, I can't think of another way to load this via Data Shuttle. Any thoughts?
Answers
-
Are you trying to add the new records in addition to the existing records, or would it work if you just had all of the data in the attachment overwrite all of the data in the Smartsheet?
-
@Paul Newcome I'm trying to append (new records in addition to the existing).
-
In that case you are definitely going to need a unique identifier in the source document.
I haven't tested this, but it sounds like it should work.
Have an "initial upload" sheet that receives the attachment as is completely replacing everything. Use an auto-number column to generate a unique number on every row in this sheet.
Another Data Shuttle workflow offloads this Smartsheet as a csv file and attaches it to your Original Smartsheet.
A final Data Shuttle workflow runs on attachment and can be set up to add new rows as they are added to the source file because now the file has the auto-number column generating unique ids on every row.
The drawback from this (aside form the additional sheet and workflows) is that the offload can only happen on a time basis as frequently as 15 minutes.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives