I have some entities in my database. One of them is Profile entity. So, if sometimes profile entity must be updated, what i need to advanced sql with function update ? or just make in the API like this ?
Thanks for your answer.
Hi fahmi,
Has Suraj was saying, if you are updating just one Profile in the Profile Entity then use number 2. If you want to update more than one Profile (e.g. change the Password attribute of multiple Profiles) use number 1.
Cheers,
José
You can use the UpdateProfile Entity Action. It accepts as input parameter the whole record that you want to update.
José Costa wrote:
José
thank you Jose Costa, your answer make me sure about this bussiness.
So there are two ways.
1. If you want to do mass updates (update multiple records at a one time), use advance sql and provide inputs
2. If you want to update single record at a time, as suggested by Jose, use UpdateProfile Entity Action and provide record list as input
Suraj Borade wrote:
Thanks Suraj Borade, really helpful :)
fahmi fachrurozi wrote:
The possibility record that could be updated in Profile Entity is Username, Photo, And Password. So i have to use your first answer (No.1) or the seconde one (No.2) ?