Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Customer Xml Export

  1. #1
    dostind is offline Junior Member
    Join Date
    Oct 2007
    Posts
    21

    Default Customer Xml Export

    When I am click on export to xml for customer I am getting following fields only
    First Name, Last name,Email,Created On.
    How to get more?

    Please help.
    Thanks.

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    You would have to modify the admin/cst_export.aspx.cs(.aspx.vb) file to write additional elements out. The datareader already has all information from the customer table available, so you would just have to add a new line for each element that you wanted returned. For example, if you wanted to pull the customer level ID you could use
    Code:
    writer.WriteElementString("CustomerLevelID", DB.RSFieldInt(rs, "CustomerLevelID"));
    Alternatively, you could use WSI to retrieve the customer information, and if you wanted use an xmlpackage to format the data so that only the nodes you wanted were present. To pull customers using WSI you would use
    Code:
    <AspDotNetStorefrontImport>
      <GetCustomer GetAll="true"/>
    </AspDotNetStorefrontImport>
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    jsimacek is offline Senior Member
    Join Date
    Dec 2008
    Location
    Phoenix, AZ
    Posts
    373

    Default

    Dostind you can contact Jan at jsimacek@compunix.us if you would like help with any modifications.
    Jan Simacek - Compunix, LLC
    AspDotNetStorefront trusted Devnet Partner and Reseller since 2005

    AspDotNetStorefront Mods and Add-Ons at http://www.ecommercecartmods.com/
    - Searching, Filtering and Sorting (like cSearch, Dealer Locator, Price Ranges, Blog)
    - Reports (like Cart Abandonment and Net Sales)
    - Customer Experience (like Question/Answers)
    - Site and Data Management (like Entity Product Mapper, Bulk Updaters, Make/Model/Year filters)