server action

  

i want to update a single column in database table through server action but it is asking for a source.. can anyone please tell what that source could be?


Hello Jozy,

I recommend you to do the online training (Web or Mobile, depending on what type of application you're doing), as this is teached there.

In any case, if you are referring to the UPDATE entity action (the one bounded to your entity), it requires a FULL record, with the correct ID.

So, you can FETCH the record from database with an aggregate (just an example), change the column value in the Current of the List Output of the aggregate (assuming you're filtering by ID), and provide this Current to the Update action. You can also provide the form record if you're using one.

Cheers

https://www.outsystems.com/learn/courses/15/developing-outsystems-web-applications/