You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

fireDataProviderEventAction fails for ADP when keyAttributes is @index

Received Response
37
Views
9
Comments
edited Jun 15, 2020 11:38AM in Visual Builder 9 comments

Content

We are trying to do a mutation event (UPDATE) using fireDataProviderEventAction for an ADP.

The keyAttributes is @index for that ADP.

When we specify the Keys for the update we see a console error "unable to update items because an item with the keys [0] could not be located"

Is this an expected behavior when keyAttributes is @indexfor an ADP ?

If yes what is the suggested approach to update such an ADP (we want to update only one row and also that table can be sorted which means the current.index is not useful )

Attaching a sample app with this issue.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!