My recommendation is actually going to be to change how you are building it. What I mean is that I would recommend making a parent flexcard and a child flexcard. The child flexcard would be a row of data plus the custom button. You would have the child flexcard repeating within the parent. That would allow you to make the custom button you are looking for in each line that could launch the OmniScript. Another potentially much more complex option would be to add JS to create the buttons on the DOM using the datatable data. I do not necessarily recommend that option unless you are already very good at JS but wanted to mention it.
↧