Hello AppSheet Team,
I am experiencing a persistent issue with a grouped action that is intended to edit an existing row but is instead trying to add a new row, resulting in a "duplicate key" error.
The Goal: I have a "Re-Engage Applicant" grouped action on my People table. When clicked, it should open a special form (Re-Engage Form), allow the user to input data into two helper columns, and upon saving, update the original People record.
The Problem: When I save the Re-Engage Form, I get the error: "There is already a row with the key: '[key value]'". This shows the app is trying to perform an "Add" operation instead of an "Update".
We have already performed the following troubleshooting steps without success:
The problem seems to be that the context of the record being edited is lost when the LINKTOFORM action is part of a grouped sequence. Could you please investigate why an Update is being incorrectly converted to an Add in this specific scenario?
Please let me know what other information you need.
Solved! Go to Solution.
Please try an action of
LINKTOROW( [PersonID] , "Re-Engage Form")
However whether it will work or not will depend on how you have configured the group action. If the suggestion does not work, you will need to please furnish more details of the group action, relevant columns and what you are trying to achieve with that group action.
Please try an action of
LINKTOROW( [PersonID] , "Re-Engage Form")
However whether it will work or not will depend on how you have configured the group action. If the suggestion does not work, you will need to please furnish more details of the group action, relevant columns and what you are trying to achieve with that group action.
I've ended up abandoning and simplifying this part of the app, but thank you for your reply.
User | Count |
---|---|
16 | |
7 | |
6 | |
4 | |
3 |