Breadcrumb parent based on PL/SQL

In Apex 4.x, is it possible to make breadcrumb parent dynamic? Currently, you must select a parent page from the exisiting pages. Is it possible to dynamically set the parent page?
Thanks.
Andy

Tony Miller wrote:
APEX 4.0 is NOT out yet, do you mean in APEX 3.2??Forward-thinking fellow! Maybe he's seen Terminator 4, the Star Trek movie, or Lost :)
Serously, as far as I know you have to hard-code the breadcrumbs.

Similar Messages

  • Need help displaying item based on pl/sql anonymous block

    This is probably something really simple but I'm stuck.....
    On purchase order, I want to show related parent project name and ID. What is the best way to do it? I have created a region based on pl/sql anonymous block, and that works, but the data is above where I want it. I want the project name and ID to show up in the region w/ all the other fields.
    I have created an item in the region that has other form fields, item is based on pl/sql anonymous block, w/ same code as above region, and the item doesn't find the data. What's the difference? Is it because the item doesn't save state? In order to choose for the item to be based on pl/sql anon block, APEX made me choose Display as Text (based on PLSQL, does not save state).
    Please see this picture:
    http://farm3.static.flickr.com/2391/2658673285_04f157a3fa_o.png
    thanks!
    ~Darby

    this is weird.. Now it is working. I didn't change anything! What the heck?
    http://farm3.static.flickr.com/2010/2659557520_73e54b67ea_o.png

  • Read from sql task and send to data flow task - [OLE DB Source [1]] Error: A rowset based on the SQL command was not returned by the OLE DB provider.

    I have created a execut sql task -
    In that, i have a created a 'empidvar' variable of string type and put sqlstatement = 'select distinct empid from emp'
    Resultset=resultname=0 and variablename=empidvar
    I have added data flow task of ole db type and I put this sql statement under sql command - exec emp_sp @empidvar=?
    I am getting an error.
    [OLE DB Source [1]] Error: A rowset based on the SQL command was not returned by the OLE DB provider.
    [SSIS.Pipeline] Error: component "OLE DB Source" (1) failed the pre-execute phase and returned error code 0xC02092B4.

    shouldnt setting be Result
    Set=Full Resultset as your query returns a resultset? also i think variable to be mapped should be of object type.
    Then for data flow task also you need to put it inside a ForEachLoop based on ADO.NET recordset and map your earlier variable inside it so as to iterate for every value the sql task returns.
    Also if using SP in oledb source make sure you read this
    http://consultingblogs.emc.com/jamiethomson/archive/2006/12/20/SSIS_3A00_-Using-stored-procedures-inside-an-OLE-DB-Source-component.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • A rowset based on the SQL command was not returned by the OLE DB provider.

    Hi
    I am calling a stored procedure using ssis.
    i am creating a work table--temp in the procedure and using that to join and select columns from other tables.
    i am gettig the error
    [Positions [22612]] Error: A rowset based on the SQL command was not returned by the OLE DB provider.
    please help

    SET NOCOUNT ON 
    in the stored procedure and try again.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • List of values (LOV) based on PL/SQL

    Is it possible to create a LOV based on PL/SQL ?
    I want to do this because I have at least 5 LOV based on the same query (when you are using bind variables).
    This is the normal query (ex.: LOV_FREQ_CODES) :
    SELECT c.code ||' - '|| c.description AS display,
    c.code AS return
    FROM codes c,
    code_types ct
    WHERE c.code_type = ct.id
    AND ct.code_type_description = 'Frequency' (should be a Bind Variable)
    Thx

    Look into "Pipelined Table Functions" (http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/x/Table_Functions_Cursor_Expressions/Pipelined_Table_Functions.htm)
    Basically you have your codes tables and a function (get_code). The function is passed a parameter (bind variable). The function then fires a query using the parameter value to render rows which are "pipelined" are a return value of the function. So you LOV query would look like:
    SELECT c.code ||' - '|| c.description AS display,
    c.code AS return
    FROM codes c, TABLE(get_code('Frequency')) ct
    WHERE c.code_type = ct.idMike

  • Template Condition based on PL/SQL Expression

    Hi everybody!
    I need some help in conditional formating. Depending on the value of a column I want to display it with a diffrent background-color.
    I copied the template Standard, ALternating Rows to a diffrent name, placed
    <td class="t5data" headers="#COLUMN_HEADER_NAME#" #ALIGNMENT# style="background-color:#f00;"> #COLUMN_VALUE# </td>
    as template 1 , selected Use Based on PL/SQL Expression and as an expression I used for testing
    1=1
    As expected all rows are displayed in red.
    Now I changed the expression to
    '#CHARGE#' ='-'
    but it the corresponding rows were not displayed with a red background . Changing to
    '#CHARGE#' !='-'
    made all rows be red ( such -, too).
    Where is my fault?
    Thanks for helping
    regards
    Petra
    Edited by: pietja on Dec 9, 2009 11:28 AM

    Hi Ben!
    Is this what you need?
    Column Heading Template       <th class="t5ReportHeader"  id="#COLUMN_HEADER_NAME#" #ALIGNMENT#>#COLUMN_HEADER#</th> Column Template 1 <td class="t5data" headers="#COLUMN_HEADER_NAME#" #ALIGNMENT# style="background-color:#f00;"> #COLUMN_VALUE# </td> Column Template 1 Condition Use Based on PL/SQL ExpressionColumn Template 1 Expression '#CHARGE#'='-'Column Template 2 <td class="t5data" headers="#COLUMN_HEADER_NAME#" #ALIGNMENT#>  #COLUMN_VALUE#</td>Column Template 2 Condition Use for Odd Numbered RowsColumn Template 2 Expression
    Column Template 3 <td class="t5dataalt headers="#COLUMN_HEADER_NAME#" #ALIGNMENT#>  #COLUMN_VALUE# </td>{code}
    Column Template 3 Condition{code} -Select Condition-{code}
    Column Template 3 Expression  {code}{code}
    Regards
    Petra                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • CurrencyString in JSP-page based on a sql-only ViewObject

    I have made a JSP-page based on a sql-only ViewObject against the hr employees table, and
    the currencyString on the page doesn't work! The <c:out value="${Row.currencyString}"/>
    makes a "*" on every row. How come that this only happens to sql-only ViewObjects? The sql
    in the view is simply "select * from employees", and I'm using the 10g production build 1605.

    You just have to make sure that the view object has a Key Attribute, then the indicator will show appropriately. The key is required so that currency can be tracked.
    This is documented in the help topic "About the Oracle ADF Bindings" in the section "About the Iterator Binding"

  • Display as text based on pl/sql - how to return value

    Hi,
    I have a item set as "display as text based on pl/sql". How do I get the PL/SQL anonymous block to return the value of the item?
    My function declares and populates a variable called t_output which is the value I want displayed in the item. The PL/SQL I have written is correct as I have tried it in SQLPlus* with DBMS_OUTPUT.PUT_LINE and I get the correct output, but I don't know how to set my item to the value of t_output. I have tried adding ":P73_ITEM := t_output;" into the end of the PL/SQL block.
    Thanks
    Lucy

    Hi Lucy,
    Try this and see.
    make the display as:display as text(saves state)
    source type: sql query
    in source value or expression type
    select func(arguments) from table name;
    Good luck

  • How to default field values based on a sql query?

    I have a create form that has employee_id and supervisor_id fields. I am defaulting the employee_id based on the login info (no problem there). Now I want to default the supervisor_id also. Supervisor id is based on a sql query that takes the employee_id as a parameter for the where clause.
    How do I implement this in jDeveloper?

    I figured how to do this. I created a new EO, associated it to my base EO via association. Then put this code in the base EO's create() method:
    // Set supervisor id based on SupervisorEO
    SupervisorEOImpl supEO = getSupervisorEO();
    Number newSupId = supEO.getSupervisorId();
    setSupervisorId(newSupId);
    This seems to be the simplest.

  • Module component based on pl/sql procedure....

    Hi everyone,
    could anybody help me with step by step instructions on how to generate module component which is based on PL/SQL procedure and how the procedure must look like.
    Well, I make it in Forms Builder but I want to build it in oracle designer too, just to have consistent state of all forms in designer.
    Well, what to say at the end... thanks a lot for help,
    Zlatko

    I'm a user of the Web PL/SQL generator, not the Forms generator, so I was hoping that someone else would step in with some help for you. Seeing as no-one else gave this a try, here is my two cents worth:
    As far as I know, the module components based on a procedure expect to use the Table API (TAPI) packages, and I think they can optionally use the Module API (MAPI) packages. I think MAPI calls TAPI, so if you use MAPI, you must also generate TAPI. These are generated from the Design Editor, TAPI from the Table Definition. The Web PL/SQL generator REQUIRES the TAPI, so I'm very familiar with them. The on-line help has some good descriptions of TAPI.
    The advantage of using TAPI/MAPI instead of direct table updates from your Form is that TAPIs can enforce business rules at the database level, no matter how your table is updated, whether with Forms, Web PL/SQL or even SQL*Plus. They can also do trigger-like actions that would not be possible with actual database triggers (can you say, mutating table?) You might also want to use TAPI if you have both Forms modules and Web PL/SQL modules against the same table.
    Now - if someone with more Forms generator experience than I wants to chime in with a better answer, please do, especially if anything I said is wrong.

  • Interactive Report based on pl/sql function body

    Can an interactive report be based on a pl/sql function body returning the query sql? Or does it have to be based directly on the SQL?
    Thanks

    Hello "unknown user",
    As far is I know an Interactive Report can only be based on 'regular' SQL. If you have a Report based on a 'PL/SQL function body returning SQL' the option to migrate the report to an interactive report is not there.
    Regards,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Can we frame a VO which is a combination of EO based VO and SQL based VO?

    Is it possible to create a VO which is a combination of EO based VO and SQL based VO? Is the resultant VO capable of inserting data in the database?

    Fortunately, this is such a common use case that it's documented how to do this:
    http://docs.oracle.com/cd/E26098_01/web.1112/e16182/bcquerying.htm#CEGEGHFB
    and
    http://docs.oracle.com/cd/E26098_01/web.1112/e16182/bcquerying.htm#CHDHBDDE
    are the two sections you need to read.
    You don't need a "combination" VO, and in both cases, the base EO of the VO is updatable/insertable
    Note: This is why the best course is to state your use case (problem) - not failed or attempted solutions - when posting questions on OTN.

  • Universe based on a SQL Cube

    Hi Experts
    I'm pretty new in the BO metodology and for this reason I'm not sure if what I need it is really possible or not to have.
    Today I have a solution based on a SQL Cube that has been created based on several tables in a different data base (also SQL), however the modeling in this cube is what I need to export to a WebInt reports and from my point of view it will be easier if I can use it in my Universe.
    So my questions is, can I create a Universe based on this cube ?
    Any help will be welcome.
    Thx

    Hi,
    Once the Universe is created you can use ot for reporting with Webi based on this Universe.
    And for dashboarding there are two options.
    MS Analysis Cube -> Universe -> Webi -> Live Office -> Xcelsius Dashboard Designer
    MS Analysis Cube -> Universe -> Query as a Web Service ->  Xcelsius Dashboard Designer
    Regards,
    Ramu.

  • Conditional Display of Interactive Report Based On Different SQL Query

    Hello,
    I have two drop down list on top of my page and below that I have a interactive report.
    Based on user selection of values from drop down, interactive report should change based on different SQL queries.
    Is it possible to have different SQL queries based on values from drop down and generate interactive report based on that?
    Thanks

    I am passing my drop down value to apex_collection like the following:
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY( p_collection_name => 'IR_LIST',
    p_query => REQUEST_VIEW(:P12_VIEW));However when I change the values from the drop down, :P12_VIEW is not getting the value from drop down even though I could see value being changed in URL. I have created page process for apex_collection
    Process Point - OnLoad - Before Header
    Run Process - Once Per Session or When ResetCould someone suggest as why I cannot get the values in function when drop down is changed?
    Regards

  • Dynamically adding attribute based on PL/SQL function

    I've been tasked with dynamically applying security to an XMLType input sample as a post XML generation process (on an 11g R2 DB) based on several parameters. The best way to describe it is with an example block of code, I need to write ApplySecurity....
    declare
      vXML XMLType;
      BONUS_SEC constant integer := 24; -- Security identifier for Bonus
      function ApplySecurity(pXML        XMLType,
                             pSecurityID integer,    -- A Security identifier
                             pDataIDPath varchar2,   -- Absolute XPath to the data id which is passed to value
                             pAttribPath varchar2    -- Relative XPath to pDataIDPath where we want the security result attribute stored
                             ) return XMLType is
      begin
          for all DataIDs found in pDataIDPath
            Call an PL/SQL function GetSecurityDesc(pSecurityID, pDataID)
              Store the result of this back in the XML in the pAttribPath as SECURITY attribute
      end;
    begin
      vXML := ApplySecurity(XMLType('<ROWSET>
                                       <ROW>                                
                                         <BONUS_ID>8</BONUS_ID>
                                         <DESCRIPTION>Test Bonus</DESCRIPTION>                                                                           
                                       </ROW>
                                       <ROW>                                
                                         <BONUS_ID>9</BONUS_ID>
                                         <DESCRIPTION>Another Bonus</DESCRIPTION>                                                                           
                                       </ROW>                         
                                       <ROW>                                
                                         <BONUS_ID>10</BONUS_ID>
                                         <DESCRIPTION>April Bonus</DESCRIPTION>                                                                           
                                       </ROW>                         
                                     </ROWSET>'),
                             BONUS_SEC,       
                             '/ROWSET/ROW/BONUS_ID',
    end;
    /* Example of the Desired Output =
    <ROWSET>
      <ROW>                                
        <BONUS_ID SECURITY="HIDDEN">8</BONUS_ID>
        <DESCRIPTION>Test Bonus</DESCRIPTION>                                                                           
      </ROW>
      <ROW>                                
        <BONUS_ID SECURITY="READONLY">9</BONUS_ID>
        <DESCRIPTION>Another Bonus</DESCRIPTION>                                                                           
      </ROW>                         
      <ROW>                                
        <BONUS_ID SECURITY="NONE">10</BONUS_ID>
        <DESCRIPTION>April Bonus</DESCRIPTION>                                                                           
      </ROW>                         
    </ROWSET>
    */I have tried several approaches like iterating using a dynamically created XMLTable and calling InsertChildXML for each iteration, but that seems messy and inefficient as the call to InsertChildXML will have to locate the correct node each time. Ideally I think the best solution would be to do it with XQuery, but online examples are few and far between and I don't know how I'd call a PL/SQL function as part of an XQuery iteration as well as passing in the path information.
    Anyone have any ideas? Thanks!

    A funnier option, adapted from http://odieweblog.wordpress.com/2012/06/19/how-to-update-xml-nodes-with-values-from-same-doc/ :
    declare
      BONUS_SEC  constant integer := 24;
      vXML XMLType := XMLType(
    '<ROWSET>
      <ROW>                                
        <BONUS_ID>8</BONUS_ID>
        <DESCRIPTION>Test Bonus</DESCRIPTION>                                                                           
      </ROW>
      <ROW>                                
        <BONUS_ID>9</BONUS_ID>
        <DESCRIPTION>Another Bonus</DESCRIPTION>                                                                           
      </ROW>                         
      <ROW>                                
        <BONUS_ID>10</BONUS_ID>
        <DESCRIPTION>April Bonus</DESCRIPTION>                                                                           
      </ROW>                         
    </ROWSET>');
      pSecurityID integer      := BONUS_SEC;
      pDataIDPath varchar2(80) := '/ROWSET/ROW/BONUS_ID';
      pAttribPath varchar2(80) := '.';
      queryString varchar2(4000);
    begin
      queryString :=
    q'~select xmlpatch(
             :b1
           , xmlelement("xd:xdiff"
             , xmlattributes(
                 'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi"
               , 'http://xmlns.oracle.com/xdb/xdiff.xsd http://xmlns.oracle.com/xdb/xdiff.xsd' as "xsi:schemaLocation"
               , 'http://xmlns.oracle.com/xdb/xdiff.xsd' as "xmlns:xd"
             , xmlpi("oracle-xmldiff", 'operations-in-docorder="true" output-model="current"')
             , xmlagg(
                 xmlelement("xd:append-node"
                 , xmlattributes(
                     'attribute' as "xd:node-type"
                   , '(#DATA-ID-PATH#)[' || x.NodeOrder || ']' as "xd:parent-xpath"
                   , 'SECURITY' as "xd:attr-local"
                 , xmlelement("xd:content", GetSecurityDesc(:b2, x.DataID))
    from xmltable('#DATA-ID-PATH#'
           passing :b3
           columns DataID    integer path '#ATTRIB-PATH#'
                 , NodeOrder for ordinality ) x~';
      queryString := replace(queryString, '#DATA-ID-PATH#', pDataIDPath);
      queryString := replace(queryString, '#ATTRIB-PATH#', pAttribPath);
      execute immediate queryString into vXML using vXML, BONUS_SEC, vXML ;
      dbms_output.put_line(vXML.getclobval);
    end;
    /probably slower though.

Maybe you are looking for