How to upload new products to my store in an XML file?

Hi everyone, I'm back. I've been creating a store for a client and we have everything working but someone told me that it's easier to upload products in an XML file if you have a ton of them. So I've been trying to figure it out but the only thing I can find on the internet is that I'm doing it wrong.
Here's what I do:
Under "E-Commerce" on the left, I click on "Products" and then on that page, I click on "Import products". I clicked "Download Import Template" and when I opened it the first thing that I notices was that it's not a .xml file. It's a .xls file (Don't know if that makes a difference). The second thing I noticed was that it confused me more that I was expecting. There are 7 tab on this document and I can't find any explanation for the way they set this document up. Are the 7 tabs just for the ease of Adobe explaining it to the customer/user? or do I need to set up my document this way before I can upload products?
Since I didn't really know what I was doing, I filled it out as best I could and then tried to upload. I clicked on "Choose File" in the "File to import" section and selected "Auto-Detect" for the file type. I click next at the bottom of the page and it gave me this message
"ERROR: [No Name found]. Import process failed on record: [2] Please ensure 1) mandatory columns are present, 2) all products have Product Codes defined, which should be unique (if importing products)"
I've fixed everything I could and tried everything a hundred times but still keep getting that same error message. If anyone can help I'd love you forever, even if you can point me to somewhere on the web that would help.
Many thanks in advance for any help. Cheers.

I recommend that if you are not familiar with the details of the spreadsheet template provided by BC, then do a few products manually through the admin and then EXPORT the product spreadsheet and she how the data needs to entered to match your client's needs. Then use that spreadsheet as the MASTER Product List and import it when all the details have been filled. In the beginning I recommend leaving all the columns intact for ease of importing it back without much ado. This has helped me.

Similar Messages

  • How to add new product in interactive demand planning(IDP)

    Hi gurus,
    How to add new product in interactive demand planning(IDP), can you suggest me, when i click data view in IDP, it will show new product.
    Regards
    babu

    Hi Raj,
    Since the New Product is already in MPOS what you need to do in your Data view is to go to "Selection Window" on the left side of the screen(make sure you dont click on the existing selection ids). Select Product at the top, the planning version will come in the next row and then you again select the Product as charateristic and enter the New product name against the Product(Characteristic) and then save it in case you want it to use for your future references. When you will double cilck on the newly made selection id you will be able to see you product with the keyfigure details in right side.
    Please let me know if it works.
    Thanks,
    Anand.

  • How to Upload campaign product using BAPI_MKTPL_PROD_ASSIGN_CREATE

    Hi All,
    I'm new in CRM. I dont know how to upload the campaign product details using this BAPI_MKTPL_PROD_ASSIGN_CREATE BAPI.
    please help me

    Hi All,
    I'm new in CRM. I dont know how to upload the campaign product details using this BAPI_MKTPL_PROD_ASSIGN_CREATE BAPI.
    please help me

  • How to Upload WIP Production orders in production during Cutover.

    How to Upload the Open Production orders in production system during cutover activities.
    my client is having 1000 open production order(WIP), during cutover activies how to upload this in production.
    Please guide me
    Regards
    Sunil Patil.

    Hi,
    I somewhat agree with what Raj has to say. Something which is already in process how can that be uploaded, how can one compensate for the time which has been consumed in the production activity.
    I hope Rupesh Brahamakar sir would throw light on this issue, as most of us are under the dillema at the time of Cut-Over activity.
    Sir, hoping your valueable inputs.
    Regards,
    Harris

  • How to add new product version in Mopz?

    Hi,
    Can anyone guide me how to add a new product version in maintenance optimizer?
    I am going to get the stack file of Netweaver gateway 7.4, but without the product version, I could not proceed.
    Thanks in advanced.

    Dear Friend,
    1.    Maintain Solution Manager information in the system’s SLD data supplier. In case of ABAP system using tcode RZ70 and incase of Java system using the Visual Administrator/NWA(for NW 7.3 onwards)àSLD data Supplier.
    2.    Once the data supplier jobs gets executed you system will appear under SMSY under Server, Database and (Technical System in case of Java systems).
    The ‘Data Source’ should be LMDB.Note: Please don’t changes to the system in SMSY
    3)Execute transaction code ‘LMDB’ in your solution manager system.Select Technical system(Give Application server ABAP and SID of the Server)
    4)Click on Edit and select Software
    Click ‘Add’ and it will show Product Version screen  and  search for your installed product.
    5)Select your relevant usage types and once done choose ‘Close’ and save the data.
    6)Assignment of Product System :
    Click ‘Assign to Product System’
    Now Product system does not exist, hence we have to create one. Choose ‘Create’ and confirm
    7)After that complete Landscape Verification check..it should be green.
    8)Go to Solman_setup and complete Managed system configuration.
    after that Create Maintainence transaction and generate stack file.
    Before doing all activities make sure that ST-PI and ST-A/PI Patched should be applied in Managed server(NW 7.4) and run rtcctoll.
    Regards
    Maruthi V

  • How create a new production order by C++ code?

    Hi everybady
    I'm trying to create new production orders using a VC++ 6.0,
    but as i can't put a new DocumentNumber "It's Read only",
    i can't add a new orders. show me sample code  plz....
    help me....
    Thanks

    Hello
    Docnum will be avaiable when you issed the Production order.
    The method on each langugage is the same so hereby i am posting a VB.NET Code,and you can convert it.
    The mandartory fields:
    ItemCode - you would like to produce
    Qty - how many you would like to producce
    After you issued the Production order, you must change the Status from planned to Released
    of course, you can add more properties.....
    Dim oPO As SAPbobsCOM.ProductionOrders = oCompany.GetBusinessObject(BoObjectTypes.oProductionOrders)
            oPO.ItemNo = "ITEMCODE"
            oPO.PlannedQuantity = "QTY TO BE CREATED"
            oPO.PostingDate = Today.Date
            oPO.ProductionOrderType = BoProductionOrderTypeEnum.bopotStandard
            If oPO.Add <> 0 Then
                Dim POENTRY As String = oCompany.GetNewObjectKey()
                If oPO.GetByKey(CInt(POENTRY)) Then
                    oPO.ProductionOrderStatus = BoProductionOrderStatusEnum.boposReleased
                    ' Here you have a docnum like OPO.DocNum '
                    If oPO.Update() <> 0 Then
                        sbo_application.MessageBox(oCompany.GetLastErrorDescription)
                        Exit Sub
                    End If
                End If
            End If
    Regards
    János

  • How to set a new value for an element inside an XML file....

    Hi guys...!
    I'm using Java to process an XML file and I want to able to make changes to the document. For instance, let say:
    <firstName> John </firstName>
    and I want to change the content or value of the element "firstName" to "Marc"
    <firstName>Marc</firstName>
    How can I get this done?
    This is the code that I have in my java file...But it doesn't work. Nothing happens. The firstName remains "John".
    Do I need to get the owner document to do this?
    firstPersonElement.getElementsByTagName("firstName").item(0).getFirstChild().setNodeValue("Marc");
    Any suggestions will be appreciated...
    Thanks...
    --- Spirit_Away...

    IMHO, it should work the way you describe. Do you
    actually save the DOM tree to file afterwards?Good point. No, actually.
    How do you save the document in that case ???
    Any suggestions...
    Thanks...
    --- Spirit_Away

  • How to update/change the value of elements in an xml file?

    Hi Everyone,
    Could any one of u tell me how to update the value of elements in an XML file, using java? The reason is i want to use an XML file as a data source (i.e. more or less like a database), without using any RDBMS, for simple applications such as to read a record and update the record. By the way, my XML file will have only one record, such as the current weather information, with fields such as temperature, humdity etc. for 1 city only.
    Thanks in advance.

    Here is a solution how to check a particular value or element name in an xml and update the changes e to an xml.
    Sample.xml
    <URLConstructor>
    <application name="cp_outage">
    <resource>hello</resource>
    <value>val</value>
    </application>
    <application name="cp_outage">
    <resource>hello</resource>
    <value>val</value>
    </application>
    </URLConstructor>
    XMLWriter.java
    package com;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.JDOMException;
    import org.jdom.input.DOMBuilder;
    import org.jdom.output.XMLOutputter;
    // used for printing
    import org.apache.xml.serialize.XMLSerializer;
    import org.jdom.output.XMLOutputter;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.List;
    class XMLWriter{
    public void update(File fileName)
    try {
              DOMBuilder domBuilder=new DOMBuilder();
              Document doc=domBuilder.build(fileName);
              Element element=doc.getRootElement();
              getChildren(element);
              writeToXML(doc,fileName);
              getChildren(element);
    } catch (Exception e) {
    e.printStackTrace();
         * @param doc
         private void writeToXML(Document document,File filePath)
                   XMLOutputter xmloutputter = new XMLOutputter();
                        try
                             FileOutputStream fileOutputStream = new FileOutputStream(filePath);
                             xmloutputter.output(document, fileOutputStream);
                             fileOutputStream.close();
                        catch (FileNotFoundException e)
                             e.printStackTrace();
                        catch (IOException e)
                             e.printStackTrace();
         public void getChildren(Element element)
                        if(!element.hasChildren())
                             return;
                        List childrenList = element.getChildren();
                        Iterator itr=childrenList.iterator();
                        while(itr.hasNext())
                             Element childElement=(Element) itr.next();
                             if(childElement.hasChildren())
                                       getChildren(childElement);
    //                                   System.out.println("Name "+childElement.getName());
    //                                   System.out.println("Value "+childElement.getText());
                                       if(childElement.getText().equals("hello") || (childElement.getName().equals("resource")))
                                            updateInfo(childElement,"New_Resource","AddedText");
         * @param childElement
         * @param string
         * @param string2
         private void updateInfo(Element element, String elementName, String value)
              element.setName(elementName);
              element.setText(value);          
    static public void main(String[] args)
    XMLWriter xmlWriter=new XMLWriter();
    xmlWriter.update(new File("c:/sample.xml"));
    After execution the file will be changed to
    <URLConstructor>
    <application name="cp_outage">
    <New_Resource>AddedText</New_Resource>
    <value>val</value>
    </application>
    <application name="cp_outage">
    <New_Resource>AddedText</New_Resource>
    <value>val</value>
    </application>
    </URLConstructor>
    Regards,
    Maheswar

  • How does example field get populated in the results (pmd.xml) file ?

    How does the <example> element in the rulepack file, get populated in the pmd.xml file ?

    Hi,
    The example field does not get populated and won't be for two reasons:
    - The Xpmd products don't do it and we want to keep the same XML schema than the others so that FlexPMD reports remain compatible with third party tools (like the PMD Hudson plugin, and XSL script)
    - That would have a high impact on the report size. Imagine that you have 2000+ violations in your report...
    That being said, it will be possible to retrieve the example section from the Flash Builder plugin in the outline view.
    Best regards,
    Xavier

  • How can I get the context-parm from a web.xml file using struts?

    Hello:
    I need get the context-param from the web.xml file of my web project using struts. I want configurate the jdbc datasource connection pooling here. For example:
    <context-param>
    <param-name>datasource</param-name>
    <param-value>jdbc/formacion</param-value>
    <description>Jdbc datasource</description>
    </context-param>
    and then from any Action class get this parameter.
    Similar using a simple server can be:
    /** Initiates new XServlet */
    public void init(ServletConfig config) throws ServletException {
              for (Enumeration e = config.getInitParameterNames(); e.hasMoreElements();) {
                   System.out.println(e.nextElement());
              super.init(config);
              String str = config.getInitParameter("datasource");
              System.out.println(str);
         public void doPost(HttpServletRequest req, HttpServletResponse res)
              throws ServletException, IOException {
              // res.setContentType( );
              System.out.println("Got post request in XServlet");
              PrintWriter out = res.getWriter();
              out.println("nada");
              out.flush();
              out.close();
    but only this works for init-params, if I use
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <display-name>MyServlet</display-name>
         <servlet-class>myExamples.servlet.MyServlet</servlet-class>
         <init-param>
         <param-name>datasource</param-name>
         <param-value>jdbc/formacion</param-value>
    </init-param>
    </servlet>
    inside my web.xml. I need something similar, but using struts inside the action class for that I can get the context-params and call my database.
    Thank you

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How can I autorun a script that will process an XML file on open?

    I am using Frame 11. I have a registered script that looks for event notification Constants.FA_Note_PostOpenXML. When this event fires, the script is supposed to examine the root element (so I only edit appropriate XML files), then make some edits to the file. Specifically, I want to be able to delete empty pages, remove room for side heads, and fix table formatting (such as left indent, which I can't directly access, apparently, in the EDD or R/W rules). The snippet of code that starts doing the work follows:
    Notification(Constants.FA_Note_PostOpenXML,true);
    function Notify(note, object, sparam, iparam) {
        switch (note) {
            case Constants.FA_Note_PostOpenXML:
                doTheWork();
                break;
    function doTheWork() {
        var doc, flow, root, elemName, mPageAttrib, topicElem, topicElemName, allAttribs;
        doc = app.ActiveDoc;
        flow = doc.MainFlowInDoc;
        root = flow.HighestLevelElement; // will always get something even if unstructured document
        while(root.ObjectValid()) { //only do something for structured docs
            elemName = getElementName(root);
            ...more code to do stuff....
    I then check the root element name, and if it matches, I make some changes. This code works fine when run manually. But, when run as a registered script, the app.ActiveDoc object is invalid, and there is no structure to edit. (I added debug line if(!doc.ObjectValid()){alert("not valid");}, which is not included above.) It appears that the Constants.FA_Note_PostOpenXML event fires as soon as the XML file is opened, but BEFORE Frame actually reads it.
    Does anyone have any recommendations on how to work around this? Is there another event I could use instead of Constants.FA_Note_PostOpenXML? Is there any other way to automatically manipulate an XML file when it loads?
    Thanks in advance

    The Notify event receives four parameters: note, object, sparam, and iparam. For the event you are using, object should be the document object of the FrameMaker document being opened. So, you should be able to use this:
    doTheWork(object);
    Make sure you update your doTheWork function to receive the Doc object:
    function doTheWork(doc) {
        var flow, root, elemName, mPageAttrib, topicElem, topicElemName, allAttribs;
        flow = doc.MainFlowInDoc;
        root = flow.HighestLevelElement; // will always get something even if unstructured document
        while(root.ObjectValid()) { //only do something for structured docs
            elemName = getElementName(root);
            ...more code to do stuff....
    -Rick

  • How to get the column name and table name from xml file

    I have one XML file, I generated xsd file from that xml file but the problem is i dont know table name and column name. So my question is how can I retrieve the data from that xml file?

    Here's an example using binary XML storage (instead of Object-Relational storage as described in the article).
    begin
      dbms_xmlschema.registerSchema(
        schemaURL       => 'my_schema.xsd'
      , schemaDoc       => xmltype(bfilename('TEST_DIR','my_schema.xsd'), nls_charset_id('AL32UTF8'))
      , local           => true
      , genTypes        => false
      , genTables       => true
      , enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS
      , options         => dbms_xmlschema.REGISTER_BINARYXML
    end;
    genTables => true : means that a default schema-based XMLType table will be created during registration.
    enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS : indicates that a repository resource conforming to the schema will be automatically stored in the default table.
    If the schema is not annotated, the name of the default table is system-generated but derived from the root element name :
    SQL> select table_name
      2  from user_xml_tables
      3  where xmlschema = 'my_schema.xsd'
      4  and element_name = 'employee';
    TABLE_NAME
    employee1121_TAB
    (warning : the name is case-sensitive)
    To annotate the schema and control the naming, modify the content to :
    <?xml version="1.0" encoding="UTF-8" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
      <xs:element name="employee" xdb:defaultTable="EMPLOYEE_XML">
        <xs:complexType>
    Next step : create a resource, or just directly insert an XML document into the table.
    Example of creating a resource :
    declare
      res  boolean;
      doc  xmltype := xmltype(
    '<employee>
      <details>
        <emp_id>1</emp_id>
        <emp_name>SMITH</emp_name>
        <emp_age>40</emp_age>
        <emp_dept>10</emp_dept>
      </details>
    </employee>'
    begin
      res := dbms_xdb.CreateResource(
               abspath   => '/public/test.xml'
             , data      => doc
             , schemaurl => 'my_schema.xsd'
             , elem      => 'employee'
    end;
    The resource has to be schema-based so that the default storage mechanism is triggered.
    It could also be achieved if the document possesses an xsi:noNamespaceSchemaLocation attribute :
    SQL> declare
      2 
      3    res  boolean;
      4    doc  xmltype := xmltype(
      5  '<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      6             xsi:noNamespaceSchemaLocation="my_schema.xsd">
      7    <details>
      8      <emp_id>1</emp_id>
      9      <emp_name>SMITH</emp_name>
    10      <emp_age>40</emp_age>
    11      <emp_dept>10</emp_dept>
    12    </details>
    13   </employee>'
    14   );
    15 
    16  begin
    17    res := dbms_xdb.CreateResource(
    18             abspath   => '/public/test.xml'
    19           , data      => doc
    20           );
    21  end;
    22  /
    PL/SQL procedure successfully completed
    SQL> set long 5000
    SQL> select * from "employee1121_TAB";
    SYS_NC_ROWINFO$
    <employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceS
      <details>
        <emp_id>1</emp_id>
        <emp_name>SMITH</emp_name>
        <emp_age>40</emp_age>
        <emp_dept>10</emp_dept>
      </details>
    </employee>
    Then use XMLTABLE to shred the XML into relational format :
    SQL> select x.*
      2  from "employee1121_TAB" t
      3     , xmltable('/employee/details'
      4         passing t.object_value
      5         columns emp_id   integer      path 'emp_id'
      6               , emp_name varchar2(30) path 'emp_name'
      7       ) x
      8  ;
                                     EMP_ID EMP_NAME
                                          1 SMITH

  • How to define the style for JTextArea using synth style xml file.

    Hi all,
    How can we align the text inside the JTextArea using synth style xml file.
    We defined a style for the TextArea. But the text is displayed immediately after the border. So we want to provide some space between the border and the text.We specified the insets as given below. But it is not reflecting during runtime.
    <insets top="3" left="3" bottom="3" right="3"/>
    Please help me if any one knows

    Hi Anju,
    This may help you.
    http://www.xenta.nl/blog/2009/10/28/oracle-soa-suite-11g-setting-and-getting-preferences/
    Preferrence Variable can be updated either thorugh EM console or ConfigPlan
    Regards,
    Richa

  • How to test or view data if the source is XML files..?

    Hi,
    I just got a doubt..
    How can we test or view data from BI Admintool if the source is XML files.
    If it is database we can perform "Update Row Count" or "view data" from physical layer.
    I am just going through the "sample sales" example and could not find the option to test
    connectivity with xml file..(I can see the directory which points to samplesales and xml files..
    but how can I view those data in BI admintool)..
    Help would be appreciable..
    Thanks and Regards,
    Sri.

    Hi Sri,
    Yes, this option is not available for XML and multidimensional sources. Check "Show row count in physical view" in Table 2-1 documented here ,
    http://docs.oracle.com/cd/E21764_01/bi.1111/e10540/planning.htm#BABEFIHE
    Rgds,
    Dpka

  • How do I import my Final Cut Pro 10 (FCPX) XML files into Logic 9?

    I am using 10.0.5. Which is the latest version Of Final Cut Pro X. I export my project out as a XML in FCPX. Then went into Logic 9 clicked on import then selected XML how ever the XML file was grey and Logic wouldn't  come up as a valid XML to import. Please help me! Thanks

    AFAIK Logic 9 can't import the form of XML that FCP X outputs.
    There may be other ways to bridge the gap, but since I don't  use Logic 9 I can't help further.

Maybe you are looking for

  • Latest version that will work with Mac mini Core SOLO under Snow Leopard?

    Latest Flash Player 11 versions will work with Snow Leopard, but they say they require a Core Duo or newer processor.  What is the last stable version of FP that will work on my mom's Mac mini 1.5Ghz Intel Core Solo (running OS X 10.6.8)? Have search

  • How to send other parateters with the ajax call for rich:suggestion ...

    Hi For the component <rich:suggestion ...> How I can send parameters (besides what user fills in a field ) for the method public List fetchAjaxList(Object event) wich is called when the user changes the content of the input field. Put it in another w

  • PCo 2.3 Authorization Error while connecting to MII 14.0

    Hi All, We are trying to connect MII 14.0(installed on HP-UX[Unix] system) with PCo 2.3 (installed on Windows 2003 R2 SP2 system). Both MII & PCo servers are on same network. When we are trying to configure the PCo details in MII Data Servers using t

  • 10.4.11 XServe and IP POrts locked

    Ciao to all. Let me share this strange thing. On my XServe I have4 eth interfaces; one dedicated to internet ( only for mail and www) and the orthers for internal use. Also I have few services activated: AFP, print service, dns (secondary),windows se

  • Screen failure on Creative Zen Mosaic

    My screen quit working on my Mosaic. ?It lights up, but it has odd patterns and lines in it. ?I didn't drop it or anything, and I have no idea what to do. ?I have tried resetting and powering it off and on. ?I even tried to run down the battery and n