Skip to main content

I have 3 components on a page, each with 10 instances. I’m using the Google sheets plugin to sync those 30 instances with 30 rows of a spreadsheet. My problem is that each set of component instances starts the sync from the spreadsheet’s first row, so all 3 sets of 10 instances pull only the first ten rows from the spreadsheet.


Is there a way to stop the plugin from restarting its row counter with each new component? (The all worked fine before I tried to abstract the 30 layers into 3 components.)


adTHANKSvance!


ET

Hello, I came to the forum with the same issue. Then later I found a solution:


On your page, select all the instances of a layer you want to sync across all the components in which they are nested (I use the Similayer plugin)


Rename all these instances like so: #googleSheetColumn.indexNumber

→ where indexNumber is an ascending number starting from 1. (to do this, I press cmd+R in Figma and type #googleSheetColumn.$n)


This will make the plugin assign the data to the layers by looking at the rows specified by the indexNumber in the layer names.


Make sure all the layers inside of a component all have the same index, so they can be synced with the same row.


Reply