Pass Data to Server Connect from Table

Quick Question.

I am having troubles Passing the data that is generated in a Table as a Parameter to be passed in a Server Connect API Call.

Steps are Below for Functionality

1.) Table Populates from DB

2.) User clicks on one of the cells >> Submits Server Connect API to Update a DB with values

The issue is the values are not passing. If I hardcode a number “1” for example it works fine so I think it’s just grabbing the right syntax / variable for this.

Trying to grab data for tablerepeat1[0].id (NOTE - I’ve Tried replacing 0 with $index also with no luck)

Any Ideas / Thoughts?

<dmx-serverconnect id="sc_set_print_area_Status" url="../api/set_print_area_status" noload dmx-param:id="tableRepeat2[0].id" dmx-param:active="" dmx-param:print_style_id="" dmx-param:order=""></dmx-serverconnect>

Screen Shot 2022-04-14 at 1.35.40 PM|690x412

!

Community Page
Last updated: