Syndiacting Qualified lookup in new XML

Hi Gurus,
Requiremnet is to syndicate qualified look up data into different XML
.to be specific ..We have created Vendor specific data as Qualified lookup table and are mapping this table in Syndication to INFREC idoc.
But while syndicating it back..the XML file just pulls out the vendor name .Requiremnent was that the XML should pull out MAterial -Vendor specific data.
Questions:
1Is this possible?
2.If yes please help me with this regards..I think i might be missing some setting..
Regards,
Vikrant M Kelkar

Hi Vikrant,
As per my understanding of your requirement you wnat to syndicate the qualified table  data in the form of XML.
If this is the case then it is possible.
- In the syndicator the source structure is your repository structure and your destination structure should be an XML schema containing the idoc structure.
- You need to map your qualified table fileds with the corresponding idoc fields.
- If you do not intend to syndicate any other fields you need not map them.
Note:
You need to note the following things while performing Qualifier syndication
1) While syndicating qualified table fields you need to map the lookup field to the corresponding segment.Else it will not allow you to map the fields inside the qualified table
2) You need to make that particular segemnt as Repeatable XML node in the map properties.
3) Once these settings are done you can map the qualified field syou want and they will be syndicated in the form of .XML
4) Also note to map the Root node.At the beginning of the structure.
Hope it helped
Kindly reward points if found useful
Thanks
Simona

Similar Messages

  • Values of Non-Qualifiers (lookups) not auto-converting.

    We've been trying to use Import Server to automatically import records (XML) that had data for qualified lookup tables. Apparently there is an issue with namespaces in both the schema that we mapped to and the source field.
    After removing the namespaces, we now have an issue with the non-qualifier that uses a lookup table not automapping it's values and thus retaining the compound field at the Customer main level.
    First, the Partner Function is mapped to the Partner Function flat lookup table. At this level, the value auto-converts and the green dot is visible to the left. 
    Second, at the Customer Partner qualified lookup, the Partner Function is again mapped to the Partner Function lookup. This time, however, the values do not automatically convert and the "AUTOMAP" button must be manually pushed for them to map. The other non-qualifiers (CustomerID, PartnerNum, PartnerSAP_ID) are also mapped and their values auto-convert (green dot).
    Finally, at the Customer main level, all of the non-qualified field from the Customer Partner table are mapped and all auto-convert except for the Partner Function field. This requires us to manually push "Automap". Then, and only then, does it allow us to right click on one of the fields and create the compound field to map to the Customer Partner field. Again, the value mapping is not automatic but must be done manually.
    This map is then saved and ImpMgr closed. When the IM is reopened with the same map, the compound field is not recreated due to the fact that the Partner Function values did not convert. Once these are redone manually, then and only then can the compound field be recreated and value mapped.
    When this same map is used in the Import Server, the error is that the qualified fields cannot be mapped. This brings us back to the lookup fields not value mapping. Likewise, if this same file is opened in Import Manager mannually, and the map applied, it STILL does not convert the values and the Compound Field for the Qualified L/Up table is dropped. 
    We are using MDM 5.5 SP4 Patch 3.

    Hello Christiane,
    Yes, this is a very important point and I should have noted it in my original post. Yes, my Default Batch Handling settings are:
      Yes - Automap unmapped values
      Add - Unmapped Value Handling
    Plus:
      Replace - Default multi-valued update
      Append - Deault qualified update
      None - Default matching qualifiers
    Also, in my mdis.ini file, my settings are:
      Automap Unmapped Value = True
      Unmapped Value Handling = Add
      Always Use Unmapped Value Handling = True
    It used to work when we were in SP4, Patch 2, but have since upgraded to Patch 3, Hotfix 2(?) and can't get it to work.
    Thanks for helping!
    Don

  • Qualifier values are not part of a qualified lookup record

    Hi
         I am getting the exception "Qualifier values are not part of a qualified lookup record" when I serach for a record in the Qualified table. The Table has both Qualfier and non-Qualifier fields, but all are of type display fields.
    My question is If the filed is of type Qualifier then is it mandatory that it should be non-display Field?
    if  not can any one suggest me to get the record.
    If we make Qualifier fields as NON-Dispaly fields in repository then it is working fine.
    Here with I am providing the code
                   Search serarch = new Search(repoSchemaCmd.getRepositorySchema().getTable("QT_NOTES").getId());
                   serarch.addSearchItem(new FieldSearchDimension(repoSchemaCmd.getRepositorySchema().getFieldId("QT_NOTES","USER_PMF_ID")),new TextSearchConstraint("test", TextSearchConstraint.EQUALS));
                   ResultDefinition rd =new ResultDefinition(repoSchemaCmd.getRepositorySchema().getTable("QT_NOTES").getId());
                   //Returns the array of IDs for all display fields associated with the table
                   rd.setSelectFields(repoSchemaCmd.getRepositorySchema().getTableSchema("QT_NOTES").getDisplayFieldIds());
                   RetrieveLimitedRecordsCommand retrievedRecords =new RetrieveLimitedRecordsCommand(conn);
                   retrievedRecords.setSession(userSessionID);
                   retrievedRecords.setSearch(serarch);
                   //retrievedRecords.setIds(RID);
                   retrievedRecords.setResultDefinition(rd);
                   try {
                        retrievedRecords.execute();
                   } catch (CommandException e) {
                        throw new CommandException(e);
    Regards,
    Sandeep.

    Hi Sandeep
    I have a similar problem, would like to know what is the resolution to this issue.
    Regards
    Dilip

  • Workaround on all the limitations of Qualified Lookups, Multivalued Tuples.

    Dear Experts,
    As we all know, there are lots of limitations on Qualified Lookups in MDM 5.5 and also in MDM 7.1....
    1) Can't write Assignments...
    2) Failed validation won't specify which qualified link has failed.
    3) Compare records won't show link wise comparison of qualified links.
    4) Can't start qualified link level workflows.
    5) Role level constraints not applicable for Qualified lookup and tables referencing from QL directly or indirectly.
    6) Qualified link level check-in check-out operations are not possible.
    7) Qualified link level unique constraints are not possible (this becomes pain if links get duplicated by mistake)
    8) Duplication of QL link is not allowed in data manager (for copying Qualifier values in new Qualified link).
    9) Tuple is replacement for qualified lookup, but its more restrictive than QL (validation are not allowed on multivalued tuple).
    10) ....... many more (which might have discovered by you all)
    What if we make all the qualified lookups as main table and link those table to actual main table using Lookup [ Main] field type?
    Well it will restrict the data analysis objective which is one of goal of Master Data Management...
    But this will solve all the problems and limitations due to Qualified Lookup or Multivalued Tuple!
    I think its feasible and technically possible (But only in MDM 7.1 onward)
    How is the IDEA !!!
    Thanks & Regards,
    - Shailesh.

    Dear Michael,
    Thanks for your valuable replay...
    Well out of 9 pain points I listed above...
    Some of them may be fixed in future releases...
    But there are some points which (I feel) may not be on the feature list of future releases like....
    2) Failed validation won't specify which qualified link has failed.
    3) Compare records won't show link wise comparison of qualified links.
    4) Can't start qualified link level workflows.
    6) Qualified link level check-in check-out operations are not possible.
    (all these points are applicable for tuples also)
    Above points can be ignored at the time of fresh implementation
    But its become blocker in new scenarios which are taken-up after go-live! (i.e expansion of already live repository)
    Most of the people in MDM might not be aware of that import works on a single main table at a time.
    Well you are an expert, what you said is something new and useful... Thanks for that !
    Thanks & Regards,
    Shaailesh.

  • Insert a record in Qualified Lookup Table

    Hello everyone,
    I need code to insert a record in Qualified Lookup Table where the non-qualifier is a record of type Country. Other fields are qualifiers.
    I tried using QualifiedLookupValue.createQualifiedLink(). However, this only helps to insert in the qualifier values, how can I insert the non-qualifier (Country) value?
    Any idea?
    Many thanks in advance,
    Baez

    Hi guys,
    Maybe the answer comes late but i'm recently working on this and the API works for me to create and update qualifier values.
    Suppose recordMain is the main record, fldQFT is the qualified lookup field in main table, fldQualifier is the qualifier field in QFT table.
    To add qualifier value you can use:
    QualifiedLookupValue qualifiedLookupValue = new QualifiedLookupValue();
    int index = qualifiedLookupValue.createQualifiedLink(recordMain.getId());
    qualifiedLookupValue.setQualifierFieldValue(index, fldQualifier, MdmValue);
    recordMain.setFieldValue(fldQFT, qualifiedLookupValue);
    To update qualifier value, use:
    QualifiedLookupValue qualifiedLookupValue = (QualifiedLookupValue) recordMain.getFieldValue(fldQFT);
    qualifiedLookupValue.setQualifierFieldValue(index, fldQualifier, MdmValue);
    recordMain.setFieldValue(fldQFT, qualifiedLookupValue);
    Regards,
    James

  • How to remove qualified lookup entries

    Hi All,
    My scenario is as explained below:
    Main table: Customers
    Qualifeid lookup table: Customer_Brands
    Qualifer: Form_action (this is a Lookup field and the lookup table is Form_Action)
    Form Action table has an entries called "CR" and "MO"
    What I need to do:- There is a set of customers with form action value as CR. I need to remove this value (essentially make it null) for all those customers using MDM Java API.
    So the question in short is how to remove qualified lookup entries?
    NB: I am able to replace CR with MO and vice versa since these entries are in Form_Action table, but unable to remove these entries.
    Please give some inputs on this. Sample codes are appreciated.
    -Thanks,
    Padmarajan.

    Hi Adhappan,
    My code snippet to set the value is as below:
    A2iFields formFields = new A2iFields();
    A2iField intField = new A2iField("Form_Action");
    Value val = new Value(ValueType.ValueNull);
    intField.SetValue(vall);
    formFields.Add(intField);
    But the ValueType.ValueNull returns an integer (in my case 17) and the form action field of the customer gets set with the value at that row of the form action table once I execute a modify query.
    Please advice as to how to code it correctly.
    -Thanks,
    Padmarajan.

  • Updating  a qualifier value of qualified lookup table failed

    Hello,
    I am trying to update  a qualifier value of qualified lookup table.
    I  have written the method attached to this email.
    I am not able to modify a qualifier field, that "Installation instructions DAR Update" field of "Vendor Details" table with this method call. Is there anything I am missing or not doing correctly?
    Also, I noticed that in SP6 API documentation, this line in section of ModifyRecordsCommand:
    Note: Qualifier values is currently not supported by this command. This command simply ignore qualifier values passed in.
    First I have used this method failed. After I saw this, I tried to use ModifyRecordCommand but no success still.
    I am copying my method content here. qlv1 and qlv2 is geeting new value after setQualifierFieldValue.
    It will be highly appreciated if you can help me.
                    boolean isUpdated = false;
              final MdmValue mval = record.getFieldValue(qualFieldID);
              qlv = (QualifiedLookupValue) mval;
              QualifiedLinkValue[] qlinkvals = qlv.getQualifiedLinks();
              for (int j = 0; j < qlinkvals.length; j++) {
                   qlinkval = qlinkvals[j];
                   qrec = qlinkval.getQualifiedLookupRecord();
                   tabId = qrec.getTable();
                   qfields = qlinkval.getQualifierFields();
                   vdrec = getTSVal(tsVals, qrec);
                   for (int k = 0; k < qfields.length; k++) {
                        fieldId = qfields[k];
                        fieldValue = qlinkval.getQualifierValue(fieldId).toString();
                        mstr = mdmHandle.getSchema().getField(tabId, fieldId).getName();
                        fieldName = mstr.get(MDMBase.LANG);
                        if (!(vdrec.containsKey(fieldName)))
                             continue;
                        String curTSVal = fieldValue;
                        String darTSval = vdrec.get(fieldName);
                        // If the dar updated value has different timestamp value,
                        // then it means MDM have changed the value after we sent the
                        // last export to DAR.For this case, we won't change status flag
                        if (!(darTSval.equalsIgnoreCase(curTSVal)))
                             continue;
                        FieldId updateFieldID = tsUpdateFields.get(fieldName);
                        //test
                        FieldId iid = tsUpdateFields.get("Parts Breakdown Timestamp");
                        //test
                        try {
                             MdmValue mvalTrue = MdmValueFactory
                                       .createBooleanValue(true);
                             qlv.setQualifierFieldValue(j, updateFieldID, mvalTrue);
                             //test
                             qlv.setQualifierFieldValue(j, iid, mvalTrue);
                             String qlv1 = qlv.getQualifierFieldValue(j,updateFieldID).toString();
                             String qlv2 = qlv.getQualifierFieldValue(j,iid).toString();
                             QualifiedLinkValue qlv11 = qlv.getQualifiedLinks()[1];
                             logger.info(qlv1":"qlv2);
                             //test
                        } catch (IllegalArgumentException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                        isUpdated = true;
                   if (isUpdated){
                        qlv.setCompleteSet(true);
                        mdmHandle.modifyRecord(record,true);
                        mdmHandle.modifyRecord(qrec,true);
    Regards

    Apparently you can configure the fields that are shown in the pop-up window, but it also limits the fields that are displayed on the iView of the main table.

  • Help with creating a new XML file from an existing DOM tree!!

    i want to create a new XML file from an existing DOM tree
    i used this code to create a new document:
    static public Document createDocument(String fileName) throws ParserConfigurationException//,IOException,SAXException
              try {
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setIgnoringComments(true);
                   factory.setIgnoringElementContentWhitespace(true);
                   factory.setValidating(true);
                   DocumentBuilder builder =factory.newDocumentBuilder();
                   return builder.newDocument();
    //          handle exception creating DocumentBuilder
              catch ( ParserConfigurationException parserError ) {
                        throw new ParserConfigurationException();
              }then i used this code to transform the DOM :
    public void exportDocument(Document document) {
              try {
                   Source xmlSource = new DOMSource( document );
                   Result result = new StreamResult( System.out );
                   TransformerFactory transformerFactory =
                        TransformerFactory.newInstance();
                   Transformer transformer =transformerFactory.newTransformer();
                   transformer.setOutputProperty( "indent", "yes" );
                   transformer.transform( xmlSource, result );
           //then catching the exceptions
    But the file was not created and i didn't find where can i specify the DTD that the XML file should use and where can i enter the name of the XML file itself
    Another questoin can i write a DTD file dynamically during the execution of the program??

    Cross-post: http://forum.java.sun.com/thread.jspa?threadID=784467&messageID=4459240#4459240

  • How to create new XML file using retreived XML content by using SAX API?

    hi all,
    * How to create new XML file using retreived XML content by using SAX ?
    * I have tried my level best, but output is coming invalid format, my code is follows,
    XMLFileParser.java class :-
    import java.io.StringReader;
    import java.io.StringWriter;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMResult;
    import javax.xml.transform.sax.SAXSource;
    import javax.xml.transform.sax.SAXTransformerFactory;
    import javax.xml.transform.sax.TransformerHandler;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.XMLFilterImpl;
    public class PdfParser extends XMLFilterImpl {
        private TransformerHandler handler;
        Document meta_data;
        private StringWriter meta_data_text = new StringWriter();
        public void startDocument() throws SAXException {
        void startValidation() throws SAXException {
            StreamResult streamResult = new StreamResult(meta_data_text);
            SAXTransformerFactory factory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
            try
                handler = factory.newTransformerHandler();
                Transformer transformer = handler.getTransformer();
                transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                handler.setResult(streamResult);
                handler.startDocument();
            catch (TransformerConfigurationException tce)
                System.out.println("Error during the parse :"+ tce.getMessageAndLocation());
            super.startDocument();
        public void startElement(String namespaceURI, String localName,
                String qualifiedName, Attributes atts) throws SAXException {
            handler.startElement(namespaceURI, localName, qualifiedName, atts);
            super.startElement(namespaceURI, localName, qualifiedName, atts);
        public void characters(char[] text, int start, int length)
                throws SAXException {
            handler.characters(text, start, length);
            super.characters(text, start, length);
        public void endElement(String namespaceURI, String localName,
                String qualifiedName) throws SAXException {
            super.endElement("", localName, qualifiedName);
            handler.endElement("", localName, qualifiedName);
        public void endDocument() throws SAXException {
        void endValidation() throws SAXException {
            handler.endDocument();
            try {
                TransformerFactory transfactory = TransformerFactory.newInstance();
                Transformer trans = transfactory.newTransformer();
                SAXSource sax_source = new SAXSource(new InputSource(new StringReader(meta_data_text.toString())));
                DOMResult dom_result = new DOMResult();
                trans.transform(sax_source, dom_result);
                meta_data = (Document) dom_result.getNode();
                System.out.println(meta_data_text);
            catch (TransformerConfigurationException tce) {
                System.out.println("Error occurs during the parse :"+ tce.getMessageAndLocation());
            catch (TransformerException te) {
                System.out.println("Error in result transformation :"+ te.getMessageAndLocation());
    } CreateXMLFile.java class :-
    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();
    Sax.endElement("", "basic-metadata", "basic-metadata");* In CreateXMLFile.java
    class, I have retreived the xml content in the meta_data object, after that i have converted into character array and this will be sends to SAX
    * In this case , the XML file created successfully but the retreived XML content added as an text in between basic-metadata Element, that is, retreived XML content
    is not an XML type text, it just an Normal text Why that ?
    * Please help me what is the problem in my code?
    Cheers,
    JavaImran

    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    </code><code>Sax.endElement("", "basic-metadata", "basic-metadata");</code>
    <code class="jive-code jive-java">Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();     
    * I HAVE CHANGED MY AS PER YOUR SUGGESTION, NOW SAME RESULT HAS COMING.
    * I AM NOT ABLE TO GET THE EXACT OUTPUT.,WHY THAT ?
    Thanks,
    JavaImran{code}

  • IS IT POSSIBLE 2 BUILD A NEW XML FROM DAMAGED ITL? SAVE FERRIS

    OK. Here's my situation. I have an HP notebook running on VISTA. ITUNES version 8.1.1....... My computer shut off abruptly while I was running ITUNES and after I restarted it and started up Itunes, I got the damaged ITL message. No big deal, I still have all my songs in their designated folder and I'll just import the XML to get all my playlists back in action. I've done this at least 10 times already. Works like a charm everytime. Oh S#!T,... my XML was wiped out during the shut down. I have a program that can retrieve files after recycle bin deletion and the XML is no where to be found. SOOOOOO here's my questiion. When my computer S#!Ted in my cereal, it split my ITL into two seperate damged ITL's. One 32 MB and the other 14 MB. I know the XML is just a backup of the ITL and I frequently update my XML twice a week to make sure no B.S. could bestow it's bad self all up in my shizz. I just never figured to make a copy of the XML because everytime this has happened, the good XML was always there to use. (NOW I KNOW)Soooo, I need to know how to build an new XML from the two damaged itl's. That way I can just import the two new xml's and then save, thus making itunes create a new fresh XML from my two provided and restoring my itunes to it's original self. My problem is I can't get ITUNES to read my two damaged ITL's. Yes, I've done the name change method, no love. I tried the restart computer at a previous date and time method, didn't work. I tried the previous libraries folder and it's five moths old, which is a 10,000 song difference for me. So that way is useless. I even downloaded the same version of ITUNES that I run onto my home computer, which runs on XP, so I could try the system cache method. No love there either. I've stumbled upon a page where a person stated that they were able to manually poke around with their ITL file and forcing ITUNES to repair it. However this person was a computer whiz and I am sooooo totally not. So I had no idea what he was talking about. Anyone dealt with this scenario before? I tried praying to GOD but all he said was "THAT'S WHAT YOU GET FOR PUTTING SHANIA TWAIN'S ..THAT DON'T IMPRESS ME MUCH.. ON YOUR IPOD YOU F%#KING DORK!!!" and I was like, "dude, it is undeniably impossible to not have a smile on your face for the duration of that righteous classic. Then he just f@rted into his hand and released it an inch away from my nostrils, followed by some bird flippage and nut sack grab. So I'm gonna need some help with this one. Thanks Ahead

    How to Transfer Everything from an Old iPad to New iPad
    http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    Moving Content to a New iPad
    http://tinyurl.com/qzk2a26
    How to Transfer App Data and Game Saves from One iOS Device to Another
    http://lifehacker.com/5891964/can-i-transfer-app-data-and-game-saves-from-my-iph one-to-a-new-ipad
    How to transfer data from your old iPad to your new iPad
    http://www.imore.com/how-transfer-data-your-old-ipad-your-new-ipad-air-or-retina -ipad-mini
    Transferring your prepaid cellular data account depends on your carrier. AT&T lets you move it yourself when you go to Cellular Data in Settings and log into your account with your previous AT&T user name and password. For iPads with Sprint service, you can set up an account on the new iPad and contact Sprint Customer Care (888-211-4727 and go through the menus) to deactivate the old plan and get credit for unused service. For Verizon, call the company’s customer service number for mobile broadband support (800-786-8419) and ask to have your account transferred.
     Cheers, Tom

  • Loading new xml data into a already xml populated image display

    Hi everybody,
    I have a question about loading new xml data into a already xml populated image gallery.
    So I have my gallery set up so it calls some xml when it first loads. What I would now like to do is load different sets of images via a different xml sheet via the click of a button.
    So for example the loaded gallery already has all thumbs loaded and user can click on them to view the full size image. So next instead of the user having to close this gallery to allow a new gallery to open with a different set of pictures I would just like to have a button. This button will unload the existing thumbs from the gallery and load in new ones from a different xml file.
    If anybody can help me with this it would be great as I am still on a steep learning curve with AS3.
    Here is my AS3
    var xmlPath:String = "pictures.xml";
    var xml:XML;
    var loader = new URLLoader();
    loader.load(new URLRequest(xmlPath));
    loader.addEventListener(Event.COMPLETE, xmlLoaded);
    function xmlLoaded(e:Event):void
         if ((e.target as URLLoader) != null )
              xml = new XML(loader.data);
              createMenu();
    var numberOfItems:uint = 0;
    var menuItems:Array = new Array();
    function createMenu():void
              numberOfItems = xml.items.item.length();
         var count:uint = 0;
              for each (var item:XML in xml.items.item)
              var imageLoader=new Loader();
              var menuItem:MenuItem = new MenuItem();
              menuItem.addChild(imageLoader);
              imageLoader.load(new URLRequest(item.url));
              menuItem.linkTo = item.linkTo;
              menuItem.mouseChildren = false;
              menuItem.addEventListener(MouseEvent.CLICK, itemClicked);
              menuItems.push(menuItem);
              addChild(menuItem);
              count++;
    function ***():void
         //menuItems.sortOn("zpos3D", Array.NUMERIC | Array.DESCENDING);
         for (var i:uint = 0; i < menuItems.length; i++)
              setChildIndex(menuItems[i], i);

    Thanks so much for the reply Andrei1
    I think maybe my lack of knowledge when it comes to AS3 is not helping me at the moment because I thought I understood the code you supplied but there is something not going quite right.
    So I messed around with the code and added the new_loaded_thumbs_btn to load in the "new_pictures.xml" but I am def doing something wrong.
    import flash.ui.ContextMenuItem;
    var xmlPath:String = "pictures.xml";
    var xml:XML;
    var numberOfItems:uint = 0;
    var menuItems:Array = new Array();
    var loader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, xmlLoaded);
    loadXML("pictures.xml");
    new_loaded_thumbs_btn.addEventListener(MouseEvent.CLICK, loadXML);
    function loadXML(path:String):void {
         loader.load(new URLRequest("new_pictures.xml"));
    function loadXML(path:String):void {
         loader.load(new URLRequest(path));
    function xmlLoaded(e:Event):void
         xml = new XML(loader.data);
         createMenu();
    function createMenu():void
         clearMenu();
         numberOfItems = xml.items.item.length();
         var count:uint = 0;
         var imageLoader;
         var menuItem:MenuItem;
         for each (var item:XML in xml.items.item)
              imageLoader = Loader();
              menuItem = new MenuItem();
              menuItem.addChild(imageLoader);
              imageLoader.load(new URLRequest(item.url));
              menuItem.linkTo = item.linkTo;
              menuItem.mouseChildren = false;
              menuItem.addEventListener(MouseEvent.CLICK, itemClicked);
              menuItems.push(menuItem);
              addChild(menuItem);
              count++;
         sortChildren();
    // removes previously placed objects
    function clearMenu():void {
         var menuItem:MenuItem;
         while (menuItems.length > 0) {
              menuItem = menuItems[0];
              removeChildAt(getChildIndex(menuItem));
              menuItem.shift();
    function sortChildren():void
         //menuItems.sortOn("zpos3D", Array.NUMERIC | Array.DESCENDING);
         for (var i:uint = 0; i < menuItems.length; i++)
              setChildIndex(menuItems[i], i);
    When the image display 1st loads it displays the new_pictures.xml thumbs which I thought would load through my new button when clicked.
    And there was me thinking I was getting the hang of AS3.
    Could you please point me in the right direction in what I am doing wrong,
    Thanks for your time and effort in advance

  • Qualified lookup table

    Hi Guys,
    Can you tell me the steps to be followed for importing and syndicating qualified lookup table .
    Thanks,
    MS Reddy

    Hi,
    1. Import all the lookup tables used in Qualified table.
    2. Import qualified table data along with main table data only. For more than one qualified table record you should have repeated main table record.
    E.g.
    Qualified Table - Price Information
    Lower Bound
    Purchasing Info Record ID
    Purchasing Organization
    Amount
    Currency
    First three fields are the non-qualifiers amongst which Purchasing Organization is the lookup field. So you need to first populate this field.
    Now your main table record is
    Supplier     Supplier Part Number     Short Description     Product ID     Service Item     Lower Bound Purchasing Info Record ID     Purchasing Organization     Currency     Amount
    AGENCY01          1000               metal processing     IBG-100               False     1     5300000018     Mumbai Purchase Org     Indian Rupee     100.00
    1. Map all the main table fields
    2. Identify the Display fields of your Qualified table, if your qualified table has more than one Display field then map the fields with the fields marked as D in destination structure e.g. in above given table all the three non-qualifiers are the display fields then mark Lower Bound with the D   Lower Bound field, similarly map the other display fields
    3. Select all the Display fields at source side, right click and select Create Compound field. This will combine your input fields and automatically map them with Qualified field.
    4. Map the qualifiers
    5. Select the unique fields in Matching fields tab and execute the import.
    When you syndicate data containing qualified links, it will create the number of output records depending on the number of qualified links.
    Regards,
    Jitesh Talreja

  • Qualified Lookup Table in Webdynpro Content Generator

    I am trying to build a user interface with the webynpro component generators from the business content deployed on the portal.  The problem I face is with qualified lookup tables.  From the main table, there is an embedded table which contains the qualified lookup table.  I can press the "edit" button to open a pop-up window which shows the details of the qualified link.  Unfortunately, on MDM 7.1 SP05, the pop-up window contains a table at the top of the screen that forces the entire window to span the width of the table, which will go on quite far because I have about 20 fields in my qualified lookup table.  Below I can enter the values for the individual fields, but it is difficult to use because you have to scroll all the way to the right to select drop down values.  Is there a way to remove the summary table from the pop-up window for qualified lookup tables?  I havent seen an option in the UI config.

    Apparently you can configure the fields that are shown in the pop-up window, but it also limits the fields that are displayed on the iView of the main table.

  • Problem with Qualified lookup field

    Hi all
    I have one qualified lookup field in main table of the repository. when i created the iview for ItemDetails then i selected all the fields of the main table which includes the qualified look up field . but when i see the preview then i am not able to see the field of qualified lookup field in the preview. it is not displaying but i selected the same field.
    please help me out on Can we enter the data in the qualified table field which is part of main table in the repository while creating the record??
    but i am able to edit the qualified lookup field which is part of main table. but the only problem while creating the record it is not displaying me the qualified lookup field. please help on this........
    Thanks
    Regards
    Sunil

    Hi Sunil,
    It will not allow you to add the qualified lookup value in the main table record directly.
    As the qualified lookup field in the mai table links the main table record with the qualified table fileds.
    You will only be able to view the non-qualifier field values in the main table but the qualifier value  for that particular record will be visible in the qualifier table only.
    So as to populate the lookup qualifier you need to create the main rec then you can establish the link and populate the qualified table fields.
    Hope it helps
    Kindly reward points if found useful
    Thanks
    Simona

  • Does creation of new xml file captures latest value?

    HI All,
    say for instance, if web port has been changed from 8000 to 80 and after this change xml file gets corrupted in apps tier...
    Does creation of new xml file in apps tier captures latest value of web port 80 and all other latest changes made so far?
    Thanks for your time...

    HI All,
    say for instance, if web port has been changed from
    8000 to 80 and after this change xml file gets
    corrupted in apps tier...
    Does creation of new xml file in apps tier captures
    latest value of web port 80 and all other latest
    changes made so far?
    Thanks for your time...If autoconfig is not run after the changes are made to the context file, and the file is lost then the changes are lost.

Maybe you are looking for