I’m presuming your example is for a button which adds a row. in this case thisRow is available if your button is a column in a table, but if it is a button that lives somewhere else in your document outside of a table then you cannot use thisRow.
in a table (which also needs to have a name column) the formula would look something like
Thanks for your response, that makes complete sense. The button is outside the table, so that’s why I can’t see thisRow.
What I’m trying to do is to make that button duplicate rows in the table that have a checkbox checked in one of their columns. I’ve been reading the documentation and I think I would have to use a FormulaMap, but I haven’t had time to look into it.
Maybe you can just use a column, type “Button”, in your table. You have the “Duplicate row” function. You can use it with ThisRow and in the “Disable if” you add the fact that button is disabled if the chekbox is false.
Then, outside your table you just use the external button to push the buttons of the column and it will only push the ones that are not disabled.
I didn’t try this but I did something very similar in one of my docs so I’m almost sure it works Let me know and do not hesitate to share your doc if I didn’t understand your need !
This canvas button formula below duplicates every row that the checkbox is ticked. If you have more columns in this table, you need to add them to the formula. If you can always clear the checkboxs using another action inside RunActions().