[CLOSED] getRecordsValues now uses Mapping instead of Name

  1. #1

    [CLOSED] getRecordsValues now uses Mapping instead of Name

    Hi. Since upgrading from ExtNet 1.0 revision 3141 to the current version there seems to have been some changes in how getRecordsValues () on the Store works.

    Given we have a recordfield definition like this:
    <ext:RecordField Name="example" Mapping="Example" />
    when calling getRecordsValues() in the older version it used to be serialized using the Name property as:
    {example: "value"}
    However, with the latest version it seems to use the Mapping property, so:
    {Example: "value"}
    Is this intentional? Because if so it would mean a lot of rewriting of our current solution.
    Last edited by Daniil; Mar 07, 2011 at 2:21 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Yes, it was changed intentionaly.
    You can prevent it by adding custom config to the store
    Name="saveMappings" Value="false" Mode="Raw"
    or pass config object to getRecordsValues method
    store.getRecordsValues({mappings:false})
  3. #3
    Ok, thanks for the heads up!

Similar Threads

  1. [CLOSED] Mapping Columns to different DataIndexes
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 25, 2012, 11:29 AM
  2. ListFilter_Remote with Mapping
    By howardyin in forum 2.x Help
    Replies: 0
    Last Post: Apr 28, 2012, 4:03 AM
  3. [CLOSED] Bug in Store Mapping
    By ljcorreia in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 30, 2011, 11:05 AM
  4. Replies: 12
    Last Post: May 20, 2011, 12:35 PM
  5. Replies: 6
    Last Post: Jan 11, 2011, 3:38 PM

Posting Permissions