Don't forget to call with several key-value pairs

I'm looking to invoke the application Remember and I try to send a title and a due date. The problem is that I don't know the format for sending multiple data items. Can someone help me with the format what should I use to having an remember entry created with a title and a due date?

function invokeRemember (someTitle, someDate) {}
BlackBerry.Invoke.Invoke ({}
target: "sys.pim.remember.composer."
Action: "bb.action.ADD."
URI: "remember://notebookentry?title=" + someTitle + '& duedate =' + someDate;
(}, onInvokeSuccess, onInvokeError);
}

I think "Ivoking Basic Applications" page shows how to do this: https://developer.blackberry.com/html5/documentation/remember.html

It looks like you can send the following in the field of the URI:

You can also add the following key-value pairs by adding a question mark (?) after the URI:

title=
description=
duedate=<# SECONDS SINCE EPOCH>
status=NotActionable, Completed, NotCompleted
notebookid=:
tags=

Tags: BlackBerry Developers

Similar Questions

  • How to programmatically Exchange data (key-value pairs) with operating system called?

    Hi all

    Is there a programmatic way to Exchange data (of the key-value pairs) with the guest OS?

    We have an application that runs inside comments, and we want that this application in order to use this mechanism to Exchange data. At this point, the guest have no network connectivity. One thing that might work for us is to use the registry to the guest operating system. But I'm not sure how to handle the registry of the guest operating system.

    We looked in the VirtualMachineConfigInfo.extraConfig property, but these key-value pairs are not accessible from the comments (at least this is what I know)

    any ideas?

    Thank you

    Onur

    I think that it is better to use an environment variable or file to Exchange data with the guest operating system.

    http://www.doublecloud.org/2012/03/set-environment-variables-in-guest-operating-system-on-VMware/

    http://www.doublecloud.org/2012/03/read-environment-variables-in-guest-operating-system-on-VMware/

    If you really want the registry value,

    http://www.doublecloud.org/2012/02/run-program-in-guest-operating-system-on-VMware/

    http://en.Wikipedia.org/wiki/Windows_Registry#Command_line_editing

    Good luck!

    Steve, author of the Open Source, VMware VI and vSphere SDK VI Java API

  • What is the best way to move with esx3.5 vmtools key/value pairs?

    Hello

    I found both candidates to store the key/value pairs for a vmware client. My ultimate goal is to run a process on the VC box that updates these data, and then read through the software tools of vm on the host (somehow) were invited.

    The first method is through 'guestinfo' settings which can be adjusted in four ways:

    Add the variable of the vmx fileprompt.
    Set the variable manually on the client (using vmwareservice.exe - cmd "infoset");
    using vmware-cmd (vmware-cmd & lt; vm-cfg-path & gt; setguestinfo & lt; variable & gt; & lt; value & gt;)
    the use of vmcom.dll COM objects (seems to be deprecated in ESX 3.5)
    These variables are easily accessible on the client by running vmwareservice.exe - cmd 'info-get guestinfo.variablename '. However, I cannot find a convenient way (better based on powershell) of their definition of a scheduled task or service to VC area.

    The second method is the customfields of guests in VItoolkit property, which can be defined as follows:

    get - vm MyVMName | Game-CustomField-nameOfValue name-value DataToBeStored
    Unfortunately, I am unable to access these data in the comments, and indeed I do not know if this is possible. If this isn't the case, I guess my only recourse would be to write a tool to connect to Web services on the VC box with a low privilege account. I prefer not to do this because it means the network infrastructure implementation to point the guest to the right VC, development of custom etc permissions...

    So, my questions are:

    • Is it possible to define variables of guestinfo through VI Toolbox, running on the virtual circuit?

    • Is it possible to read customfields on the client, through the vmtools?

    • Or is there another method to make this key/value data exchange?

    You can add/edit entries in the VMX file like this

    $vm = get-vm  | Get-View
    
    $vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec
    $vmConfigSpec.extraconfig += New-Object VMware.Vim.optionvalue
    $vmConfigSpec.extraconfig[0].Key= "guestinfo"
    $vmConfigSpec.extraconfig[0].Value = "whatever"
    
    $vm.ReconfigVM($vmConfigSpec)
    
  • To access the inside loops key/value pairs

    According to the docs of Shopify, liquid allows access to key/value pairs in for loops, as follows:

    {% for item in hash %}   {{point [0]}}: {{point [1]}} {% endfor %}

    This does not work in the liquid renderer in British Colombia; the output of the key/value tags are empty. Here is an example of using the always available this.urlculture global object:

    {   ...   {"urlculture": {"ModuleName": "urlculture", "culture": "EN"},...}

    {% for obj in this.urlculture %}

    {{ obj | json }}
    Key: {{obj [0]}}
    Value: {{obj [1]}}
    {% endfor %}

    This is the result I get:

    {
      "Key": "moduleName",
      "Value": "urlculture"
    }
    
    Key:
    Value:
    
    {
      "Key": "culture",
      "Value": "EN"
    }
    
    Key:
    Value: 

    Access by name (such as {{ obj.Key }} ) also fails.

    Am I missing something, or is this all just not yet implemented?

    Also, why isn't the nice formatting illustrated in this visible post editor in the current post code?

    Thank you, Robert.

    This was a great find. And you'll be happy to learn that we have set and it will work in the next version (unfortunately the hotfix does not update today, we have deployed on the beta version).

    You will then be able to do things like:

    {% for getParam in globals.get %}
    {{getParam[0]}} = '{{getParam[1]}}'
    {% endfor %}

    -Lucian

  • With the help of several key values to find the data

    Hello, it's me again.

    I had a question out about data from database and display them on a page of the ADF on Jdev 11.1.1.3.

    And Mr. Daniel Atwood answered my question with this blog to follow, that wrote.
    http://www.avioconsulting.com/blog/datwood/2012/06/19/using-BPM-process-variable-ADF-form-retrieve-database-information-0.

    But I have another question on top that.

    The Mr.Atwood example is when using a value of key 'one', what happens if I have two key values, how to set?

    Here are some details:

    I have a table like this

    ID Type_code name
    0001 05 a-blabla
    0002 b 25-blabla
    0002 26 b-blabla
    0003-08 c-blabla
    0003 25 c-blabla
    0003 c 79-blabla

    What I want to do is after the entry of the ID (0003) and type_code (25), he will show me the result on three components of text entry in the ADF with the value 0003, 25 page and c-blabla.

    Currently, I use only ID to query the data, but I would use two key values to find specific data.

    Thank you very much for taking the time to think about it,

    Sincerely,

    Alto

    If you had multiple values to use for the request, one approach would be to create a display object. Whether you are creating the view object, in step 6, you will add two bind variables. Call a "pTypeCode" and call the other "pId". Click on the back button so that you're still in step 5, and modify the WHERE clause as follows:

    (ID = :pId) and (Type_code = :pTypeCode)
    

    After you have done this, double-click the Module of the Application and add your new view object. In the tab control of data, click the Refresh button. Expand your new view object tab of data control-> expand "French"-> note that you now have a new method called "ExecuteWithParams".

    Open your workflow diagram-> delete your existing "SetCurrentRowKeyValues" method-> made slide on your new "ExecuteWithParams" operation on the diagram. When you do so, you should see two settings you need to complete the dialog box. Just as you did before with the SetCurrentRowKeyValue method, set the values for the pTypeCode and the nest.

    Add the case of control flow of the new method to your existing view-> make the new method, the default value.

    On your form, remove the fields that have been placed here who uses the old object from view. On the tab of data control, drag the fields you want to be placed on the inside of your new view object form.

    Dan

  • Need help to build the query/pl-sql block to get the query result and the name of column from DB table in the form of key-value pairs.

    Hi Experts,

    I have a DB table has columns of more than 50.

    I question this table, it should only return one line at any time. as sqldeveloper below image.

    here, I need to build block pl/sql-query, Discover the column in the table as a key and query result as values.

    Eg:     Key                         -  Value

    TASK_EVENT_ID - 1765

    EVENT_TYPE - ASR_UPDATE

    ... etc until all of the columns in my table.

    Experts please comment on that point, appreciate your help on this.

    Thank you

    -Vincent.

    Here is an approach using DBMS_SQL to iterate over the columns of key / value to assign... (Little code snipped for brevity)

    create or replace procedure (task_expired)

    v_store_id in full,

    v_task_action_id in full,

    v_job_id in full

    )

    as

    -[SNIP code...]

    v_sql VARCHAR2 (4000): = ' select * from my_table where PK = 123';  -Your SQL here!

    v_v_val VARCHAR2 (4000);

    v_n_val NUMBER;

    v_d_val DATE;

    v_ret NUMBER;

    c NUMBER;

    d NUMBER;

    col_cnt INTEGER.

    f BOOLEAN;

    rec_tab DBMS_SQL. DESC_TAB;

    col_num NUMBER;

    vAsString VARCHAR2 (4000);

    BEGIN

    -[SNIP code...]

    Message_properties. CORRELATION: = "EDF_EVENT";

    MSG: = SYS. AQ$ _JMS_BYTES_MESSAGE. Construct();

    Msg.set_string_property ('queueName', ' shipping/csi_cth');

    Msg.set_string_property ('MODE', 'CR8');

    c: = DBMS_SQL. OPEN_CURSOR;

    DBMS_SQL. PARSE (c, v_sql, DBMS_SQL. NATIVE);

    d: = DBMS_SQL. Execute (c);

    DBMS_SQL. DESCRIBE_COLUMNS (c, col_cnt, rec_tab);

    1.col_cnt J

    LOOP

    CASE rec_tab (j) .col_type

    WHEN 2 THEN

    DBMS_SQL. DEFINE_COLUMN (c, j, v_n_val);      -Number

    WHEN 12 CAN

    DBMS_SQL. DEFINE_COLUMN (c, j, v_d_val);      -Date

    ON THE OTHER

    DBMS_SQL. DEFINE_COLUMN (c, j, v_v_val, 2000);   -Else treat as varchar2

    END CASE;

    END LOOP;

    LOOP

    v_ret: = DBMS_SQL. FETCH_ROWS (c);

    WHEN OUTPUT v_ret = 0;

    1.col_cnt J

    LOOP

    -Fetch each column to the correct data type based on coltype

    CASE rec_tab (j) .col_type

    WHEN 2 THEN

    DBMS_SQL. COLUMN_VALUE (c, j, v_n_val);

    vAsString: = to_char (v_n_val);

    WHEN 12 CAN

    DBMS_SQL. COLUMN_VALUE (c, j, v_d_val);

    vAsString: = to_char (v_d_val, ' DD/MM/YYYY HH24:MI:SS');

    ON THE OTHER

    DBMS_SQL. COLUMN_VALUE (c, j, v_v_val);

    vAsString: = v_v_val;

    END CASE;

    Msg.set_string_property (rec_tab (j) .col_name, vAsString);

    END LOOP;

    END LOOP;

    DBMS_SQL. CLOSE_CURSOR (c);

    DBMS_AQ. ENQUEUE (queue_name-online 'cbus.aqjms_common',

    Enqueue_options => Enqueue_options,

    Message_properties => Message_properties,

    Payload-online msg,

    Msgid => Message_handle);

    dbms_output.put_line ('00 Msgid =' |) Message_handle);

    dbms_output.put_line('===Done=');

    -[SNIP code...]

    END;

    /

  • The drop-down list schema lists (with the name/value pairs)

    Hello

    I'm looking for more information on creating a schema type definition that LiveCycle Designer ES will fill (fill in the name and value) of drop-down lists. For example, I have something like:

    < xsd:simpleType name = "RoleTypeCodeType" >
    < xsd:restriction base = "xsd:token" >
    < value xsd: Enumeration = 'ABC' >
    < xsd: annotation >
    < xsd: documentation >
    Aboriginal community
    < / xsd: documentation >
    < / xsd: annotation >
    < / xsd: Enumeration >
    < value xsd: Enumeration = "ADJ" >
    < xsd: annotation >
    < xsd: documentation > referee < / xsd: documentation >
    < / xsd: annotation >
    < / xsd: Enumeration >
    ...

    < xsd:minLength value = "1" > < / xsd:minLength >
    < xsd:maxLength value = "3" > < / xsd:maxLength >
    < / xsd:restriction >
    < / xsd:simpleType >

    This creates a list. I can bind this to a list field. However, of course, when I saw the pdf, my drop down list items in this area are just the three-letter code. I would get the descriptions associated with these articles (as shown on the connection tab) to be filled. The end result is that my list see 'Indigenous community', 'referee', etc. and when selected, return 'ABC', 'ADJ' in the XML during export.

    If list under the connection tab items are filled manually then this export works correctly. However, the list is generated during execution and dynamic. So nobody knows what the schema definition must be for the field in the list on the LiveCycle form to create the name-value pairs?

    Thank you

    John

    Hi John,.

    You will need to incorporate the schema, but you can reference the imported schema as they get integrated as well (there a bug in the designer when they were not integrated, but I think it crept in 8.0).

    In any case to refer to the imported schema you will need to loop though all schemas

    var

    schemas = xfa.resolveNodes('schema[*]');

    Will give it refers to all schemas, the fine loop them;

    for

    (var schemaIndex = 0; schemaIndex< schemas.length;="">

    So if these patterns have an id attribute (I don't think that you can refer to namespace attributes) test the value of the id;

    If

    (schema.@id is "whateveryourschemaidis")

    If there is no attribute ID and you cannot add a you might have to search for the type in each scheme, something like;

    var roleTypeCodeType is schema.xsd::simpleType. (@name is "roleTypeCodeType");

    If (roleTypeCodeType! == undefined)

    {

    ... load the values of the annotation.

    }

    Hope that helps but if you if you can post your schema (and it's imports), I could understand exactly the problem.

    Bruce

  • Key value pair relational table - cross tab / pivot out?

    I have a Table of KVP and the structure is ID, Key, Value and this is the sample values...

    Table with values

    ID, Key, Value
    TABLE 1, TRUE
    1, AGE GROUP, 10
    1, TRAVEL, Y
    2, TABLE, FALSE
    2, AGE GROUP, 20
    2, TRAVEL, N

    I want to turn it these date like below (output)

    ID, STATUS, AGE GROUP, TRAVEL
    1, TRUE, 10, Y
    2, FALSE, 20 N

    I read on analysis crossroads/pivot - but not able to make a query that can give me the output above. The structure of the table cannot be changed...! My bad.

    Is it possible in sql, to do my output to look like above?

    It is possible if you know all the possible values for the KEY:

    with t as (
               select 1 id,'STATUS' key,'TRUE' val from dual union all
               select 1,'AGE GROUP','10' from dual union all
               select 1,'TRAVEL','Y' from dual union all
               select 2,'STATUS','FALSE' from dual union all
               select 2,'AGE GROUP','20' from dual union all
               select 2,'TRAVEL','N' from dual
              )
    select  id,
            max(case key when 'STATUS' then val end) status,
            max(case key when 'AGE' then val end) age,
            max(case key when 'AGE GROUP' then val end) "AGE GROUP",
            max(case key when 'TRAVEL' then val end) travel
      from  t
      group by id
    /
    
            ID STATUS AGE   AGE GROUP TRAVEL
    ---------- ------ ----- --------- ------
             1 TRUE         10        Y
             2 FALSE        20        N
    
    SQL> 
    

    If you are on 11g, you can use the PIVOT, but again, he must know the columns resulting from the outset.

    Another thing, you could do is to return a list CSV key of all the values in a column using STRAGG (or LISTAGG if you are on 11.2), hierarchical queries, XML or WM_CONCAT without papers.

    SY.

  • Add key/value pairs to an ArrayList from a HashMap in

    I'm trying to create a HashMap, loop through this hash table, and finally, I try to create an ArrayList of key/value - of the HashMap pairs - containing, in its set of value, a parameter value. I know that maybe it's a little difficult to understand, so I provided my code to make sense what I'm trying to accomplish.
    package data;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    
    public class ProductInventory 
    {  
        private Map <String, ArrayList<String>> product;
        private ArrayList <String> buildProduct;
        private ArrayList <ArrayList<String>> addProduct;
    
        public ProductInventory()
        {   
            /** Set default values **/
    
            product = new <String, ArrayList<String>> HashMap();
            buildProduct = new ArrayList<String> ();
            addProduct = new ArrayList<ArrayList <String>> ();
            
            /** START - Create ArrayList for each item and add to HashMap**/
    
            ArrayList <String> c1 = new ArrayList<String>();
            ArrayList <String> c2 = new ArrayList<String>();
    
            c1.add("computer"); c1.add("Apple"); c1.add("iPad2"); c1.add("499.00");
            c2.add("computer"); c2.add("Asus"); c2.add("Zenbook"); c2.add("1449.00");
    
            ArrayList <String> tv1 = new ArrayList<String>();
            ArrayList <String> tv2 = new ArrayList<String>();
    
            tv1.add("television"); tv1.add("Panasonic"); tv1.add("Viera"); tv1.add("899.00");
            tv2.add("television"); tv2.add("Samsung"); tv2.add("Series 6"); tv2.add("1597.00");
    
            ArrayList <String> a1  = new ArrayList<String>();
            ArrayList <String> a2 = new ArrayList<String>();
    
            a1.add("audio"); a1.add("Bose"); a1.add("321 GS Series III"); a1.add("999.00");
            a2.add("audio"); a2.add("Onkyo"); a2.add("HT-S3400"); a2.add("329.00"); 
    
            /** END - Create ArrayList for each item and add to HashMap **/
    
            /** Add entrys to HashMap **/
    
            product.put("CMC769LLA",c1);
            product.put("CUX31EDH72",c2);
            product.put("TVTCL50E3",tv1);
            product.put("TVUN55D6000",tv2);
            product.put("A321GSIIIBK",a1);
            product.put("AHTS3400",a2);
    
        }
    
        /** For the sake of this example, the productAttribute parameter will be equal to "computer"  **/
        
        public void setProducts(String productAttribute)
        {
                for (Map.Entry <String, ArrayList<String>> entry : product.entrySet()) /** Loop through all entrys in the HashMap **/
                {              
                    for (String s: entry.getValue()) /** Loop through all values in HashMap**/
                    {
                        /** Add product attributes **/
                        if (s.equals(productAttribute))  /** Check to see if param exists in the value set**/
                        {
                           /** Add key to buildProduct ArrayList **/
                            buildProduct.add(entry.getKey()); 
    
                             /*Loop through values of the corresponding key and add to buildProduct*/
                            for (Iterator<String> i = entry.getValue().iterator(); i.hasNext();)
                            {    
                                    Object item = i.next(); 
                                    buildProduct.add(item.toString());
                            }
                            
                            /** Add buildProduct arrayList to product arrayList **/
                            addProduct.add(buildProduct);
                            break; /** Exit nested loop**/
                        }
                    }
                }  
        }
    }
    For the desired output, it can be assumed that the value of the productAttribute parameter is "computer."

    Output current of the ArrayList addProduct:
    Size of ArrayList: [2]
    Content of each element:
    [0] - (Size [10]
          [0] - "CMC769LLA"
          [1] - "Computer"
          [2] - "Apple"
          [3] - "iPad2"
          [4] - "499.00"
          [5] - "CUX31EDH72"
          [6] - "Computer"
          [7] - "Asus"
          [8] - "Zenbook"
          [9] - "1449.00"
    [1] - (Size [10])
         /**  It includes the exact same content as element [0] **/
    Desired output of the ArrayList addProduct:
    Size of ArrayList: [2]
    Content of each element:
    [0] - (Size [5])
          [0] - "CMC769LLA"
          [1] - "Computer"
          [2] - "Apple"
          [3] - "iPad2"
          [4] - "499.00"
    [1] - (Size [5])
          [0] - "CUX31EDH72"
          [1] - "Computer"
          [2] - "Asus"
          [3] - "Zenbook"
          [4] - "1449.00"
    I can't understand what I'm doing wrong. Any help would be greatly appreciated.

    You have defined buildProduct and then add to it.

    buildProduct = new ArrayList ();
    

    Do this assignment at the top of each loop so that a new ArrayList is allocated.

    1 buildProduct = new ArrayList () ;
    2. Add your 4 things using buildProduct.add
    3. Add buildProduct to your 'mother' object - addProduct.add (buildProduct);
    4. loop back to step 1 and create a new arraylist to the next set of elements

  • How can I navigate another feature of a local html and remote html url and transmit data or the key, value pair?

    Hello

    I'm trying to integrate a local html file and a remote url base html file MAF 2.0.1 based app. I want to access another device (based amx) on click of a button on the html pages. How can I achieve the same?

    Already tried with the below which fails with call javascript directly on the page html itself.

    -HTML-

    <! DOCTYPE html >

    < html >

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = windows-1252 "/ >"

    Home < title > < /title >

    < script type = "text/javascript" >

    document.addEventListener ("deviceready", callfeature, false);

    function callfeature() {}

    Alert ("callfeature called to map");

    adf.mf.api.gotoFeature ("sni.gps.demo.locationFeature", function (req, res) {})

    Alert ("full gotoFeature");

    },

    function (req, res) {}

    Alert ("gotoFeature failed with" + adf.mf.util.stringify (res));

    });

    Alert ("callfeature called to map closed");

    }

    < /script >

    < / head >

    < body >

    Simple mobile Web Page < h1 > < / h1 > < form method = "get" >

    < input id = "ip1" name = "name" / >

    <!-a href = "mycustomurlscheme://somedata" id = "myurl" > map < / a->

    < button type = "button" id = 'mybtn' name = "gpsbtn" onclick = "callfeature ()" >

    go to the feature

    < / button >

    < / make >

    < / body >

    < / html >

    Hello

    update to 2.1 MAF gives you , that can be added to HTML files the and remote access to the MAF since JavaScript API. Deepak mentioned "adf.mf.api.gotoFeature" and I can confirm it works HTML distance (and so it should be using local HTML). For the transmission of data, not sure whether the request URL object it. I would try here EL referencing a managed bean of application-scope defined in the scope of application (?). I tried beans controlled but so far has not tried to access the managed beans to a feature local or remote HTML using EL (although the EL is here)

    Frank

  • How to retrieve several key/XML attributes

    Hi community, we get this doc XML, we want to extract the Alias. As the Alias is defined as several key/attribute pairs. How can we do this? The sql below works but when how we flatten alias so the button under the column name and the value is value line?

    with xmltst as (select
    --/SWs/SW[1]/Aliases/Alias[4]
    xmltype (
    '<?xml version="1.0" encoding="UTF-8"?>
    <SWs version="1.0" xsi:schemaLocation="http://xmlns.kazuneric.com/it/eng/v1 /kazuneric/v1/AssDataInternal-1_0.xsd"
    xmlns="http://xmlns.kazuneric.com/v1" xmlns:ext="http://xmlns.kazuneric.com/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <Aliases>
            <Alias Key="ProxyVersion">5.5.7075.0</Alias>
            <Alias Key="SiliconUnitsGenerationComments">9 units missing out of 959</Alias>
            <Alias Key="ReconWaferScribedID">82541239.0106C3</Alias>
            <Alias Key="ReconLotID">000PM50601P.0M0</Alias>
            <Alias Key="PnP_ProcessSegment">RECON</Alias>
            <Alias Key="PnP_EquipmentID">3DPNP6-D</Alias>
            <Alias Key="PnP_ProcessModule">RECON</Alias>
            <Alias Key="PnP_OperationName">RECON_PNP</Alias>
            <Alias Key="PnP_OperationNumber">052</Alias>
            <Alias Key="PnP_Operator">10010512</Alias>
            <Alias Key="PnP_ReconCarrierID">1020349</Alias>
            <Alias Key="PnP_ReconTapeBatchID">tape batch example</Alias>
            <Alias Key="PnP_StartTimestamp">2015-02-08T11:07:43+08:00</Alias>
            <Alias Key="PnP_EndTimestamp">2015-02-08T11:07:43+08:00</Alias>
          </Aliases>  
    <SW s_ID="T6B890.00-01" t_ID="T6B890.00">
          <Ds>
    <De sX="59" sY="-57" rX="7" rY="22" m_ID="L" eTime_s="2014-12-12T02:22:11+08:00" eTime_e="2014-12-12T02:22:42+08:00" mst="0.631"/>
    <De sX="70" sY="-57" rX="7" rY="23" m_ID="L" eTime_s="2014-12-12T02:22:12+08:00" eTime_e="2014-12-12T02:22:33+08:00" mst="0.217"/>
    <De sX="69" sY="-57" rX="47" rY="1" m_ID="R" eTime_s="2014-12-12T02:22:16+08:00" eTime_e="2014-12-12T02:22:56+08:00" mst="0.974"/>
    </Ds>
    </SW>
    <SW s_ID="T6B890.00-02" t_ID="T6B890.00">
    <Ds>
    <De sX="56" sY="-1" rX="72" rY="19" m_ID="R" eTime_s="2014-12-12T02:36:01+08:00" eTime_e="2014-12-12T02:36:29+08:00" mst="0.541"/>
    <De sX="57" sY="-1" rX="39" rY="42" m_ID="L" eTime_s="2014-12-12T02:22:12+08:00" eTime_e="2014-12-12T02:23:01+08:00" mst="0.426"/>
    <De sX="58" sY="-1" rX="72" rY="20" m_ID="R" eTime_s="2014-12-12T02:36:07+08:00" eTime_e="2014-12-12T02:36:18+08:00" mst="0.716"/>
    </Ds>
    </SW>
    </SWs>') xmldata
    from dual
    )
    SELECT
    x1.s_id, x1.t_id,x2.*
    FROM xmltst t,
    XMLTABLE (
              xmlnamespaces(
                            default 'http://xmlns.kazuneric.com/v1'
                           ),
    '/SWs/SW'
    PASSING t.xmldata
    COLUMNS s_ID varchar2(30) PATH '@s_ID',
    t_ID varchar2(30) PATH '@t_ID',
    ds xmltype PATH 'Ds'
    ) x1
    ,XMLTABLE (
              xmlnamespaces(
                            default 'http://xmlns.kazuneric.com/v1'
                           ),
    'Ds/De'
    PASSING x1.ds
    COLUMNS sX number PATH '@sX',
    sY number PATH '@sY',
    rX number PATH '@rX',
    rY number PATH '@rY',
    eTime_s varchar2(30) PATH '@eTime_s',
    eTime_e varchar2(30) PATH '@eTime_e',
    mst number PATH '@mst'
    ) x2
    

    Just to add more columns to X 3:

    with xmltst in (select

    -/ SWs/SW [1] / alias/Alias [4]

    XmlType)

    '

    http://xmlns.kazuneric.com/it/Eng/v1 /kazuneric/v1/AssDataInternal-1_0.xsd.

    "xmlns ="http://xmlns.kazuneric.com/v1"xmlns:ext ="http://xmlns.kazuneric.com/v1"xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance">".

         

            5.5.7075.0

            9 missing units on 959

            82541239.0106C3

            000PM50601P.0M0

            RECON

            3DPNP6-D

            RECON

            RECON_PNP

            052

            10010512

            1020349

            example of batch of tape

            2015 02-08 T 11: 07:43 + 08:00

            2015 02-08 T 11: 07:43 + 08:00

            

         

    XMLDATA ')

    of the double

    )

    SELECT

    x 1 .s_id, x1.t_id,

    x 3. ProxyVersion,

    X3.comments,

    X2.*

    OF xmltst t.

    XMLTABLE)

    XmlNamespaces)

    default 'http://xmlns.kazuneric.com/v1'.

    ),

    "/ SWs/SW.

    PASSAGE t.xmldata

    COLUMNS s_ID varchar2 (30) path "@s_ID",.

    t_ID varchar2 (30) path "@t_ID",.

    DS xmltype PATH "/ SW/Ds.

    ) x 1

    XMLTABLE)

    XmlNamespaces)

    default 'http://xmlns.kazuneric.com/v1'.

    ),

    "Ds/en.

    PASSAGE x1.ds

    SX number PATH "@sX"COLUMNS,

    sY number PATH "@sY",

    rX number PATH "@rX",

    rY number PATH "@rY",

    eTime_s varchar2 (30) path "@eTime_s",.

    eTime_e varchar2 (30) path "@eTime_e",.

    STD number PATH "@mst"

    ) x 2,

    XMLTABLE)

    XmlNamespaces)

    default 'http://xmlns.kazuneric.com/v1'.

    ),

    "/ SWs/alias.

    PASSAGE t.xmldata

    COLUMNS

    ["Varchar2 (15) PATH of the ProxyVersion ' Alias[@Key="ProxyVersion "]',

    Comments Varchar2 (20) PATH "Alias[@Key="SiliconUnitsGenerationComments"]"

    ) x 3

    /

    S_ID T_ID PROXYVERSION COMMENTS SX SY RX RY ETIME_S ETIME_E STD
    ------------ --------- --------------- -------------------- --- --- --- --- ------------------------- ------------------------- -----
    T6B890.00 - 01 T6B890.00 5.5.7075.0 9 units Miss-59 57 7 22 2014-12 - T 12, 02: 22:11 + 08:00 12-2014-T 12, 02: 22:42 + 08:00.631
    T6B890.00 - 01 T6B890.00 5.5.7075.0 9 units Miss 70 57 7 2014 23-12 - T 12, 02: 22:12 + 08:00 12-2014-T 12, 02: 22:33 + 08:00.217
    T6B890.00 - 01 T6B890.00 5.5.7075.0 9 units Miss 69 57 47 1 2014-12 - T 12, 02: 22:16 + 08:00 12-2014-T 12, 02: 22:56 + 08:00.974
    T6B890.00 - 02 T6B890.00 5.5.7075.0 9 units Miss 56-1 72 19 2014-12 - T 12, 02: 36:01 + 08:00 12-2014-T 12, 02: 36:29 + 08:00.541
    T6B890.00 - 02 T6B890.00 5.5.7075.0 9 units miss at 57-1 39 42 2014-12 - T 12, 02: 22:12 + 08:00 12-2014-T 12, 02: 23:01 + 08:00.426
    T6B890.00 - 02 T6B890.00 5.5.7075.0 9 units miss at 58-1 72 20 2014-12 - T 12, 02: 36:07 + 08:00 12-2014-T 12, 02: 36:18 + 08:00.716

    6 selected lines.

    SQL >

    SY.

  • How to read file(key-value) in OSB properties?

    Hello

    I have a scenario in which I have to read a few properties(key-value) in a file. Former entire code was developed in java and it is easy to read the java properties file.
    But now I need to implement this in OSB and performance is a crucial element in this project.

    I followed DVM approached defined in

    http://blogs.Oracle.com/christomkins/2010/02/domain_value_maps_in_oracle_se.html and http://blogs.oracle.com/christomkins/2010/02/domain_value_maps_in_oracle_se.html

    But it did not work. I have hundreds of properties (key-value pairs) to read and must transmit it to the service of the company and with the intervention of the proxy service.

    What is the best approach for this (can't go to db call performance being very critical)?

    Thank you
    Maryse

    Hello Francois,.

    XPath in the action assign OSB should be like -

    $DVMVar / ns1:rows[1]/ns1:row[1]/ns1:cell[1]/text()

    where DVMVar is the content below -








    Dealer.Locate.default.buypower.Link
    http://www.xyz.com


    dealer.locate.default.unitOfMeasure
    MILES


    Dealer.Locate.Brand.identifier.nu
    Nurun


    Dealer.Locate.Brand.identifier.bu
    Buick


    Dealer.Locate.Brand.identifier.ca
    Cadillac


    Kind regards
    Anuj

  • by the way of multiple key values

    Hi all

    I need to know how to pass the keystore multiple values for more information of a simultaneously.i esxserver came to know that keystore value from the variable approx.

    ' %JAVAHOME%"\bin\java-'%»-Djavax.net.ssl.trustStore="%VMKEYSTORE% LOCALCLASSPATH' cp - Xmx1024M ARG %.

    can I know what - Xmx1024M in this average line. ? and if I put several key values:

    c:\VMware-Certs\vmware.keystore;c:\VMware-Certs\vmware1.keystore in the variables env, I get error.

    Can I get a detailed explanation of what is happening.

    Thanks in advance.

    Simo

    You can import the certificates of all servers in the same keystore file and just refer to that one.

    Steve JIN, VMware engineering

    Creator of VI Java API: http://vijava.sf.net

  • My hard drive is dead and I don't have a Vista Home premium, I have a stamp with the key of the operating system

    My hard drive is dead and I don't have a Vista Home premium, I have a stamp with the key of the operating system.

    I called Microsoft and they say that the only one who can provide me with this OS is the provider. What can I do to DOWNLOAD the OS for my Acer Aspire M1610

    Hello acabiya,

    You can order the eRecovery DVD media your Acer Customer Service or your Acer store.

    You can not download it.

  • My contacts don't see who I am in a call with?

    Hello

    I'm new to Skype, but I have a question about my calls.

    members of my contacts don't see who I am in a video call with? can they still "call me"? or I will be offline since I am already in a call?

    Thanks for any help.

    If you are in a call, while others see this.
    When you are already in a call and second call comes then you will have the opportunity to put one on hold or join the second call to the current call.

    You can set your status to "do not disturb", if you wish, and then the calls will be rejected automatically or sent to your voicemail if you have.

    You will not be shown offline if you are in a call, your status will remain the same.

    André

    If the answer was helpful, please mark with congratulations , and if the problem is resolved you can mark it with solution. This will help other users found this answer more easily. Thanks in advance!

Maybe you are looking for