Skip to main content

Hello,

 

I have created a new screen with a new graph, Also I have created an endpoint with this screen.

 

 

The problem persists when i want to save a new record by this API. In fact if the table in the database is empty he create a new record but when i have one record he edit it.

 

 

 

Best regards.

HI @mohamed1walha What is the error you are getting through EndPoint ?

 


Hi @Naveen B . I have no error, the transaction was successfully. the problem is he edit the last record, but my need to add new record.

 

Hi, @mohamed1walha Below is the process when you syncing the entities using endpoints.

When you are passing the details from Endpoint including “Primary Key” then it will go and update the existing record. If the Primary Key value NOT present in your system then it will create a new record. 


Tahnk you, @Naveen B  I have check my Endpoint, it not including a primary key. I have the same problem.

 

 

@mohamed1walha  You should pass the Primary Key value to create a new record, without key-value system will not create/update the record.


thanks @Naveen B i will try with the primary key.


@Naveen B, it works, thank you very much.

 


@mohamed1walha Great 🙂 Thanks for sharing an update.


Reply