We are working with two physical files:
The issue we are facing:
Updating comments works perfectly when a corresponding row already exists in File 2 for the selected record from File 1.
However, when a record from File 1 does not have a matching entry in File 2, the Edit Grid still allows the user to type in a comment, but when saving, nothing gets inserted into File 2. The save attempt is ignored because there is no existing row to update.
Technically, in such scenarios, when a user enters a comment for a File 1 record that does not yet exist in File 2, the expected behavior would be for Valence/Nitro Apps to automatically insert the new row into File 2 (using the key fields from File 1 along with the entered comment). But this does not happen automatically.
Our question:
Is there any configuration?based or no?code/low?code way in Valence/Nitro App Builder to make the Edit Grid automatically insert a new record into File 2 when the user edits the comment on a row that has no existing match in File 2?
?In Short can edit grid perform Insert a record if missing and update if present?
- File 1 (main file) — contains multiple fields and acts as the primary dataset.
- File 2 (comments file) — contains only the key fields from File 1 plus a COMMENT field. This file is used to store user?entered comments for each record in File 1.
The issue we are facing:
Updating comments works perfectly when a corresponding row already exists in File 2 for the selected record from File 1.
However, when a record from File 1 does not have a matching entry in File 2, the Edit Grid still allows the user to type in a comment, but when saving, nothing gets inserted into File 2. The save attempt is ignored because there is no existing row to update.
Technically, in such scenarios, when a user enters a comment for a File 1 record that does not yet exist in File 2, the expected behavior would be for Valence/Nitro Apps to automatically insert the new row into File 2 (using the key fields from File 1 along with the entered comment). But this does not happen automatically.
Our question:
Is there any configuration?based or no?code/low?code way in Valence/Nitro App Builder to make the Edit Grid automatically insert a new record into File 2 when the user edits the comment on a row that has no existing match in File 2?
?In Short can edit grid perform Insert a record if missing and update if present?

Comment