You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fear I may be misunderstanding usage - but hopefully you can help me understand the proper way to do this....
I am using the find function to locate a Lead record successfully, but when I go to save, a duplicate record is created, because the 'id' field is not present.
In model.js line 16, I can see why. 'id' is a read-only, so it does not become a property of the item. However, the base item retrieved by find does in fact have an id that could be used to save the object again later.
Is there a recommended way to preserve the id in a find->modify->save operation?
The text was updated successfully, but these errors were encountered:
I fear I may be misunderstanding usage - but hopefully you can help me understand the proper way to do this....
I am using the find function to locate a Lead record successfully, but when I go to save, a duplicate record is created, because the 'id' field is not present.
In model.js line 16, I can see why. 'id' is a read-only, so it does not become a property of the item. However, the base item retrieved by find does in fact have an id that could be used to save the object again later.
Is there a recommended way to preserve the id in a find->modify->save operation?
The text was updated successfully, but these errors were encountered: