problems with selection of XMLType column value

I want to extract my XMLType column values. Can someone tell me why this works
select XMLCAST
          (
            XMLQUERY
            (
               'declare default element namespace  "urn:hl7-org:v3"; (: :)
                declare namespace voc = "urn:hl7-org:v3/voc"; (: :)
                $doc/ClinicalDocument/recordTarget/patientRole/patient/name/family'
                passing CCD_DOC as "doc"
                returning content
            )
            as VARCHAR2(4000)
          )
     from CCD
but it does not work?
select
    ccdid,
    extractvalue(CCD_DOC,'/recordTarget/patientRole/patient/name/given') "given",
    extractvalue(CCD_DOC,'/recordTarget/patientRole/patient/name/family') "family",
    extractvalue(CCD_DOC,'/recordTarget/patientRole/providerOranization/name') "name",
    extractvalue(CCD_DOC, 'title') as Title
from CCD
where ClinicalDocument is the root element?

I don't get any errors on the other, but the three XML derived columns are null. The values are not retrieved while the values ARE retrieved using the first method.

Thank you!

XMLTable...

select x.*
  from CCD,
       XMLTable
       (
         xmlNamespaces
         (
           default 'urn:hl7-org:v3',
           'urn:hl7-org:v3/voc' as "voc"
         ),
         '$doc/ClinicalDocument/recordTarget/patientRole'
         passing CCD_DOD as "doc"
         columns
         given varchar2(128) path 'patient/name/given',
         family varchar2(128) path 'patient/name/family',
         name varchar2(128) path 'providerOranization/name'
       ) x

Tags: Database

Similar Questions

  • Problem with the collection xmltype column - tags endangered

    Hello

    Apex 4.0, I have a traditional relationship with this query:
    SELECT c.collection_name,
           c.seq_id,
           c.c001,
           c.c002,
           c.xmltype001.getclobval() xmltype001
    FROM   apex_collections c
    The xmltype001 column is set to display text (special escape characters). What I see on the page of this something column is:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
     <env:Header/>
     <env:Body>
     <m:tag1 xmlns:m="http://cosservices/COSServices.wsdl">
     <result xmlns:typ="http://cosservices/COSServices.wsdl/types/">
     <typ:tag2>
     <typ:subdepartmentCode>AUTO</typ:subdepartmentCode>
     <typ:subdepartmentName>Automotive</typ:subdepartmentName>
     <typ:itemNumber>0000610</typ:itemNumber>
    ...
    This column is filled by calling a web service using this package Apex web service utility, and this is the content for this column. However, when I export to CSV, what I see in the text file is the following:
      
      
        
          
            
              
              AUTO
              Automotive
         0000610
    ...
    In case you missed it: all tags have disappeared and that the actual data remained. If I change the type of column to Column Standard in the report, the same thing is happening on the page.

    My findings to date are:
    -Tags are present in the column, as it is sort of the column display in text type is smart enough to display the data correctly.
    -It seems that this has something to do with the character encoding, but I don't know how to fix it. I tried to use the convert() function but no luck.

    Any ideas?

    Thank you
    Luis

    Hi Luis,.

    It is not something as simple that the attribute "Strip HTML" report, is it?
    (ie - change no.)

    Scott

  • Problem with update of a column by using the procedure of database and refreshing or put in value programmatically

    Dear all,

    I am a beginner in the ADF and am under Jdeveloper Studio Edition Version 12.2.1.0.0.

    I have a page that consists of two taskflows.

    First workflow has a fragment which is to have a table based on view object salespersons (not editable)

    Second task flow contains a form of ADF from the same view object Salespersons.

    As the user selecting a line in the table of the same record is displayed as no problem.

    Now, I have added two buttons Activate and Deactivate that is to change the status of the sales.

    I tried to use two ways an updated using the procedure of database and then put in value by programming and I have different questions with two of them:

    Now, here's the code of the Java bean for activation:

    Option A - the problem with this is the value of the column in the list (the first task rate displayed) is not synchronized

    and Activate and Deactivate buttons are not disabled and active properly.

    {} public void confirmActivation (DialogEvent dialogEvent)

    If (dialogEvent.getOutcome () == DialogEvent.Outcome.yes) {}

    DBSequence vId;

    vId = dcId.getValue ((DBSequence));

    Links BindingContainer = getBindings();

    OperationBinding operationBinding;

    operationBinding = bindings.getOperationBinding ("changeSalespersonsStatus") (OperationBinding);

    operationBinding.getParamsMap () .put ("pId", vId.getValue ());

    operationBinding.getParamsMap () .put ("pStatus", "A");

    Object result = operationBinding.execute ();

    dcStatus.setValue ("A");

    } else {}

    return;

    }

    }

    Option B - the problem with this is that the value of input for status text appears in the Active form for all records in form regardless of its database.

    {} public void confirmActivation (DialogEvent dialogEvent)

    If (dialogEvent.getOutcome () == DialogEvent.Outcome.yes) {}

    -no doubt this two lines are not needed here

    DBSequence vId;

    vId = dcId.getValue ((DBSequence));

    dcStatus.setValue ("A");

    BindingContainer links = getBindings();

    OperationBinding operationBinding;

    the operationBinding = bindings.getOperationBinding("Commit") (OperationBinding);

    Object result = operationBinding.execute ();

    } else {}

    return;

    }

    }

    Here's the code from the Fragment of shape for used buttons.

    "< af:button text = 'Activate' id ="bActivate' icon="/icons/activate.png ' iconPosition = 'top '.

    partialTriggers = "Bcreer bSaveInsert bCancelInsert dDeactivate dActivate".

    Binding = "#{pageFlowScope.salespersonsForm.buttonActivate} '"

    Disabled = ' #{bindings. " Status.inputValue! {= ' n '} ">"

    < af:showPopupBehavior popupId = "pActivate" / >

    < / af:button >

    "< af:button text = 'Disable' id = 'bDeactivate' icon="/icons/deactivate.png ' iconPosition = 'top '.

    partialTriggers = "Bcreer bSaveInsert bCancelInsert dDeactivate dActivate".

    Binding = "#{pageFlowScope.salespersonsForm.buttonDeactivate} '"

    Disabled = ' #{bindings. " Status.inputValue! {= 'A'} ">"

    < af:showPopupBehavior popupId = "pDeactivate" / >

    < / af:button >

    Here's matching Popups for each of the buttons Activate and Deactivate.

    < childCreation = "deferred" autoCancel af:popup = "disabled" id = "pActivate" >

    < af:dialog id = "dActivate" type = "YesNo" title = 'Status of salespersons' closeIconVisible = 'false '.

    affirmativeTextAndAccessKey = "& amp; Yes"cancelTextAndAccessKey ="& amp; (Cancel)

    noTextAndAccessKey = "& amp; No '.

    dialogListener = "#{pageFlowScope.salespersonsForm.confirmActivation}" >

    < f: facet = 'buttonBar' name / >

    < af:outputLabel value = "Are you sure you want to enable the seller?" id = "ol1" / >

    < / af:dialog >

    < / af:popup >

    < childCreation = "deferred" autoCancel af:popup = "disabled" id = "pDeactivate" >

    < af:dialog id = "dDeactivate" type = "YesNo" title = 'Status of salespersons' closeIconVisible = 'false '.

    affirmativeTextAndAccessKey = "& amp; Yes"cancelTextAndAccessKey ="& amp; (Cancel)

    noTextAndAccessKey = "& amp; No '.

    dialogListener = "#{pageFlowScope.salespersonsForm.confirmDeactivation}" >

    < f: facet = 'buttonBar' name / >

    < af:outputLabel value = "Are you sure you want to disable the seller?" id = "ol2" / >

    < / af:dialog >

    < / af:popup >

    Thanks in advance.

    Best regards

    Arif Khadas

    If you bind components to a range of flow page bean. You must complete that it saves the State of the component longer than the life of the component.

    To change the value of the GET value of the component of the link layer and change it.

    In this way the changes are captured by the framework and you should see them.

    Timo

  • Problem with the format of the values in the command prompt (when you use multiple values)

    Hi all

    I have problem with the format of the values in the command prompt when you use multiple values.

    Value is year (2009) and when I use it in the drop-down list that is formatted, all right, as 2009, but when I use several values I get number as 2009,00. I put in year column format number with 0 decimal places and save by default in the year column. Year is formatted well anywhere in the query, such as 2009. Why is - what happens at the command prompt when you choose multiple values in prompt dashboard?

    Thank you

    I think the YEAR Data Type could be defined DOUBLE RPD.

    Use the CAST function in the formula (fx) and the output from test.

    CAST (INT YEAR)

    Hope, it will help you.

  • Select the XMLTYPE column

    I'm currently running SQL Developer 1.5.5. on Windows XP SP2.

    Do a SELECT with 1 xmltype column blocks Developer SQL redraw. Table and select ist following the example of code.
    The effect is that the sql worksheet is not redrawn. Mouse on the leaves of results brings each column to display except xmltype column.
    SQL> desc ibb_formulardaten
     Name                  Null?    Typ
     ------------------------------ --------------
    
     ID                    NOT NULL NUMBER(10)
     FRM_ID                NOT NULL NUMBER(10)
     DATEN                          XMLTYPE
     STATUS                NOT NULL VARCHAR2(20)
    
    SQL> SELECT id, frm_id, daten FROM ibb_formulardaten WHERE id = 12345;
    Anyone can reproduce for my problem?

    Thanks a lot for any suspicion!
    Christian

    What happens when you run the select statement in SQL * more? It crash?

    Post your insert statements. In this way we can verify it is valid xml.

    You can try to download new SQL Developer. Maybe something got corrupted on your current installation.

    I use "sqldeveloper - 1.5.4.59.40 - no. - jre.

  • iTunes problem with selection checking / unchecking

    Hello, I have a recurring problem with iTunes which I hope someone can help me please! That the size of my library is greater than the capacity of my iPod, I uncheck a lot of my songs in order to keep under the limit of capacity during the synchronization. However, recently almost everytime I sign back into iTunes, it has been reset so that each song is checked and therefore it synchronizes I'm more capacity. It is very annoying to have to go back through my library and uncheck songs I don't want out there every time.  Anyone have any idea why it does this please?

    Hey there claya1984,

    Welcome to Apple Support communities.

    As I understand it, there is a problem with all the songs are checked when launch connecting to iTunes on your MacBook Pro. Try to take a glance at the article following the link and removing add-ons from third-party iTunes that you can use with iTunes.

    iTunes: solving problems with third party plug-ins iTunes - Apple Support

    If the problem persists, you can isolate and resolve almost any issue in Mac OS X by testing with a different user account, as shown here:

    Insulation in Mac OS X - Apple support questions

    So long.

  • Problems with selective applications on the start screen

    https://gyazo.com/e1bd0595bbdc232c77294f19f1acb038

    Original title: I have 6 tiles stuck on my screen! They're kkkkk!

    * Thread moved customization and ease of access

    Hello

    Welcome to the Microsoft community. I will certainly help you with the problem you are experiencing. I would be grateful if you could help me with more information.

    • What happens when you click on one of the applications that is locked? Is there an error message?
    • When was the last time it was working fine? Remember to make changes before this hardware or software problem?
    • If you go to "all apps", do you see these listed applications? If so, they work well here?
    • Have you tried to uninstall and reinstall these applications?

    You can read the following article and check if it helps.

    Solve problems with a soft

    Please answer with a brief description of the problem as well as the answers to the above questions. We will be happy to help you.

  • extraction of XMLType column value

    Hi team,

    Am new on querying XML and would like to ask for your help on the underside.

    I have a Table - DEQUEUE_3_OUT

    DESC DEQUEUE_3_OUT

    Name of Type Null

    ------- ---- ---------

    XML_MSG XMLTYPE()

    Now my Table has a record participation in the XML below-

    " < ROW_LCR xmlns =" http://xmlns.Oracle.com/streams/schemas/LCR "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi: schemaLocation = " http://xmlns.Oracle.com/Streams/schemas/LCR http://xmlns.oracle.com/streams/schemas/lcr/streamslcr.xsd" > ""

    < source_database_name > ORCL. ST - IDC. IDC. ORACLE.COM < / source_database_name >

    updated < command_type > < / command_type >

    < proprietaire_objet > XYZABC < / proprietaire_objet >

    < object_name > NOTIFY_TABLE < / object_name >

    < transaction_id > 4.23.3135 < / transaction_id >

    < SNA > 4727635 < / SNA >

    < old_values >

    < old_value >

    < nom_de_colonne > NOTIFICATION_ID < / nom_de_colonne >

    < data >

    < varchar2 > 6 < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > NOTIFICATION_TYPE < / nom_de_colonne >

    < data >

    < varchar2 > 2 ERROR < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > SOURCE_SYSTEM < / nom_de_colonne >

    < data >

    GFIPRD < varchar2 > < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > POINT < / nom_de_colonne >

    < data >

    DNB < varchar2 > < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > ERROR_SOURCE < / nom_de_colonne >

    < data >

    MULTIPLE_MATCHES_LOC < varchar2 > < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > BATCH_ID < / nom_de_colonne >

    < data >

    < number > 3 < / number >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > BATCH_DESC < / nom_de_colonne >

    < data >

    GFIPRD < varchar2 > < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > ASSIGNED_TO < / nom_de_colonne >

    < data >

    OLD_USER < varchar2 > < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > PRIORITY < / nom_de_colonne >

    < data >

    < number > 3 < / number >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > STATUS_CODE < / nom_de_colonne >

    < data >

    < varchar2 > NEW < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > ESCALATION_REQD < / nom_de_colonne >

    < data >

    < varchar2 xsi: Nil = "true" / >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > ESCALATION_LEVEL < / nom_de_colonne >

    < data >

    < number xsi: Nil = "true" / >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > NEED_ENRICH_DATA < / nom_de_colonne >

    < data >

    Y < varchar2 > < / varchar2 >

    < / data >

    < / old_value >

    < old_value >

    COMMENTS from < nom_de_colonne > < / nom_de_colonne >

    < data >

    < varchar2 xsi: Nil = "true" / >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > CREATED_BY < / nom_de_colonne >

    < data >

    < varchar2 xsi: Nil = "true" / >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > CREATION_DATE < / nom_de_colonne >

    < data >

    < timestamp >

    < value / >

    <>SYYYY/MM/DD HH24:MI:SSXFF9 format < / size >

    < / timestamp >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > LAST_UPDATED_BY < / nom_de_colonne >

    < data >

    < varchar2 xsi: Nil = "true" / >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > LAST_UPDATE_DATE < / nom_de_colonne >

    < data >

    < timestamp >

    < value / >

    <>SYYYY/MM/DD HH24:MI:SSXFF9 format < / size >

    < / timestamp >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > EMAIL_FLAG < / nom_de_colonne >

    < data >

    < varchar2 xsi: Nil = "true" / >

    < / data >

    < / old_value >

    < old_value >

    < nom_de_colonne > CREATED_BY_MODULE < / nom_de_colonne >

    < data >

    < varchar2 xsi: Nil = "true" / >

    < / data >

    < / old_value >

    < / old_values >

    < new_values >

    < new_value >

    < nom_de_colonne > ASSIGNED_TO < / nom_de_colonne >

    < data >

    NEW_USER < varchar2 > < / varchar2 >

    < / data >

    < / new_value >

    < / new_values >

    < / ROW_LCR >

    I need to ask in such a way that I need the below output

    Column name Old_Value new_value

    --------------------              --------------            ---------------

    NOTIFICATION_ID 6 NULL

    ASSIGNED_TO OLD_USER NEW_USER

    Thanks in advance.

    You probably want to use a FULL OUTER JOIN in this case:

    SQL > with old_values like)

    2 select x.column_name, x.old_value

    dequeue_3_out 3 t

    4, xmltable)

    5 xmlnamespaces (default 'http://xmlns.oracle.com/streams/schemas/lcr')

    6, ' for $old in/ROW_LCR/old_values/old_value

    7. let $val: = $old / data / *.

    8 return element {} r

    $old 9/column_name

    10, element old_value {}

    11 typeswitch ($val)

    12 element (timestamp) case return $val / value

    back 13 by default $val

    14              }

    15            }'

    16 passage t.xml_msg

    path of varchar2 (30) 17 column column-name 'column_name '.

    18 road of varchar2 (4000) old_value "old_value".

    (19) x

    (20),

    21 new_values as)

    22 select x.column_name, x.new_value

    dequeue_3_out 23 t

    24, xmltable)

    25 xmlnamespaces (default 'http://xmlns.oracle.com/streams/schemas/lcr')

    26, ' for $new in/ROW_LCR/new_values/new_value

    27 let $val: = $ new / data / *.

    28 return element {} r

    $29 new/column_name

    30, item new_value by {}

    31 typeswitch ($val)

    32 element (timestamp) case return $val / value

    return default 33 $val

    34             }

    35           }'

    36 passage t.xml_msg

    path of varchar2 (30) 37 column column_name 'column_name '.

    38, new_value varchar2 (4000) path 'new_value '.

    (39) x

    40)

    41 select column_name nvl (old.column_name, new.column_name)

    42, old.old_value

    43, new.new_value

    44 of old_values old outer join complete new new_values

    45 on old.column_name = new.column_name

    46;

    COLUMN_NAME OLD_VALUE NEW_VALUE

    ------------------------------ ---------------------- -----------

    ASSIGNED_TO OLD_USER NEW_USER

    NEED_ENRICH_DATA Y

    STAGE DNB

    ESCALATION_LEVEL

    BATCH_DESC GFIPRD

    LAST_UPDATED_BY

    ESCALATION_REQD

    STATUS_CODE NEW

    SOURCE_SYSTEM GFIPRD

    EMAIL_FLAG

    NOTIFICATION_TYPE ERROR 2

    CREATED_BY_MODULE

    COMMENTS

    LAST_UPDATE_DATE

    CREATION_DATE

    NOTIFICATION_ID 6

    PRIORITY 3

    BATCH_ID 3

    CREATED_BY

    ERROR_SOURCE MULTIPLE_MATCHES_LOC

    20 selected lines

  • Problem with "select * from table" for dynamic IN the list

    I have a 'for loop' based a query that does not work. The query is supposed to return the name of the table, the data type and the name of the column in the columns poses a number of name filters. The problem I have is when I run the query into a TOAD with:

    schema_list value SCOTT, MED and the clause of 'in' as ' to (select * from table (DATAPUMP_UTIL.in_list_varchar2 (:schema_list))))»

    The query returns the expected lines.

    When I have it in my code as shown below it returns no rows. I don't know what hurts me, but any help would be great! I'm on Oracle 11.1.0.6.0.
    PROCEDURE export_schema_ondemand (schema_list VARCHAR2, encrypt_file NUMBER default 0, mask_sensitive_data NUMBER default 0) IS  
        ...
        schema_list_t := my_package.in_list_varchar2(schema_list);
        ... 
        for c1 in
           (
            with ok_to_mask as (
            select 
                owner,
                table_name, 
                column_name
            from   
               all_tab_columns
            where
                owner in (select * from table(schema_list_t))
            minus
            (SELECT 
                c.owner,
                p.table_name,
                cc.column_name
            FROM 
                all_cons_columns cc, 
                all_constraints p,
                all_constraints c
            WHERE 
                c.owner in (select * from table(schema_list_t))
                c.constraint_type = 'R'
                AND p.owner = c.r_owner
                AND p.constraint_name = c.r_constraint_name
                AND cc.owner = c.owner
                AND cc.constraint_name = c.constraint_name
                AND cc.table_name = c.table_name
            UNION ALL
            SELECT 
                c.owner,
                cc.table_name,
                cc.column_name
            FROM 
                all_cons_columns cc,
                all_constraints p,
                all_constraints c
            WHERE
                p.owner in (select * from table(schema_list_t))
                AND p.constraint_type in ('P','U')
                AND c.r_owner = p.owner
                AND c.r_constraint_name = p.constraint_name
                AND c.constraint_type = 'R'
                AND cc.owner = c.owner
                AND cc.constraint_name = c.constraint_name
                AND cc.table_name = c.table_name))
            select 
                atc.table_name as mask_tab, 
                atc.column_name as mask_col, 
                atc.data_type as mask_type
            from   
                all_tab_columns atc,
                ok_to_mask otm
            where
                atc.owner = otm.owner
                and atc.table_name = otm.table_name
                and atc.column_name = otm.column_name
                and atc.owner in (select * from table(schema_list_t))
                and 
                (
                atc.column_name like '%LAST%NAME%'
                or atc.column_name like '%FIRST%NAME%'
                or atc.column_name like '%NAME_LAST%'
                or  atc.column_name like '%NAME_FIRST%'
                or  atc.column_name like '%ENAME%'
                or atc.column_name like '%SSN%'
                or atc.column_name like '%DOB%'
                or atc.column_name like '%BIRTH%'
                )
                and atc.column_name not like '%PHYSICIAN_%'
                and atc.column_name not like '%DR_%'
                and atc.column_name not like '%PROVIDER_%'
                and atc.column_name not like 'PRESCRIBER_%'     
           )
          loop
             ...
    
    FUNCTION in_list_varchar2 (p_in_list  IN  VARCHAR2)  RETURN VARCHAR2_TT is
    
        l_tab   VARCHAR2_TT := VARCHAR2_TT();
        l_text  VARCHAR2(32767) := p_in_list || ',';
        l_idx   NUMBER;
            
    BEGIN
        LOOP l_idx := INSTR(l_text, ',');
            EXIT WHEN NVL(l_idx, 0) = 0;
            l_tab.extend;
            l_tab(l_tab.last) := TRIM(SUBSTR(l_text, 1, l_idx - 1));
            l_text := SUBSTR(l_text, l_idx + 1);
        END LOOP;
    
        RETURN l_tab;
            
    END in_list_varchar2;
    Published by: BluShadow on June 29, 2011 16:11
    addition of {noformat}
    {noformat} tags.  PLEASE READ {message:id=9360002} TO LEARN TO DO THIS YOURSELF.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Hello

    If you have a query that works well when you launch it directly, and that breaks down when you start with a procedure, this can be a problem of privileges.

    Points of view ALL_ * shows only the objects you have access, but using a procedure, privileges must be granted directly to the user and not with a role.

    You should check the SELECT privileges to your user through roles and give them directly to the user.

    Hope this will help.

    Sylvie

  • Problems with selection.fill/pathItem.fillPath--Ps CS6, JSX, Windows

    Hi all

    First post here

    I recently started playing with scripting languages javascript extended (jsx) Photoshop CS6 (using the 32-bit version on Windows 7 Ultimate).

    I had a lot of trouble with orders "fill."

    This person here gives me a

    Error 1200: Internal error

    Line: 5

    -> app.activeDocument.selection.fill (myColor);

    var myColor = new SolidColor();
    
    app.documents.add( 100, 100, 72, "tmp", NewDocumentMode.RGB, DocumentFill.TRANSPARENT );
    app.activeDocument.selection.selectAll();
    app.activeDocument.selection.fill( myColor );
    

    I read somewhere that all parameters to the fill method can solve it, but he gave me the same result.

    I also tried the PathItem fillPath method, but he also gave an error internal (1200).

    var myColor = new SolidColor();

    var app.documents.add = docRef (500, 700, 72, "single line")

    var lineArray = new Array()

    lineArray [0] = new PathPointInfo

    .kind lineArray [0] = PointKind.CORNERPOINT

    .anchor lineArray [0] = Array (100, 100)

    lineArray [0] .leftDirection = .anchor lineArray [0]

    lineArray [0] .rightDirection = .anchor lineArray [0]

    lineArray [1] = new PathPointInfo

    .kind lineArray [1] = PointKind.CORNERPOINT

    .anchor lineArray [1] = Array (150, 200)

    lineArray [1] .anchor lineArray = .leftDirection [1]

    lineArray [1] .anchor lineArray = .rightDirection [1]

    lineArray [2] = new PathPointInfo

    lineArray [2] .kind = PointKind.CORNERPOINT

    .anchor lineArray [2] = Array (100, 200)

    lineArray [2] .anchor lineArray = .leftDirection [2]

    lineArray [2] .anchor lineArray = .rightDirection [2]

    var lineSubPathArray = new Array()

    lineSubPathArray [0] = new SubPathInfo()

    .operation lineSubPathArray [0] = ShapeOperation.SHAPEXOR

    private lineSubPathArray [0] = true

    lineSubPathArray [0] .entireSubPath = lineArray

    var myPathItem = docRef.pathItems.add ('a line', lineSubPathArray)

    myPathItem.fillPath (myColor, ColorBlendMode.NORMAL, 100, true, 0.0, true, true)

    This example only works if there is no fillPath parameters given at all (it fills with black).

    Does anyone know how I could get around this problem? Is this a known bug?

    Thank you all!

    Hello Radsvid789,

    your script:

    var myColor = new SolidColor();
    
    app.documents.add( 100, 100, 72, "tmp", NewDocumentMode.RGB, DocumentFill.TRANSPARENT );
    app.activeDocument.selection.selectAll();
    app.activeDocument.selection.fill( myColor );
    

    Cannot run.

    As a first step, you must define the new SolidColor for example like this:

    var myColor = new SolidColor();

    myColor.rgb.red = myColor.rgb.green = myColor.rgb.blue = 0;

    Try this one:

    var myColor = new SolidColor();
    myColor.rgb.red = myColor.rgb.green = myColor.rgb.blue = 0;
    app.documents.add( 100, 100, 72, "tmp", NewDocumentMode.RGB, DocumentFill.TRANSPARENT );
    app.activeDocument.selection.selectAll();
    app.activeDocument.selection.fill( myColor );
    

    The same problem in your second example.

    Have fun

  • Problem with the use of the value of State of Session to fill a Dropdown LOV

    Hi friends,

    I have 2 items in an HTML area of a page of the APEX.

    Item1 is of type, SELECT LIST WITH re - DIRECT

    Item2 is of type, SELECT LIST to SUBMIT

    I try to use the value of Item1 session state in the query LOV for Item2. I could check the session has the value of the SESSION of the developer for item1; Item2 LOV query toolbar when I'm trying to make use of the same with bind variable notation, this isn't work (LOV is not filled for Item2)

    I checked and found that no information is cached.

    However, I tried the same steps in apex.oracle.com and find that it works.

    Can someone please suggest any control.

    Basically, I'm trying to fall downwards according to the entry of a drop down beforehand. Please suggest alternatives.

    Thanks in advance...

    Hello
    OK, in my opinion your redirection does not record your first Lov session state.
    You can use in waterfall Lov (search this forum, it has been discussed many times then there is JavaScript Api and jQuery ability to the Apex)
    In addition, Carl Backstrom has in its samples this:
    http://Apex.Oracle.com/pls/OTN/f?p=11933:37

    Using jQuery, you can get a lot more quick result.
    You can see some examples here in this application: http://apex6.revion.com/pls/apex/f?p=AUTO:ETUSIVU
    There are a lot of Lovs cascade, I won't go into the details yet.

    I think that the best approach for you now is to change the two Lovs to select the list to submit.
    Then change your after submit process to draw on the status 'request = Expression 1' and 1 Expression as your second name of Lov (ex. P1_MY_LOV2)

    It's the same if you do the following: lovs are select list
    (no redirect or submit).
    Then put in the HTMl Form element attributes: onchange = "doSubmit ('ACTION1'); "in the first Lov and onchange ="doSubmit ('ACTION2'); "in the second Lov.
    Then change your submit after process to shoot the status 'request = Expression 1' and 1 Expression be ACTION2

    This means that your process will run on Lov 2 changes only.

    When you use select with Submit, it does the same thing, but the request is hardcoded for the item id
    by apex.

    Kind regards
    Oleg

  • Premium HP: HP Premium - problems with adding an additional column to a matrix

    I have version 2015 7 28 (8151) firmware and can not be updated any further because I have only the Android app.

    I wanted to add a 4th column of a 3 by 3 matrix, which is stored in M1.

    I did this way:

    ADDCOL (M1, [0,0,100], 4);       Add the fourth column: [0,0,100]

    Another way to do it is:

    M1 (1.4): = 0;

    M1 (2.4): = 0;

    M1 (3,4): = 100;

    Both give the same result when I look in the catalog of the matrix.

    Also when I enter the House finds out or make some operations with it.

    Strange is that in the catalog of matrix the first matrix has a content of memory that is about twice the memory of the second matrix.

    Nothing to concern about one would say.

    But when I use the first matrix in the advanced version of TRIANGLE_P it gives lines output instead of triangles, and the second is behaving normally.

    I seems to me that there is something wrong with the ADDCOL command.

    I think that this has been corrected already past the 8151 must therefore in there when / if the android version is updated.

  • Problem with butter to a filter value

    Hello!

    I want to filter the audio from WAV with butter worth filter, but it doesn´t work.

    I read context-sensitive help and there is I have to set the frequency in hertz. I did it. Do you know where is the problem?

    An important topic for all of the programming is DATA types!

    Next: Read the tutorials and look at the examples on the graphics and how to feed them with data.

    You used the same graph in form of wave, but cable of data of different type (and color) and the graph in the comic book icon has changed color

    The type of waveform data already contains the information of samplerate (dt), but your table does not work.

  • Problem with inputCombobox the list of values

    Hello Experts,

    I use Jdev 12.1.3.0.0

    In my application that we use selectOneChoice for descriptions referenced from table_recherche. The period of time have increased, the description. Where the need for a combobox with autosuggest behavior control. I just changed the LOV's SelectOneChoice to a ComboBox component. In the user interface, the drop-down list box displays the code instead of sense. In seeking to this subject on the internet, we found below solution.

    https://blogs.Oracle.com/ADF/entry/combo_lov_how_to_display

    I can't use above solution proposal that I don't have a link view between my paintings. Is there another solution to this without using a link.

    Thank you

    Mozakkir

    Hello Ashish,

    I solved my problem by writing the expression following groovy in my transient attribute:

    AddressVA.getFilteredRows ("key", AddressLine1) [0] .getAttribute ("Description")

    Thank you

  • Problem with comma when you pass values in the URL

    Hello

    I have two pages, the first page to the second page, I'm passing some values using the url parameter passing

    but certain values contains comma ex:-P1_NATION field contains INDIA, United States, United Kingdom

    but the apex treated that as these are distinct values and assign it to separate elements

    Suppose that my intention is like P2_NATION, P2_EMPLOYEE, P2_EMPID: USA, UK, INDIA, SAGAR, 123

    but the apex dealing with like P2_NATION = INDIA: P2_EMPLOYEE = USA: P2_EMPID = UK

    is there any solution for this

    Please help me about this

    I use apex4.1, db 11g, ie, chrome, ff

    Thank you

    SAGAR

    SAG says:

    I have two pages, the first page to the second page, I'm passing some values using the url parameter passing

    but certain values contains comma ex:-P1_NATION field contains INDIA, United States, United Kingdom

    but the apex treated that as these are distinct values and assign it to separate elements

    Suppose that my intention is like P2_NATION, P2_EMPLOYEE, P2_EMPID: USA, UK, INDIA, SAGAR, 123

    but the apex dealing with like P2_NATION = INDIA: P2_EMPLOYEE = USA: P2_EMPID = UK

    is there any solution for this

    The best practice is not to transfer the data in the URL, other than the minimum possible number of discrete ID. Values required in a target page can be recovered in the element source and properties by default, calculations or using these values of process ID, or by referencing the other page element values or application already in session state. Collections can be used to store multiple values in session state to use through one or more pages.

    In URL of the APEX, commas in the item values can be escaped by encapsulating values of the backslashes ('-'), while the settlers may not appear at all.

    P2_NATION,P2_EMPLOYEE,P2_EMPID :\INDIA,USA,UK\,SAGAR ,123 
    

    Also, do not use unescaped reserved characters in the URI.

Maybe you are looking for

  • My passwords are safe or not after that sbi easly cracks iphone securities

    The case happened last month in this FBI cracks iphone 5 c titles to get the data. After that, we're not sure if the FBI can do the hakers cannot do easily. How do we measure apple we want years. ??

  • Pavilion: Please help

    HelloI wonder if I install Windows defender in offline modeMade my get deleted if files Windows Defender in offline mode finishedThe reason why I want to doIs becauseWhen I did Windows defender scan yesterday the selected scan harmful viruses and he

  • Satellite L10 - 195 - could not get the WIFI connection to the internet

    Hello I downloaded and installed the latest dirvers for wireless cards and EThernet for my laptop but I can not get the wireless to connect to the internet!Please help me before I crush my laptop. :] Thanx PS: Anyone know if there is one special way

  • How to transfer a player program C to D drive?

    I want to transfer iTunes from my C drive to the D drive, because iTunes uses too much of my C drive.

  • copy of movies for the way__ disk right

    I want to copy movies on discs, but whenever I try, im has met "Please insert a blank disc". im disks come in dvd + r. I don't know if I need to download a program of media or who, to make films anyway!