How can I create a XMP List with multiple selection

Hello,
I try to build my own XMP custom panel. Herefore I need a couple of lists with the possibility for multiple selections (e.g. the choice for one language or multiple languages).
But how is it possible to integrate a list into a panel? There is no XMPList inside the custom folder. I have experimented with the standard mx:list and an array collection for data binding into the list. But how can I write the user selection into an XMP field? Example: In the List the user choose three languages (DE, EN, FR). Is it possible to collect the choice into a string and to write the result into an XMP standard field (e.g. dc:description)?
A further question is, if it's possible to use the "HTTPService" to bind an external xml-file with the languages and other informations into the panel or is it only possible to work with an array collection inside the code?
Here is my code:
<?xml version="1.0" encoding="utf-8"?>
<fi:XMPForm
          xmlns:mx="http://www.adobe.com/2006/mxml"
          xmlns:fi="com.adobe.xmp.components.*" width="100%" height="100%"
          xmlns:Iptc4xmpCore ="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
          label="XMP-Custom Panel"
          initialize="ds.send()"
          >
     <!-- Each namespace prefix that is used within an xmpPath-attribute,
           MUST BE registered at the top of EACH panel where it is referenced -->
     <fi:XMPNamespaces>
          <fi:XMPNamespace prefix="dc" value="http://purl.org/dc/elements/1.1/"/>
     </fi:XMPNamespaces>
     <fi:XMPForm>
          <mx:HBox width="100%" height="26" verticalAlign="middle">
               <mx:HRule width="50%"/>
               <mx:Label text="Allgemeine Metadaten" fontSize="12" fontWeight="bold"/>
               <fi:XMPSeparator width="50%"/>
          </mx:HBox>
          <fi:XMPFormItem
                    label="Titel"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
               <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
          </fi:XMPFormItem>
          <fi:XMPFormItem
                    label="Titel"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
               <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
          </fi:XMPFormItem>
          <fi:XMPFormItem
                    label="Druckkennzeichen"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
               <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
          </fi:XMPFormItem>
          <fi:XMPFormItem
                    label="Verfasser"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%">
               <fi:XMPComboBox xmpPath="dc:creator" width="100%"/>
          </fi:XMPFormItem>
          <fi:XMPFormItem
                    label="Versionsnummer"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
               <fi:XMPComboBox xmpPath="dc:creator" width="100%"/>
          </fi:XMPFormItem>
          <mx:HBox width="100%" height="26" verticalAlign="middle">
               <mx:HRule width="50%"/>
               <mx:Label text="Enthaltene Sprachen" fontSize="12" fontWeight="bold"/>
               <fi:XMPSeparator width="50%"/>
          </mx:HBox>
          <!-- Beginn der Auswahl-Liste für die Sprachen -->
             <mx:Script>
        <![CDATA[
            import flash.events.MouseEvent;
            import mx.controls.Alert;
            import mx.collections.ArrayCollection;
            private const NL:String = "\r";
            // A data provider created by using ActionScript
            [Bindable]
            private var subscriptions:ArrayCollection =
                new ArrayCollection
                        {data:0, label:"Deutsch"},
                        {data:1, label:"Englisch"},
                        {data:2, label:"Französisch"},
                        {data:3, label:"Italienisch"}
            [Bindable]
            private var market:ArrayCollection =
                new ArrayCollection
                        {data:0, label:"(Bitte Marktversion auswählen)"},
                        {data:1, label:"Marktversion Deutsch (M_DE)"},
                        {data:2, label:"Marktversion Englisch (M_EN)"},
                        {data:3, label:"Marktversion Frankreich (M_FR)"},
                        {data:4, label:"Marktversion Italien (M_IT)"}
            [Bindable]
            private var documenttyp:ArrayCollection =
                new ArrayCollection
                        {data:0, label:"(Bitte Dokumenttyp auswählen)"},
                              {data:1, label:"Gebrauchsanweisung"},
                        {data:2, label:"Ersatzteilkatalog"},
                        {data:3, label:"Service-Anleitung"},
                        {data:4, label:"Etikett"}
        ]]>
    </mx:Script>
                <fi:XMPFormItem label="Sprachauswahl" width="100%">
                <mx:List
                    id="userSubscriptions" rowCount="4"
                    allowMultipleSelection="true" width="100%"
                    dataProvider="{subscriptions}"
                />
            </fi:XMPFormItem>
                <mx:Text text="* Mehrfachauswahl möglich." fontWeight="normal" fontSize="10"/>
            <!-- Ende der Liste für die Auswahl von Sprachen -->
          <fi:XMPFormItem
                    label="Marktvariante"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
               <fi:XMPComboBox xmpPath="dc:creator" width="100%" dataProvider="{market}"/>
          </fi:XMPFormItem>
          <fi:XMPFormItem
                    label="Dokumenttyp"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%">
               <fi:XMPComboBox xmpPath="dc:creator" width="100%" dataProvider="{documenttyp}"/>
          </fi:XMPFormItem>
          <fi:XMPFormItem
                    label="Stichworte"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%">
               <fi:XMPTextArea/>
          </fi:XMPFormItem>
          <mx:HBox width="100%" height="26" verticalAlign="middle">
               <mx:HRule width="50%"/>
               <mx:Label text="Metadaten Photoshop" fontSize="12" fontWeight="bold"/>
               <fi:XMPSeparator width="50%"/>
          </mx:HBox>
          <fi:XMPFormItem
                    label="Originalname FA"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%" id="PS1">
               <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
          </fi:XMPFormItem>
          <fi:XMPFormItem
                    label="Fotoauftragsnummer"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Dateiname" fontSize="11" width="100%" id="PS2">
               <fi:XMPTextInput xmpPath="dc:title" xmpType="Localized" width="100%"/>
          </fi:XMPFormItem>
          <fi:XMPFormItem
                    label="Interne Anmerkungen"
                    labelTooltip="$$$/xmp/sdk/custompanels/Test/TitleToolTip=Erzeuger des Dokumentes" fontSize="11" width="100%" id="PS3">
               <fi:XMPTextArea/>
          </fi:XMPFormItem>
          <mx:Text text="* hier steht eine kleine Erläuterung" fontWeight="normal" fontSize="10"/>
     </fi:XMPForm>
</fi:XMPForm>
Any suggestions?
Thank you in advance.
Markus

Hi Markus,
the FileInfo SDK does not offer a ready-made list component allowing for multi-selection.
So you would need to implement one using the FileInfo SDK API. Your component "XMPList" would inherit from mx:list and would need to implement the XMPRead and XMPWrite events and talk to the XMP using the IXMPAccess interface within those event handlers.
Please have a look at the Programmer's Guide, section "XMP Flex components" and at the API description available in "docs" for further guidanc.
Hope this helps
Kind Regards
Jörg
Adobe XMP

Similar Messages

  • How can i Create Dynamic mailing lists with Iplanet Delegated Administrator

    Hello people,
    Could anyone help me in this matter please?
    I am running IMS5.2 with Netscape Directory4.16. I need help about how to create a Dynamic Mailing list using de Iplanet Delegated Administrator, not using the traditional Netscape Console.
    If someone can help me, i will apreciate.
    bye.
    Azim Lakha

    In 24.4.0 there is no File|New|Address Book. There is File|New|Address Book Contact. How do I create a new address book ?

  • How can i create a zip-file with multiple volumes

    Hi,
    i've to zip a large file (250 MB and more). But the zip file shouldn't be greater than 5 MB, because i have to send the file via E-Mail. So i've thought, that the solution of this problem can be to zip the large file in smaller zip-files, which are multiple volumes of a zip-archive. I've searched very long in WWW, but didn't find something. Perhaps you can help.
    Sorry, about the bad english. :-)
    Timo Bunger

    Hi
    Who said your english is bad ?. OK, are you looking for compressing the 250 MB file in to multiple versions using a java program ?. If not, there is a shareware you can download and split the file into multiple parts by specifying size of each part. You can send these parts via email and the other person can combine these parts into a single file again.
    Find this @
    http://www.freedownloadscenter.com/Utilities/File_Splitting_Utilities/EzSplit.html
    You may need to read a bit about it on how to use.
    Thanks
    Srinivas

  • How can I create a "master" document with multiple variations?

    I designed a map that will be posted at a few dozen junctions with a "you are here" symbol.  Every one will be identical with the exception of this symbol.  I don't know if there is any way to do this while preserving a "master" map that can be edited all at once.  For example, I may need to change the location of the paths and it would be a real time saver if I didn't have to edit 20+ files (each with an arrow in a different spot but otherwise the same) separately.  Also, I will be sending the file over email to a professional printer, so I am very uncertain about what would be a standard way to format something like this and really wouldn't want to clog their email.
    I haven't been able to figure out an easy way to do this.  I'm wondering if it involves using multiple artboards, a feature that I'm not very familiar with, or if the easiest way is to have a layer for each symbol location and just save twenty files (whew) and send them to the printer as separate documents - which seems super clumsy.
    I have tried copying the artboard multiple times.  This was my best attempt at editing all at once: I created whatever I needed on one artboard, then dragged it to the symbols panel, then cut, then went to edit > paste on all artboards.  However, this doesn't allow me to simply fiddle with a path or object that already exists and I can't figure out how I would delete the same object from all artboards.
    If anyone has some thoughts, I'm pretty novice, so please keep it in simple terms. Also, I am in a bit of a time crunch, so speedy answers are much appreciated!  Thank you!

    Alright, that makes sense.  And yep...I've never worked with a professional printer so I wasn't sure if it is standard to have something that will require that much involvement in the set-up on their part, but I guess it's preferable to sending a bunch of separate documents.  Thanks so much for your help, Larry!

  • How can i create a new user with only read rights ?

    How can i create a new user with only read rights ?

    You are asking about a Database User I hope.
    You can look into the Oracle 8i Documentation and find various privillages listed.
    In particular, you may find:
    Chapter 27 Privileges, Roles, and Security Policies
    an intresting chapter.
    You may want to do this with the various tools included with 8i - including the
    Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
    Or use SQL*Plus. To create a
    user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
    Create user John identified by Smith;
    Grant CONNECT to John;
    Grant SELECT ANY TABLE to John;
    commit;
    There is much more you can do
    depending on your needs.
    Please read the documentation.
    -John
    null

  • How can I create a property list inside a property list?

    How can I create a property list inside a property list?
    I have a string(that I pulled from a text member). the string
    is actually a propert list.
    the property list has another property list inside it..
    how can I use this list ? how can I conert the text to a list
    that director will understand?
    thanks.

    Not sure if this is what you're wanting, but to make a list
    from a text
    member you could do something like ...
    myList= []
    -- Fill myList with values --
    repeat with i = 1 to member("YourTextMember").line.count
    add myList, (member("YourTextMember").line.i)
    end repeat
    Haven't checked it, but it should work.
    -Matt

  • Oracle Forms - How can I create a Data Block with query

    Dear friends I have a question, I couldn't do this..
    I have a sql query, I want to show the datas of the query.. How can I do this. ?
    Data Block Wizard wants a table, view or stored procedure, but I have a query, how can I create a data block with my query.. I m waiting your helps..? Please...
    Semih

    Hi,
    You have two options
    1. create a view and base the block on the view
    2. create a block with a query Data Source Type of 'FROM clause query'
    Hope this helps
    Neil

  • How can i create a camera profile with camera raw?

    Hi
    how can i create a camera profile with camera raw without x-rite or other third software?
    i have a Colour Checker ,with different shade of gray and different colors
    i remember about a script or something like that
    i google a lot , but without luck
    can i create my camera raw profile using a color checker with photoshop acr ?
    i'm not sure but this should be the script http://simon.tindemans.eu/tools/acrcalibrator , right?
    but i don't know how use it
    is there a tutorial ? maybe a video to create a profile with camera raw
    thanks
    greetings

    Hello, I think that you search for https://www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5Fdngprofileeditor
    Here is a PDF from adobe about it: http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/cs6/ DNGProfile_EditorDocumentation.pdf
    And an article: http://www.luminous-landscape.com/reviews/accessories/dng-profiles.shtml

  • How can I create a sales order with reference to a purchase order?

    How can I create a sales order with reference to a purchase order?
    Thanks in advance...

    Hello,
    you can't create a sales order with reference to a purchase order. You can input customer PO nuber in the sales order Purchase Order number filed.
    Prase.

  • How do I create an unordered list with three items and link to id's

    How do I create an ordered list with three items and linl to id's on my page

    Thanks, I guess what I was really asking, Is there a n option in the insert menu or somewhere where Dreamweaver does it for you.
    I am not clear on what you are wanting DW to do for you?  Is it that you want it to insert a three item unordered list?  No - there's no such function.  You would need to click in Design view where you want the list to go, click on the bulleted list icon on the Property inspector, and then enter the three items separated by carriage returns.  Then you'd have to link each item specifically.
    To enter the named anchors to element ID values, CS5 has no way to do this.  You'd have to enter those links manually.

  • How can i creat CRC 32 CHECK WITH THE lookup table as attached.

    how can i creat CRC 32 CHECK WITH THE lookup table.attached
    i creat one,but not match the result number C++ version
    result number C++ version:
    FE 00 18 02 40 1E 65 43 00 03 E8        CRC32=>78 1F E9 06
    FE 01 18 02 40 1E 65 43 00 03 E8        CRC32=>F8 8F 49 61
    FE 02 18 02 40 1E 65 43 00 03 E8        CRC32=>7D FF B4 7F

    due to some reason i can not attach the table.but you can find it herehttp://lavag.org/topic/15325-crc32/,it in the CRC.llb 84.03K =>CRC-32 Table.ctl thanks a lot

  • How can I create email distribution lists in my contacts on my macbook air?

    How can I create email distribution lists in my contacts on my macbook air? I could do this on a pc using outlook, but I don't see how to do it on my new mac.

    UPDATE, ok, I figured out how to make a list, but how can I remove specific contacts from the list? The "Remove from Group" is greyed out & not available.

  • How can I create Droplets using Actions with several Stops?

    My Droplets (using Actions but with several Stops) work very nicely when using a single image source. However when using multiple images thing start to go crazy.
    At the first stop on the first image a pop-up emerges asking me to continue to the next image or stop. If I select stop I can continue with the Action for this first image and complete the Action on that first photo.
    If I select continue it halts the action on that photo at the first stop then opens the 2nd image and repeats the action to the first stop on the next photo then the pop-up appears again and the cycle repeats.
    How can I create Droplets using Actions with several Stops?

    I don't believe this is possible when starting from Java. I think you need to start with a WSDL to get this to work. I am curious as to why having multiple WSDLs is an issue, would you care to eloborate.
    Thanks

  • How can I create a single order from multiple quotations?

    How can I create a single order from multiple quotations that I have created by the transaction VA21 ?
    Thanks in advance for the answers.

    hi
    Go to transaction: /nva01
    Enter order type : ZOR
    Sale org :xxxx
    Dist.channel:xx
    Division :xx
    Press enter
    Click on “Sale document” and select Create with reference
    Then enter 1st quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation1 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 2nd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation2 copy to order.
    Then,
    Click on “Sale document” and select Create with reference
    Then enter 3rd quotation number & click on “COPY” or “Selection list”. Then click on “Copy “.Then all line items which belong to quoation3 copy to order.
    Now save the sale document.
    Kindly give reward points
    Edited by: WISH on Mar 19, 2008 2:25 PM

  • How to select value from list with multiple selections ?

    HI,
    i have a list with multiple selections where i show email address retrieved from database.
    what i want to do is to send the selected email address to the invoiceedit.jsp.
    please look at the following code which gives you the better idea.
    <td class='smalltext'><select name="email" size="3" multiple="multiple">
       <% 
       Connection conn = null;
       Statement stmt = null;
       Statement stmt_contactperson = null;
       Statement stmt_address = null;
       try{
          conn = getREConnection();
           stmt = conn.createStatement();
       ResultSet rs = null;
       rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
       int numofrows = 0;
       while(rs.next())
               %>
       <option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE")  %> </option>
        <%
           }//end of while
          %>
         </select>
        <a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
         <a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanks

    Use a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
    That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead.

Maybe you are looking for