In order to bring you the best possible user experience, this site uses Javascript. If you are seeing this message, it is likely that the Javascript option in your browser is disabled. For optimal viewing of this site, please ensure that Javascript is enabled for your browser.
Login  |   Cloud ERP  |   Home  |   qad.com



  •     QAD Glossary

  • Creating an Action Descriptor File
    Create an action descriptor file if it is the first time you have exported configuration data from QXtend. Ensure that you create the descriptor file in the required structure as the following.
    For QXI
    <?xml version="1.0" encoding="UTF-8"?>
    <qxc:qxiCfgBundleActionDescriptor xmlns:qxc="urn:schemas-qad-com:qxtend-configuration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <qxc:action name="export"/>
    <qxc:moduleCfg name="QADEE">
    <qxc:apiSchemaCfg qdocName="*" version="*"/>
    </qxc:moduleCfg>
    <qxc:moduleCfg name="QADSE">
    <qxc:apiSchemaCfg qdocName="maintainAnalysisCode" version="eB2_2"/>
    <qxc:apiSchemaCfg qdocName="maintainSalesOrder" version="*"/>
    </qxc:moduleCfg>
    </qxc:qxiCfgBundleActionDescriptor>
    For QXO
    <?xml version="1.0" encoding="UTF-8"?>
    <qxc:qxoCfgBundleActionDescriptor xmlns:qxc="urn:schemas-qad-com:qxtend-configuration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <qxc:action name="export" />
    <qxc:sourceApplicationType name="QADEE">
    <qxc:businessObjectCfg name="*">
    <qxc:profileCfg name="*"/>
    </qxc:businessObjectCfg>
    </qxc:sourceApplicationType>
    <qxc:sourceApplicationType name="QADSE">
    <qxc:businessObjectCfg name="AnalysisCode">
    <qxc:profileCfg name="*"/>
    </qxc:businessObjectCfg>
    <qxc:businessObjectCfg name="SalesOrder">
    <qxc:profileCfg name="SalesOrderBPM"/>
    </qxc:businessObjectCfg>
    </qxc:sourceApplicationType>
    </qxc:qxoCfgBundleActionDescriptor>
    If you are going to use a descriptor file to customize the import of configuration data, generate a descriptor XML file by using a bundle file. Then, you can edit the file to define the rules for importing data.
    To generate a descriptor file for importing APIs:
    1
    Locate the qxicfgbundle.sh file at <TOMCAT_HOME> /webapps/ <QXI webapp> /WEB-INF/scripts.
    2
    Copy the bundle file that you exported and paste it to the import folder at <TOMCAT_HOME> /webapps/ <QXI webapp> /WEB-INF.
    3
    Run the following command:
    ./qxicfgbundle.sh -gen [bundle_file_name] [-opt action_descriptor_file.xml]
     
    The descriptor file with the specified name is generated in the import folder. If you do not specify the descriptor file name, the descriptor file uses the bundle file name but with .xml as the extension.
    To generate a descriptor file for importing BOs and profiles, follow these steps:
    1
    Locate the qxocfgbundle.sh file at <QXOServer_dir>/scripts.
    2
    Copy the bundle file that you exported and paste it to the import folder at <QXOServer_install_dir> /qadapps/ <QXtend_app> /qxoserver.
    3
    Run
    ./qxocfgbundle.sh -gen [bundle_file_name] [-opt action_descriptor_file.xml]
    The descriptor file with the specified name is generated in the import folder. If you do not specify the descriptor file name, the descriptor file uses the bundle file name but with .xml as the extension.