Topic by Mark Fowkes3168
Content
I am using the RightNow Connect Desktop Integration (Javascript) to save some data to a custom object inside a browser control in a workspace in the console.
The code works fine when the object already exists and is being updated. I only have the problem when creating new records.
As you would expect, when a new record is being created by the user in the console, it has not yet been assigned an ID. The ID is only assigned after the record has been successfully saved.
I need to associate some other records to the new object, therefore I need to know the record's ID at the moment the form has been saved, i.e. inside the onsave() event.
I would have assumed that the ID would be available from within the "onsave()" event. However, it does not seem to be available there.
How can I get the ID of a new object using the RightNow Connect Desktop Integration (Javascript)?
Thanks a lot!