linkedin
  • Become a Seller

How can I create a button in Coda that duplicates only the visible rows in a table and overwrites some of the field values, especially when the table is filtered to show specific data in Coda?

Amit . Oct 22, 2024

A:

To create a button in Coda that duplicates only visible rows in a table and overwrites specific field values, follow the steps given below:

  • Open your Coda account
  • Filter your table using <code> Filter() </code> to show only the rows you wish to duplicate
  • Add a column to the table and insert a button
  • Name the button 'Duplicate Row'
  • Set Button Actions using <code>RunActions()</code> to define the actions
  • Use <code>Table.AddRow()</code> to duplicate the row
  • Use <code>ModifyRows()</code> within <code>AddRow()</code> to overwrite specific field values
  • The button should reference <code>thisRow</code> to apply the action only to visible rows based on the filter
  • Test the button

Oct 22, 2024

Was this helpful? upvote icon 0 downvote icon 0
img

Did not find the question you are looking for?

Get fast answers from real users and our software experts

menlaptop

Have a Question in Mind?

Get answers directly from verified users and our software experts

Software icon representing 20,000+ Software Listed 20,000+ Software Listed

Price tag icon for best price guarantee Best Price Guaranteed

Expert consultation icon Free Expert Consultation

Happy customer icon representing 2 million+ customers 2M+ Happy Customers