Skip to Content
Menu
This question has been flagged
1 Reply
3926 Views

Dear all,


I would like to either update an existing record or create a new record if not existing.

Now I am wondering if there is a better way than to a search for a certain ID and if !=0 then run create RPC?


Is there an easy RPC that if I provide an ID it performs and update and if not, it creates a new record?

Thanks in advance!       

Avatar
Discard
Best Answer

Hi, 

AFAIK, there's no function that can be applied to create a record if it does not exist or update it if it exists. 

the only way is to search it first, then  call create or write according to the search result.

Regards.

Avatar
Discard
Related Posts Replies Views Activity
2
May 24
1047
2
May 24
4955
0
Feb 23
1265
8
Feb 21
24288
1
Jan 20
4840