Update a Record in the Store

  1. #1

    Update a Record in the Store

    I built confirmation list for returning to client.

    foreach (FileObject file in data.Updated)
    {
               string NewFileID = FileObject.RenameFile(file, path);
    
               confirmationList[file.FileID].ConfirmRecord();
               confirmationList[file.FileID].NewId = NewFileID;
    }
    But new id doesn't apply to updated record in the store on client-side. Is this behavior only for new records?
  2. #2
    Hi,

    Yes, it is for new records only, change id field for existing records is bad practice
  3. #3
    Thanks a lot.
    Mark this thread as CLOSED.
    Last edited by MildLimit; Apr 29, 2011 at 6:10 AM.

Similar Threads

  1. Replies: 1
    Last Post: Dec 22, 2011, 6:17 AM
  2. Replies: 16
    Last Post: May 26, 2011, 10:23 PM
  3. Replies: 0
    Last Post: May 13, 2011, 7:40 AM
  4. Replies: 6
    Last Post: Oct 13, 2010, 10:26 AM
  5. [CLOSED] Adding a new Store Record - Not a Record object
    By Steve in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: May 15, 2009, 7:40 AM

Posting Permissions