Hi All,
I have two columns A and B. Column A is text and column B consists of dropdown values shown below:
If there is any change in column B dropdown the corresponding values should be updated in DB on click of button. Can anyone please help me how to achieve this.
Discussion posts and replies are publicly visible
Capture the changes in rule input and trigger a process use write records or write to datastore entity. if you don't want to trigger a process use respective function. I go with process.
Where you struck ??
Hello Rahul009
What is the difficulty you are facing in this?
Hi Rahul,
can you provide more details about the problem you are facing?
you can achieve the updates in multiple ways but before that want to understand the issue, if you can provide better sample data that would be great.
I am using the loop to display data in both the columns, but when I change the dropdown value in any of the row, it changes to previous value. I am not sure how to fix this.
Can you share the code snippet please , we need to look whether there is any index mismatching
Rahul009 said:loop to display data in both the columns
What do you mean by this? Where is the data coming from? As Venky mentioned, please share the code.
to reiterate what others have requested:
Will column A will not be effected by B if any changes done in the B
Hi Rahul009 ,
You can refer to the below code to see how you can update the data in the DB on button click. also refer to the below recipe for detailed explanation.
use-the-write-records-smart-service-function-on-an-interface
use-the-write-to-data-store-entity-smart-service-function-on-an-interface