9
Views
1
Comments
Input widget value insert into database table

How can i insert that input variable value to database...I tried using server action but SA accept the input parameter value as a entity..then how i insert that value to the Entity1s table

Rank: #55

Hi Ilancheliyan,


You need to add the event On Click of the Button to a client action, in my case ButtonOnClick:


To create the record, you can drag the CreateEntity1 action from under the Entity1 entity to your action:


Your action should have a variable of type Entity1 (in my case the variable Entity1), use an assign to populate its attribute with the value of Var1 variable and use the variable Entity1 as the input of the CreateEntity1 action. In the end, your action should look like this:


Regards,
João