Catalog pricing challenge (idml, xml, javascript solution?)

Greetings,
I have a very large challenge that i desperately need help with.
I am working on a 1000+ page catalog with over 30,000 products in it. The pages come to our studio from a master database much like the example image I have inserted below ---> and inline list of product names, images, Specs and Tables. We then apply formatting and arrange the items into a paginated layout. Basic InDesign stuff.
The problem comes at the end (After pagination of 1000+ pages). These files do not come in with final pricing and we then need to update it to reflect the current pricing for the items. We have been using a plugin that interfaces with our database to flow in pricing and it has worked O.K.(we have had many bugs along the way). We recently updated our database software and the ID plugin that goes with it and have lost the functionality to update pricing (UGGGGHHHH, they are "working on it") which renders this very expensive product useless.      : (    sad face
We have researched a large number of 3rd party solutions (plugins, software, etc.) to change/enhance our workflow but unfortunately all of them have trouble interfacing with our database software and cannot be implemented without a very large, pricey and time consuming conversion. (trust me, I have done over 15 demos of all the major plugins and services, small to large)
My solution/workaround for this problem of updated pricing for 30,000+ products perhaps could be a simple solution that goes like this:
1. Receive ID CS6 files.
2. Complete pagination of IDCS6 files.
3. Export .idml for paginated files.
4. Export a mirrored IDCS6 file from the database with all the same data, images, tables, etc. with updated pricing.
5. Export .idml from mirrored file.
6. Convert both .idml files to .zip files and replace the .xml containing the Story Data (Located at Catalog_Paginated.zip\XML\Stories) with the exported Story data from the mirrored files .zip package
(Located again at Catalog_Mirrored.zip\XML\Stories).
7. Convert paginated files .zip back to .idml and open in IDCS6 which should now have the new Story data and in turn updated pricing.
I have tried this and in short I get a file that is hung up and will not open. Keep in mind that i do not do all 30,000 products in one ID file. They are exported in chunks of 20 to 30 products. This works perfectly on a small scale document such as in my attached example pic, but has trouble with a large file with more complex product data and tables.
This is where i need help. Am I barking up the wrong tree? Am I simply replacing the wrong .xml data in the .idml/.zip file? Is there a JavaScript solution to update/replace the .xml data?
I feel strongly that the robust data offered in the .idml format (perhaps in conjunction with a scripting solution) can offer an ideal solution in this problem as oppose to pursuing a costly and time consuming transfer to a new plugin/software solution.
I have some help from a very talented (and very busy) team of developers working on a JavaScript solution but I am pursuing this .idml solution myself and REALLLLLLY NEED HELP as we are falling behind in production as we speak.
In short, this should be simple. What am i doing wrong?

lazycarpenter
I oversee the catalog production for a major autoparts distributor here in the midwestern United States. Our catalog is 886 pages including an index. If you are looking for price updating for InDesign go look at this product called AutoPrice:
http://www.meadowsps.com/site/details/autoprice_detail.htm
What you might find unique with this product is the batch processing feature and reporting..In certain cases the reports this software generates has proven invaluable for for my team. If you say your catalog is 1000 pages you could easily update this in or around an hours time (via the batch processing feature). We've used AutoPrice since the dark days when Quark dominated the industry..probably around 15 years. This is also available for CS6 as you mention above. If you do look at this program it would be interesting to know how it turned out for your dilema. Good Luck!
Doug Fehr

Similar Messages

  • SSRS vs Javascript Solution

    My boss wants to show to our stake holders that SSRS is a better solution for BI reports than a javascript based charting solution (Kendo UI). He has asked to provide him with information to help him prove his case, however, I have very little experience
    with SSRS. If you had to make a business case for SSRS what would you say?
    Any help would be greatly appreciated.
    Luis
    Luis R. Lebron

    Hi Luis,
    According to your description, you want to know the supported features and advantages in Reporting Services, right?
    In Reporting Services, report server supports two modes, native mode and SharePoint mode. We can display the data comes from the multiple data sources with different data regions, such as tables, matrices, chart, map and so on. Then deploy the report to
    report within those two modes. For more information, please refer to steps below:
    Reporting Services Features and Tasks (SSRS).
    One of the principal advantages of using Reporting Services is the ability to manage reports and related items such as folders, data source connections, and resources, from a central location. We can define security, set properties, and schedule operations.
    We can also create shared schedules and shared data sources and make them available for general use. For more information, please refer to this article:
    Advantages Of Reporting Services (SSRS).
    Besides, there is a Power View feature which is a browser-based Silverlight application launched from SharePoint Server 2010 that enables users to present and share insights with others in their organization through interactive presentations. For more information,
    please refer to this article:
    Power View (SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • New Field Addition in  Allowed Field Catalogs -Pricing.

    *Hi,
    We have requirement of having Material Description field in the Allowed Field Catalogs in SPRO --> SD --> Basic Functions --> Pricing --> Pricing Controls --> Define Condition tables --> Allowed Field Catalogs in order to fetch the same for Pricing Condition Table creation with Mtrl Description as Key Combination.
    Hence, as a first step, have added the MAKTX field inside the "ZStructure" (which was created before) inside Main Structure KOMP and activated the same. Then i have added the same field MAKTX in Allowed Field Catologs of Pricing using New Entries.
    Now i have tried to create a new Pricing Condition Table with field catalog of Material Description (the added field), but there is no such field is available for selection.
    Is there anything i missed to do, so that the newly added field is available during New Condition Table Creation with key combination of the added field.
    Appreciate your promot response.*
    Rgds,

    Hi,
    Thanks for your response.
    Have added the required field in Structure KOMG now and it is available for selection in Condition Table Field Catalogs. However, am allowed to select this field only when creating a New Condition Table and if i want to add this field in the already created condition table in change mode, it thows an error message - "Function Code cannot be selected".
    How to proceed further.
    Rgds,

  • Catalog pricing in ERP ECO 5.0

    Hello gurus
    We are currently using ERP ECO 5.0 connected to ECC 6 and we also have TREX involved for indexing purposes. ECC product catalog has list price enabled via SD pricing procedure and since we dont have any values for sub total 2, we see promotional price as zero in ECC.
    Our intent is that in B2B site, when the product catalog is browsed, only list prices be shown. In the shopadmin, we have made a setting for list prices + IPC.
    But the issue is that in the b2b catalog we are seeing not the list price but a calculated price under promotional price. So the price column shows zero and promotional price shows a price other than list price, although we dont have any promotional price in ECC catalog. This is incorrect for us as not all custom abap routines are converted to java yet and even if we had java routines firing, we still want to see list prices in catalog. Since there are tons of ECC product catalogs and we dont wish to replicate the catalog with read prices flag checked in trex replication, is there another way to reflect the real time list price in b2b catalog?
    Also would like to know the best practices aroung pricing. Is it a requirement that any time pricing master data is changed (list prices increased or decreased) via VK11/12, that we must replicate the changes to TREX? I could not get a clarification from Pricing in ECO pdf. It says when using list prices, prices are not redermines in every user session. Does it mean that if we log out and then log back in, changes in pricing data will be visible? or does it mean we must replicate pricing data via trex.
    Please provide your thoughts/inputs.
    Regards
    Jai

    Also would like to know the best practices aroung pricing. Is it a requirement that any time pricing master data is changed (list prices increased or decreased) via VK11/12, that we must replicate the changes to TREX?
    Yes
    I could not get a clarification from Pricing in ECO pdf.
    You are not alone
    It says when using list prices, prices are not redermines in every user session. Does it mean that if we log out and then log back in, changes in pricing data will be visible? or does it mean we must replicate pricing data via trex.
    It means both. Best practice assumes that the list prices don't change frequently. The catalog search results using the index server - TREX - (and hence the characteristics and list price etc) are cached for performance purpose. The cache has its own recycling time - but recycles when catalog is published new.
    So if you time your catalog publishing without disrupting the online customers, this should be manageable.

  • If (XML){ javascript.generateErrors()} *grrr*

    Hi,
    I've written an XSL-File who reads out an XML. The XSL file should also use an JavaScript to check user input. But it wouldnt work. It always says ")" is missing in Line....! I4ve made an tTest output of the JavaScript as text in browser and used it to make a html file without XSL. Now it works. the error is at the WHILE-loop. If i remove the loop the error comes at the IF. All is working perfect if i remove IF and WHILE.
    Can anybody help?
    much Thanks :)
    F.Falk
    there is my XSL file:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
    <xsl:template match="/">
    <HTML>
    <head>
    <script language="JavaScript"> <![CDATA[
    function onTest()
    var namen;
    var varValue;
    var helpStr;
    var ErrE="]]><xsl:value-of select="Vars/Errors/ErrE"/><![CDATA[";
    var ErrA="]]><xsl:value-of select="Vars/Errors/ErrA"/><![CDATA[";
    var ErrMinI="]]><xsl:value-of select="Vars/Errors/ErrMinI"/><![CDATA[";
    var ErrMaxI="]]><xsl:value-of select="Vars/Errors/ErrMaxI"/><![CDATA[";
    var ErrStr="]]><xsl:value-of select="Vars/Errors/ErrStr"/><![CDATA[";
    var a=0;
    while (a < 1){
    ]]>
    <xsl:for-each select="Vars/Var">
    <xsl:if match=".[xtype='Integer']">
    <![CDATA[
    minVal=]]><xsl:value-of select="xMinval"/><![CDATA[;
    maxVal=]]><xsl:value-of select="xMaxval"/><![CDATA[;
    varValue=document.XSL.]]><xsl:value-of select="xName"/><![CDATA[.value;
    if (!((varValue <= maxVal) && (varValue >= minVal)))
    alert(ErrA+"
    ]]>
    <xsl:value-of select="xHelpStr"/>
    <![CDATA[\n"+ErrE +" ]]>
    <![CDATA[\n"+ ErrMinI +"]]>
    <xsl:value-of select="xMinval"/>
    <![CDATA["+ ErrMaxI +"]]>
    <xsl:value-of select="xMaxval"/>
    <![CDATA[");
    document.XSL.]]><xsl:value-of select="xName"/><![CDATA[.focus();
    break;
    ]]>
    </xsl:if>
    </xsl:for-each>
    <![CDATA[
    a=1;
    }]]>
    </script>
    </head>
    <Body>
    <form name="XSL">
    <basefont size="1" face="Arial">
    <xsl:for-each select="Vars/Var">
    <xsl:if match=".[xtype='Integer']">
    <p>Mindestwert: <xsl:value-of select="xMinval"/></p>
    <p>Maximalwert: <xsl:value-of select="xMaxval"/></p>
    <b><p><xsl:value-of select="xHelpStr"/></p>Current Value:</b>
    <input>
    <xsl:attribute name="value"><xsl:value-of select ="xValue"/></xsl:attribute>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    </input>
    <p><xsl:value-of select ="xName"/></p>
    <p>-------------------<br></br></p>
    </xsl:if>
    <xsl:if match=".[xtype='String']">
    <b><p><xsl:value-of select="xHelpStr"/></p></b>
    <p>Maximale Laenge: <xsl:value-of select="xMaxLength"/></p>
    <b>Current Value:</b>
    <input>
    <xsl:attribute name="value"><xsl:value-of select ="xValue"/></xsl:attribute>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    </input>
    <p><xsl:value-of select ="xName"/></p>
    <p>-------------------<br></br></p>
    </xsl:if>
    <xsl:if match=".[xtype='Boolean']">
    <b><p><xsl:value-of select="xHelpStr"/></p></b>
    <b>Current Value:</b>
    <xsl:if match=".[xValue='1']">
    <input type="checkbox">
    <xsl:attribute name="value"><xsl:value-of select ="xValue"/></xsl:attribute>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    <xsl:attribute name="checked"></xsl:attribute>
    </input>
    </xsl:if>
    <xsl:if match=".[xValue='0']">
    <input type="checkbox">
    <xsl:attribute name="value"><xsl :value-of select ="xValue"/></xsl:attribute>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    </input>
    </xsl:if>
    <p>-------------------<br></br></p>
    </xsl:if>
    <xsl:if match=".[xtype='Enumerator']">
    <select>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    <xsl:for-each select="xEnum_Str">
    <option>
    <xsl:attribute name="value"><xsl:value-of select ="xStr"/></xsl:attribute>
    <xsl:value-of select ="xStr"/>
    </option>
    </xsl:for-each>
    </select>
    <p>-------------------<br></br></p>
    </xsl:if>
    </xsl:for-each>
    <input type="Button" value="Save" onClick="onTest()"></input>
    </basefont>
    </form>
    </Body>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    and there is my XML:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet href="test.xsl" type="text/xsl" ?>
    <Vars>
    <Errors>
    <ErrA>Fehler in Feld:</ErrA>
    <ErrE>Der eingegebene Wert liegt nicht im Gueltigkeitsbereich:</ErrE>
    <ErrMinI>Mindestwert: </ErrMinI>
    <ErrMaxI>Maximalwert: </ErrMaxI>
    <ErrStr>Maximale Laenge: </ErrStr>
    </Errors>
    <Var Id="1">
    <xName>int_9</xName>
    <xValue>95</xValue>
    <xtype>Integer</xtype>
    <xMinval>0</xMinval>
    <xMaxval>100</xMaxval>
    <xHelpStr>Eine Leberwurst mit Integertr|ffeln</xHelpStr>
    </Var>
    <Var Id="2">
    <xName>int_10</xName>
    <xValue>95</xValue>
    <xtype>Integer</xtype>
    <xMinval>0</xMinval>
    <xMaxval>100</xMaxval>
    <xHelpStr>Ein Integer mit einem Integer als Inhalt</xHelpStr>
    </Var>
    <Var Id="3">
    <xName>Str_1</xName>
    <xValue></xValue>
    <xtype>String</xtype>
    <xMaxLength></xMaxLength>
    <xHelpStr>Ein String zur Ausrichtung des Froschgesangs</xHelpStr>
    </Var>
    <Var Id="4">
    <xName>bHuberli</xName>
    <xWert>1</xWert>
    <xtype>Boolean</xtype>
    <xHelpStr>Ein Boolean: Wurde JFK erschossen oder hat er nur urlaub? Die Frage erlaubt keine Wahr/Falsch? </xHelpStr>
    <xValue>1</xValue>
    </Var>
    <Var Id="5">
    <xName>enList</xName>
    <xValue>huhu</xValue>
    <xtype>Enumerator</xtype>
    <xEnum_Str Id="1"><xStr>Hallo</xStr></xEnum_Str>
    <xEnum_Str Id="2"><xStr>Die</xStr></xEnum_Str>
    <xEnum_Str Id="3"><xStr>Herren</xStr></xEnum_Str>
    <xEnum_Str Id="4"><xStr>Eierkvpfe</xStr></xEnum_Str>
    </Var>
    </Vars>

    Hi,
    I've written an XSL-File who reads out an XML. The XSL file should also use an JavaScript to check user input. But it wouldnt work. It always says ")" is missing in Line....! I4ve made an tTest output of the JavaScript as text in browser and used it to make a html file without XSL. Now it works. the error is at the WHILE-loop. If i remove the loop the error comes at the IF. All is working perfect if i remove IF and WHILE.
    Can anybody help?
    much Thanks :)
    F.Falk
    there is my XSL file:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
    <xsl:template match="/">
    <HTML>
    <head>
    <script language="JavaScript"> <![CDATA[
    function onTest()
    var namen;
    var varValue;
    var helpStr;
    var ErrE="]]><xsl:value-of select="Vars/Errors/ErrE"/><![CDATA[";
    var ErrA="]]><xsl:value-of select="Vars/Errors/ErrA"/><![CDATA[";
    var ErrMinI="]]><xsl:value-of select="Vars/Errors/ErrMinI"/><![CDATA[";
    var ErrMaxI="]]><xsl:value-of select="Vars/Errors/ErrMaxI"/><![CDATA[";
    var ErrStr="]]><xsl:value-of select="Vars/Errors/ErrStr"/><![CDATA[";
    var a=0;
    while (a < 1){
    ]]>
    <xsl:for-each select="Vars/Var">
    <xsl:if match=".[xtype='Integer']">
    <![CDATA[
    minVal=]]><xsl:value-of select="xMinval"/><![CDATA[;
    maxVal=]]><xsl:value-of select="xMaxval"/><![CDATA[;
    varValue=document.XSL.]]><xsl:value-of select="xName"/><![CDATA[.value;
    if (!((varValue <= maxVal) && (varValue >= minVal)))
    alert(ErrA+"
    ]]>
    <xsl:value-of select="xHelpStr"/>
    <![CDATA[\n"+ErrE +" ]]>
    <![CDATA[\n"+ ErrMinI +"]]>
    <xsl:value-of select="xMinval"/>
    <![CDATA["+ ErrMaxI +"]]>
    <xsl:value-of select="xMaxval"/>
    <![CDATA[");
    document.XSL.]]><xsl:value-of select="xName"/><![CDATA[.focus();
    break;
    ]]>
    </xsl:if>
    </xsl:for-each>
    <![CDATA[
    a=1;
    }]]>
    </script>
    </head>
    <Body>
    <form name="XSL">
    <basefont size="1" face="Arial">
    <xsl:for-each select="Vars/Var">
    <xsl:if match=".[xtype='Integer']">
    <p>Mindestwert: <xsl:value-of select="xMinval"/></p>
    <p>Maximalwert: <xsl:value-of select="xMaxval"/></p>
    <b><p><xsl:value-of select="xHelpStr"/></p>Current Value:</b>
    <input>
    <xsl:attribute name="value"><xsl:value-of select ="xValue"/></xsl:attribute>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    </input>
    <p><xsl:value-of select ="xName"/></p>
    <p>-------------------<br></br></p>
    </xsl:if>
    <xsl:if match=".[xtype='String']">
    <b><p><xsl:value-of select="xHelpStr"/></p></b>
    <p>Maximale Laenge: <xsl:value-of select="xMaxLength"/></p>
    <b>Current Value:</b>
    <input>
    <xsl:attribute name="value"><xsl:value-of select ="xValue"/></xsl:attribute>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    </input>
    <p><xsl:value-of select ="xName"/></p>
    <p>-------------------<br></br></p>
    </xsl:if>
    <xsl:if match=".[xtype='Boolean']">
    <b><p><xsl:value-of select="xHelpStr"/></p></b>
    <b>Current Value:</b>
    <xsl:if match=".[xValue='1']">
    <input type="checkbox">
    <xsl:attribute name="value"><xsl:value-of select ="xValue"/></xsl:attribute>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    <xsl:attribute name="checked"></xsl:attribute>
    </input>
    </xsl:if>
    <xsl:if match=".[xValue='0']">
    <input type="checkbox">
    <xsl:attribute name="value"><xsl :value-of select ="xValue"/></xsl:attribute>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    </input>
    </xsl:if>
    <p>-------------------<br></br></p>
    </xsl:if>
    <xsl:if match=".[xtype='Enumerator']">
    <select>
    <xsl:attribute name="name"><xsl:value-of select ="xName"/></xsl:attribute>
    <xsl:for-each select="xEnum_Str">
    <option>
    <xsl:attribute name="value"><xsl:value-of select ="xStr"/></xsl:attribute>
    <xsl:value-of select ="xStr"/>
    </option>
    </xsl:for-each>
    </select>
    <p>-------------------<br></br></p>
    </xsl:if>
    </xsl:for-each>
    <input type="Button" value="Save" onClick="onTest()"></input>
    </basefont>
    </form>
    </Body>
    </HTML>
    </xsl:template>
    </xsl:stylesheet>
    and there is my XML:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet href="test.xsl" type="text/xsl" ?>
    <Vars>
    <Errors>
    <ErrA>Fehler in Feld:</ErrA>
    <ErrE>Der eingegebene Wert liegt nicht im Gueltigkeitsbereich:</ErrE>
    <ErrMinI>Mindestwert: </ErrMinI>
    <ErrMaxI>Maximalwert: </ErrMaxI>
    <ErrStr>Maximale Laenge: </ErrStr>
    </Errors>
    <Var Id="1">
    <xName>int_9</xName>
    <xValue>95</xValue>
    <xtype>Integer</xtype>
    <xMinval>0</xMinval>
    <xMaxval>100</xMaxval>
    <xHelpStr>Eine Leberwurst mit Integertr|ffeln</xHelpStr>
    </Var>
    <Var Id="2">
    <xName>int_10</xName>
    <xValue>95</xValue>
    <xtype>Integer</xtype>
    <xMinval>0</xMinval>
    <xMaxval>100</xMaxval>
    <xHelpStr>Ein Integer mit einem Integer als Inhalt</xHelpStr>
    </Var>
    <Var Id="3">
    <xName>Str_1</xName>
    <xValue></xValue>
    <xtype>String</xtype>
    <xMaxLength></xMaxLength>
    <xHelpStr>Ein String zur Ausrichtung des Froschgesangs</xHelpStr>
    </Var>
    <Var Id="4">
    <xName>bHuberli</xName>
    <xWert>1</xWert>
    <xtype>Boolean</xtype>
    <xHelpStr>Ein Boolean: Wurde JFK erschossen oder hat er nur urlaub? Die Frage erlaubt keine Wahr/Falsch? </xHelpStr>
    <xValue>1</xValue>
    </Var>
    <Var Id="5">
    <xName>enList</xName>
    <xValue>huhu</xValue>
    <xtype>Enumerator</xtype>
    <xEnum_Str Id="1"><xStr>Hallo</xStr></xEnum_Str>
    <xEnum_Str Id="2"><xStr>Die</xStr></xEnum_Str>
    <xEnum_Str Id="3"><xStr>Herren</xStr></xEnum_Str>
    <xEnum_Str Id="4"><xStr>Eierkvpfe</xStr></xEnum_Str>
    </Var>
    </Vars>

  • XML Javascript

    When I use my ultra edit to view this file locally, it executes perfectly. When I upload this to my server, I show no results. The xml feed is from an outside vendor, and it is well formed. My xsl is also well formed. The xml link is correct, just did not display it in full in the forum. Can someone help me?
    "The error i receive is at line 9 char 2. Access is denied"
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <html>
    <head>
    <script type="text/javascript">
    // Load XML
    var xml = new ActiveXObject("Microsoft.XMLDOM")
    xml.async = false
    xml.load("MYXML.xml")
    // Load the XSL
    var xsl = new ActiveXObject("Microsoft.XMLDOM")
    xsl.async = false
    xsl.load("test.xsl")
    // Transform
    document.write(xml.transformNode(xsl))
    </script>
    </head>
    <body>
    <xsl:template match="/">
    <table border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <xsl:value-of select="result/relatedsearches/relation" />
    </td>
    </tr>
    </table>
    </xsl:template>
    </xsl:stylesheet>
    </body>
    </html>

    If all you're doing is wanting to style a page client-side, the best way to go about it is to stick a <?xml-stylesheet?> header on the XML file to link to the XSL and ship it to the client as-is.
    You'll probably have to detect the client version when you send the prologue because IE doesn't comply with the specification (so what's new...)
    For IE:
    <?xml-stylesheet type="text/xsl" href="mystyle.xsl"?>
    For Compliant browsers:
    <?xml-stylesheet type="application/xsl+xml" href="mystyle.xsl"?>

  • Help Secure your XML data - Solution-ish

    Note: Possibly posting this in the wrong forum, Mods feel free to remove or correct.
    This should add a small amount of deterance to someone stealing your data by
    bypassing your flash .swf and just grabbing your xml file to parse themselves.
    File name and variable names of course can be changed, simply keeping
    with the example I'll keep them all what they should be for this
    example to actually work.
    ** Description: This will let your change your secretValue for your
    secretVariable on your flash program and not give you any downtime
    when you upload your flash file with the new secretValue.
    Just remember to change the values stored in your php file after
    you uplaod your flash doc with the new secretValue. As people can
    see the value you send to get your xml file it's not safe for long, if you
    use this idea you'll have to keep up with changing your secretValue to
    make it less desirable for pirates to get your info. In essance this solution
    is designed to bring the end users of the data into the fold helping you decide
    which ip's to potentially block or whatever action you see fit.
    $current_check_value - should always be what your password for the live
    flash doc is.
    $when_updateFlash_check_value - should always be what your next password
    will be next time you upload your flash doc.
    Hope you like it.
    By: Chuck Mongillo
    // PHP File: The XML responder - sends out the xml data
    <?PHP
    File Name: MyXMLfile.php and it would be held in
    Path: http://www.MyServer.com/MyPath/
    // If your server requires you to specify your incoming variables
    // Uncomment this next line.
    // $secretVar = $_GET['secretVar'];
    // Tell your PHP file which passwords it will accept for right now
    // and the password it will accept after you update your flash .swf
    // so there is no downtime for your real project. Downside - your
    // always allowing 2 possible ways in, ie: 2 passwords.
    $current_check_value = "PiratesAreBad";
    $when_updateFlash_check_value = "AreUaPirate";
    if(($current_check_value != $secretVar)&&($when_updateFlash_check_value != $secretVar)){
         // My current .swf secretValue and my updated .swf secretValue failed
         // Give the pirate a slap
         echo("
         <?xml version=\"1.0\" encoding=\"utf-8\"?>
         <myRoot>
              <myXMLValues>
                   <happyData>This data was stolen from MyServer.Com</happyData>
                   <happyData>Please report it. Bad Pirate No Donut!!</happyData>
              </myXMLValues>
         </myRoot>
         // Stop further execution of this file
         exit;
    } // End bad password check
    else{
         // Yay, its (seems to be) my .swf calling the program
         // Give the proper data
         echo("
         <?xml version=\"1.0\" encoding=\"utf-8\"?>
         <myRoot>
              <myXMLValues>
                   <happyData>Tomorrows Winning Lotto Number is:</happyData>
                   <happyData>1 - 2 - 3 - 4 - 5 - 6</happyData>
              </myXMLValues>
         </myRoot>
    } // End good passsword check
    ?>
    // Flash AS3 code: The data request
    // In your flash document you should have something like this to pull your xml file:
    // Set a string to hold your xml path and secret value to check against
    secretValue:String = "PiratesAreBad";
    myXMLurl:String = "http://www.MyServer.com/MyPath/MyXMLfile.php?secretVar=" + secretValue;
    // Set xml and loader variables
    var MyXMLloader:URLLoader = new URLLoader();
    var MyXMLData:XML;
    // Get your XML
    MyXMLloader.load(new URLRequest(myXMLurl));
    MyXMLloader.addEventListener(Event.COMPLETE, gotMyXMLData);
    function gotMyXMLData(e:Event):void
         MyXMLData = new XML(e.target.data);
         MyXMLloader.removeEventListener(Event.COMPLETE, gotMyXMLData);
         // Still not sure why removing a listener requires a call to a function.
         // Expecially why people use it in the same funciton it sits in.
         // But, now you have your xml data.
         If you have other ideas or want to expand on this one feel free, thanks.

    {forum:id=34} is the correct forum to this, and as I see you have already double-posted to there, I suggest that you close this thread.

  • Special Catalog Pricing for Members?

    Hi folks,   My client wants to know if there is a way to have logged in members see wholesale pricing on jewelry, vs what the consumer sees.  Dealers will be logged in. SInce the online catalog templates are universal, as well as the small and large item templates,  is there a way to show wholesale pricing to a dealer?
    I know there is retail and sales price options on the product info pages.   We dont' want dealers to have admin access to the site, obviously.
    TIA,
    Jeff

    HI Jeff, if you enable wholesaler discount on products, input that value when a person is marked as a wholesaler and log in they will see that discount.
    For indervidual people if you look under their subscriptions you can give them percentage discount on catalogs.

  • Generic XML Structure solution/suggestions

    Hi,
    I am pretty new to XML, so looking for some suggestions.
    I want to create an XML structure for following data.
    I have Product P1, and Product P2
    P1 has following fields: F1,F2,F3,F4
    P2 has following fields:F0,F1, F3, F4, F5,F6
    You see both the products have some common fields and some extra fields.
    I want to make one XML structure (common to P1 and P2)that defines(tag value pair) both.
    I dont want something like say: If type == P1 then F5 and F6 field is null.
    It should not be defined for P1.
    lly F0 and F2 should not be defined for P2.
    Can anyone help me to define some common structure to accomplish this.

    Unless I'm missing something, what you want to do is set up the structure something like:
    <!element products(product*) >
    <!element product(f0*, f1*, f2*, f3*, f4* , f5*, f6*) >
    <!element f0 (#CDATA) >
    <!element f1 (#CDATA) >
    <!element f2 (#CDATA) >
    <!element f3 (#CDATA) >
    <!element f4 (#CDATA) >
    <!element f5 (#CDATA) >
    <!element f6 (#CDATA) >
    Obviously this changes depending on how often the data can recur and type of data, but this will give you an idea of DTD setup. Using schema would also give you the ability to define field length and such. Find a good DTD reference guide either online or from a book and it will give examples of the different recurring notations (*, + and the like). Hope this helps.

  • Catalog Pricing

    Hi there,
    When I have created a Shopping cart and while it was still waiting for approval, the price of that item in the catalog is updated to a different price. Hence, when that particular shopping cart is approved, the price in the PO generated is not latest price as in the catalog. I am thinking to actually create a program to check if such case happens and when it happens, the program will issue error message.
    Is anybody there has done similar things?
    Regards,
    Feri.

    Hi Feri
    This is a bug and pls raise a Oss message as well.
    At my place this same thing with respect to curreny occurred.
    Like when I create a SC in EUR and later I change to USD the price which is transferred in The PO was total irrelevant .
    the SRM_RFC user use to change/ overwrite  the price by itself and in PO put some new price which is not at all relevant.
    Then in such cases we manually execute the FM
    BBP_PD_PO_TRANSFER_EXEC
    Enter the GUID and execute then it rectifys the price.
    WE have posted it to OSS .
    regards,
    Nimish Sheth

  • IPC pricing gross value for products in catalog

    Hello all,
    In ISA b2b application I need to add a new column with gross value for products in catalog. Here is how I've tryed :
    </i>
    <!-- CBI Added gross price -->
                   <td align="right" >
                        <%IPCItem priceRef2;
                         try {
                          priceRef2 = (IPCItem) item.getItemPrice().getPriceInfo()
                                       .getPricingItemReference();
                          if (priceRef2 != null) {
                               DimensionalValue grossValue = priceRef2
                                                 .getGrossValue();
                                       %>
                                       <%=grossValue.getValueAsString() + " "
                                                 + grossValue.getUnit()%>
                        <% } else {
                             %><isa:translate key="z_catalog.isa.nogrossvalue"/> <% }
                         } catch (Exception e) {
                         %><isa:translate key="z_catalog.isa.ipcexception"/>
                         <%} %>
                   </td>
                   <!-- CBI Added gross price -->
    </i>
    The problem is that the gross value is the same with the net value.
    I've try also using <i>item.getItemPrice().getPriceInfo().getAllPriceInfos()</i>
    where item is WebCatItem, and retrive an array of PriceInfo (s) with only one PriceInfo object which has the type <b>netValue</b>.
    Then in the backendobject-config.xml I've modify the priceTypes attribute value for BO "CatPriceCalc", but without any succes. Here is the snippet:
    <i><businessObject type="PriceCalc" name="CatPriceCalc" className="com.sapmarkets.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC" connectionFactoryName="JCO" defaultConnectionName="ISAStateless">
                        <params>
                             <!-- CBI gross value -->
                             <b><param name="priceTypes" value="totalNetValue totalGrossValue"/></b>
                             <!-- for allowed values see defined constants in com.sapmarkets.isa.backend.boi.webcatalog.pricing.PriceType -->
                             <param name="doItemCalls" value="true"/>
                             <!-- set this to true if you want to have additional call of CRM_ISA_PRICING_ITMDATA_GET when doing item pricing -->
                        </params></i>
    Do you know how to solve this problem? Or why is not working.
    Any help (soultion, docs, links) is very wellcome and rewarded.
    Thank you
    Bogdan

    Hi Bodgan,
       It seems that some values like tax, discount are not being calculated by IPC as required parameters are not sufficient enough to differentiate between the two. You can run catalog pricing analysis and see what are the gross and net pricing value. You can update the extra parameters to IPC by extending the class you mentioned and modify backend config xml file to use that class for ISA.
    Regards.
    Vivek

  • A custom pricing procedure to be used for product catalog via IPC

    Hi all,
       I am new to IPC and E-commerce concepts.I need all your valuable help to work on the below scenario
    I have an existing custom pricing procedure zcustom on the order document in ECC system which needs to be used on the catalog pricing. In simple words customer specific pricing  is to be viewed by dealers in the Product Catalog.
    I have also gone through the PricingUserExit Manual and have understanding on the basics.Please give me steps that I can follow to get a solution for this scenario.
    Thanks and Regards
    Deepika

    Hi Deepika,
    Please check this note [1126537|https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1126537&nlang=E] .
    The attached document 'Pricing_in_SAP_ECO.pdf' describes how pricing is done in your case. I think chapter 1.1.1.2 refers to the situation you describe, it tells how the pricing procedure is found and which attributes are available. Other attributes have to be added via customer exits.
    Best regards,
    Christoph

  • Download catalog in XML format

    Hi everybody.
    I’d like to download my catalog in format XML (SAPcat A2A XML).
    I check all message in SPROXY transaction, but I don’t know the process to generate the catalog.
    How can I do it?
    Thanks and regards.
    Raúl.

    Hi Raul,
    I need some explaination to check whether I can help you:
    1. Are you trying to upload yr catalog content file in XML in catalo authoring tool of CCM but call it as a 'download' or it's some other functionality?
    2. After what you using trans SPROXY?
    BR
    Dinesh

  • How can I to use XML Catalog for OSM 7.0.3?

    I have a xquery that execute a business rules in view.When I put it inside Data Instance Behavior, tab Data, inline, and
    XQUERY the deploy in OSM doesn't work because it is a large xquery, more than 4000 characters.
    So, I saw in OSM 7.0.3 doc (Developer’s Guide,Release 7.0.3 - Using XML Catalogs in OSM) that there is a possibility
    of import resources files (xquery file in my case) in OSM Data Instance Behavior through XML Catalog.
    I executed the follow steps
    1) Add entry
    *<rewriteURI uriStartString="http://br.com.ctbc" rewritePrefix="osmmodel:///XQuery/1.0.0/resources"/>*
    to my catalog.xml, which is in path <My_Cartridge>/xmlCatalogs/core/catalog.xml
    2) Set XML_CATALOG_SUPPORT variable in Design Studio with "enable"
    3)Add *<oms-parameter>*
    *<oms-parameter-name>oracle.communications.ordermanagement.util.net.CatalogUriResolver.DefaultXmlCatalogsUris</oms-parameter-name>*
    *<oms-parameter-value>file://<My_domin>/XQuery/catalog.xqy</oms-parameter-value>*
    *</oms-parameter>* to oms-config.xml, after unpack osm.ear
    4) Created a Data Instance Behavior, inline and type XQuery whith source
    declare namespace ctbcoms = "http://br.com.ctbc";
    let $result := ctbcoms:retorna()
    *return <DadosOrdem><Fim>{$result}</Fim></DadosOrdem>*
    The XQuery that has the method retorna() has name: catalog.xqy. Code:
    module namespace ctbcoms = "http://br.com.ctbc.xquery";
    declare function ctbcoms:retorna()
    let $retorno := 'teste'
    return $retorno
    So, when I deployed my cartridge I get the mensage:
    Error on line 2
    XPST0017: Cannot find a matching 0-argument function named {http://br.com.ctbc}retorna()
    <11-Jan-2012 6:40:47,906 VET PM> <WARN> <impl.e> <ExecuteThread: '14' for queue:
    'oms.xml'> <failed to compile xquery expression for xqueryInstanceType: xquery[
    declare namespace ctbcoms = "http://br.com.ctbc";
    let $result := ctbcoms:retorna()
    return <DadosOrdem><Fim>{$result}</Fim></DadosOrdem>
    ]>
    ; Line#: 2; Column#: -1
    net.sf.saxon.trans.XPathException: Cannot find a matching 0-argument function named {http://br.com.ctbc}retorna()
    I am using Design Studio 3.1.3 with OSM 7.0.3.
    Could have I a example these procedure? thank you !!!

    Two observations:
    1) Your inline xquery expression need to use the "import" xquery module expression. see point a) in my example below.
    2) the change in oms-config.xml is to support the case for overriding the cartridge xml catalog ( for example developer, qa tester, etc) so this step is not mandatory to get your cartridge working.
    =============================
    For example, In OSM Order To Activate Cartridges 703, the OrderLifeCycle, Amending State/Submit Amendment Transition has the following inline xquery which delegates xquery implementation details to a PoinOfNoReturn.xqy xquery module
    a) Inline Expression in Design Studio Entity
    CommunicationsSalesOrderFulfillmentPIP\Orders\POLICY\CommunicationsSalesOrderLifeCyclePolicy
    import module namespace pipponrfn = "http://xmlns.oracle.com/communications/ordermanagement/pip/ponr" at "http://xmlns.oracle.com/communications/ordermanagement/pip/ponr/PointOfNoReturn.xqy";
    let $taskData := fn:root(.)/GetOrder.Response
    let $checkPointOfNoReturn := pipponrfn:checkPointOfNoReturn($taskData)
    if ($checkPointOfNoReturn ..........
    b) xquery module
    module namespace pipponrfn = "http://xmlns.oracle.com/communications/ordermanagement/pip/ponr";
    declare function pipponrfn:checkPointOfNoReturn($taskData as element()) as xs:boolean { ....};
    c) cartridge xml catalog
    CommunicationsSalesOrderFulfillmentPIP\xmlCatalogs\core\catalog.xml
    <rewriteURI uriStartString="http://xmlns.oracle.com/communications/ordermanagement/pip/ponr" rewritePrefix="osmmodel:///CommunicationsSalesOrderFulfillmentPIP/1.0.0/resources"/>
    =======================
    Optinally if you have OSM 703.3 path you can use <oms-parameter><oms-parameter-name> in oms-config.xml if you need to OVERRIDE the cartridge xml catalog.
    d) osm-config.xml
    <oms-parameter>
    <oms-parameter-name>oracle.communications.ordermanagement.util.net.CatalogUriResolver.DefaultXmlCatalogsUris</oms-parameter-name>
    <oms-parameter-value>file:///<My_test_folder>/XQuery/catalog.xqy</oms-parameter-value>
    </oms-parameter>
    e) your developer xml catalog overrideing the cartridge catalog:
    your_full_path_to_xml_catalog.xml
    <rewriteURI uriStartString="http://xmlns.oracle.com/communications/ordermanagement/pip/ponr" rewritePrefix="file:///d:/your_full_path_to_test_folder"/>

  • XML format for Acrobat JavaScript

    Hi,
    This is my first posting to any Adobe forum, so please bear with me...
    I'm interested in the XML format for Acrobat JavaScript.  I'll be using an external editor (UltraEdit).  When I do (in Acrobat 8) Advanced-->Document Processing-->Edit All JavaScripts, UltraEdit starts off with this:
    //-----------------Do not edit the XML tags--------------------
    Interesting, but not very useful.  If I look at some existing PDF files containing JavaScript, I see things like:
    //-----------------Do not edit the XML tags--------------------
    //<Document-Level>
    //<ACRO_source>DocOpen</ACRO_source>
    //<ACRO_script>
    /*********** belongs to: Document-Level:DocOpen ***********/
    OK, this is better.  In fact, if I look at enough existing PDF files containing JavaScript, I could probably figure out the XML format by myself, including the XML format of tags like <Page-Actions>,  <AcroForm>, etc.  However, it would be far easier to get the specification of the JavaScript XML format -- for example, what is the format of the text following the "belongs to:" string within the various types of XML tags?
    I *presume* this is documented somewhere but I couldn't find it.  If someone has the Acrobat JavaScript XML format specification, it would be greatly appreciated.
    Thanks.
    Dave
    P.S. Another possible approach would be to create JavaScripts myself using Advanced-->Document Processing-->Document JavaScripts, and then see what XML is created based on the code I enter into the GUI, e.g. form code, functions, etc. This also seems somewhat inefficient, presuming again that the JavaScript XML format is already documented.

    Thanks for the additional information.
    I played with JavaScript some more, using my preferred editor, UltraEdit, which I attached to Acrobat.  I thought I would be able to take a JavaScript program from one PDF file (source file) and do a copy & paste into another PDF file (destination file).  While I can do the paste (again, via UltraEdit) into the destination file and can do an UltraEdit Save, when I go back into UltraEdit via Advanced --> Document Processing --> Edit All JavaScripts, the JavaScript I pasted from the source file to the destination file isn't there in the destination file.
    From this, I concluded that I'll need to create the Document-level JavaScript and the form field Javascripts (e.g. a JavaScript triggered by a "Mouse Down" in a button) via the Acrobat GUI's.  Acrobat doesn't seem to like it if I bypass the GUIs and just attempt to paste the code directly into the PDF file via an editor.  By not using the GUI and just doing the cut & paste as I did, I'm probably missing some part of the code setup/creation process that Acrobat needs to know about.
    This is why I originally asked about the syntax for the pseudo-XML, thinking I could just copy the pseudo-XML/JavaScript code from one PDF file to another, and then modify the code to reflect the needs of the destination PDF.  Now I understand the need you mentioned to use the Acrobat GUIs to set up the initial XML/JavaScript structure.
    Once I have the XML structure set up in the destination file (e.g. a JavaScript triggered by a "Mouse Down" in a button), I can obviously copy code snippets into that <AcroForm> sections, I just can't *create* the original "Mouse Down" <AcroForm> sections via the editor.
    Another approach I could follow would be to make a copy of the original source file and change the name of the copy to the desired destination file name, and then start modifying the code in the new (destination) file -- presuming that's the easiest path to get the desired functionality created.  This way, I wouldn't have to manually (via the Acrobat GUI) create all of the <Document-Level> and <AcroForm> sections.
    Thanks for your (and others') help, let me know if I'm missing anything.
    Dave

Maybe you are looking for

  • Error while sending the messages to JMS Queue

    Hi , I am trying to pick the file from JMS Queue and send the response xml as outbound message to JMS Queue again using XAI Sender I Created XAI Sender, Outbound Message Type(DM-RCVRESP) and configured these two with External System. I am able to pic

  • ORA-12203 error in Forms6i, after installing 10g local DB

    Hello, I have a configuration with multiples Oracle_Homes as I use Disco R4, Forms6i, Forms 10g, and sqlplus. I had no problem when I used a local 9i DB. All worked fine. When I had the 9i DB, I decided to set a TNS_ADMIN variable and only use one ve

  • Jpeg image loaded with Loader- loadBytes() does not display when app is deployed on remote server

    I am loading a JPEG  image from the server, using the Loader->loadBytes() and that works when the app is deployed under my local Tomcat server.  When I deploy it on other servers the image is not displayed,  instead of the image I see II* On the serv

  • Error in SWWERRE "No personnel control record exists for accounting area 99"

    Dear Experts, The standard job for restarting of workflows with temporary errors , SWWERRE, has suddenly started failing. The message obtained in Job Log is "No personnel control record exists for accounting area 99". The Payroll Control Record for P

  • Oracle RAC and FAN

    Hi, I use OCCI to connect RAC DB, I implemented TAF in our application, do I need to implement FAN in my applicaiton? it seems that I will write much code in OCCI. And who can interpret the diffirence of FAN and TAF, in othe words, when do I need to