[CLOSED] store is not committing?

  1. #1

    [CLOSED] store is not committing?

    i am using these code
    ChangeRecords<InsightsLists> insights = new StoreDataHandler(e.ExtraParams["data"]).BatchObjectData<InsightsLists>();
    
            foreach (InsightsLists created in insights.Created)
            {
                this.AddInsight(created);
    
                ModelProxy record = Store1.GetByInternalId(created.PhantomId);
    
                //remember record instance in variable to avoid searching on each method calling
                record.CreateVariable = true;
    
                record.SetId(created.InsightId);
                record.Commit();
                created.PhantomId = null;
            }
    store is not committing(always showing red corner signal) after successfully executing above code. any help?
    Last edited by Daniil; Nov 20, 2013 at 4:33 AM. Reason: [CLOSED]
  2. #2
    Hi @aditya,

    You are basing on this example, right?
    https://examples2.ext.net/#/GridPanel/Update/Batch/

    Similar code appears to be working in that example. So, it is hard to say what is wrong in your case.

    Do you see "...commit()" in a response of saving DirectEvent?

    Could you, please, provide a full test case?
  3. #3
    thanks Daniil,
    there was error in my markup. my code is running very well. please mark it closed or delete this post.

Similar Threads

  1. [CLOSED] Store: Is it possible to QueryBy a store with another store?
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 03, 2011, 9:38 AM
  2. [CLOSED] Access Grid Data Store and manually store to database
    By macap in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Oct 05, 2011, 8:52 AM
  3. Replies: 1
    Last Post: Nov 01, 2010, 9:00 PM
  4. [CLOSED] Committing several stores
    By pschojer in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 17, 2009, 8:32 AM

Tags for this Thread

Posting Permissions