Querying a Worksheet from PL/SQL Dynamic Page in Oracle Portal

Is there a way to actually ask Discoverer to give me a list of values for a report property from outside Discoverer?
In my case, I am trying to add reports to Oracle Portal via the Worksheet Portlet but I want to build a select list that contains valid entries for discoverer to run through the portlet for a discoParameter value. Is there any better way to get the list of values other than running the report's query 2x (once in discoverer to load the report and once in portal to get the list of values)?

Hello David,
This is not a feature for Discoverer Portlet but as far as I can see Oracle Portal has Page Parameter Form that migh help in creating dynamic list of values. Please check in MetaLink :
Note.292521.1 How to Create a Page Parameter Form with Dynamic LOV
Once the Parameter has been created, it can be used from Discoverer Portlet too :
How to map worksheet parameters to Page Parameters in OracleAS Portal
http://download.oracle.com/docs/html/B14465_02/author.htm#sthref145
Best Regards,
Gianluca

Similar Messages

  • Automated tool to convert from Forms to Dynamic Page for Oracle Portal?

    Hi Experts,
    We are thinking to convert majority of the forms in our portal to dynamic pages. Is there any tool to automate the conversion from Forms to Dynamic page for Oracle Portal 9.0.4.1.0?
    Thanks, Abbas

    Dear Abbas,
    You seem to have two issues... ;-)
    If you are finding the Forms are getting corrupt very easily, I'd suggest you go and open a Service Request into Oracle Support (http://metalink.oracle.com). There are a couple of ways where you can have these not corrupted (depeding on the Portal version you are in) and if there isn't yet a way you may get a bug logged and fixed within the next patchset eventually (improving the product functionality).
    As to changing it to a dynamic page it might give you a bit more flexibility... yeah. It really depends on what you desire to do. I'd slowly start to code them in this way if your goal is this. As to the former coded forms unfortunately as I've said there isn't a strait way to do that, so you may do this slowly in time...
    I hope it helps you a bit further...
    Cheers,
    Pedro.

  • Best way to spool DYNAMIC SQL query to file from PL/SQL

    Best way to spool DYNAMIC SQL query to file from PL/SQL [Package], not SqlPlus
    I'm looking for suggestions on how to create an output file (fixed width and comma delimited) from a SELECT that is dynamically built. Basically, I've got some tables that are used to define the SELECT and to describe the output format. For instance, one table has the SELECT while another is used to defined the column "formats" (e.g., Column Order, Justification, FormatMask, Default value, min length, ...). The user has an app that they can use to customize the output...which leaving the gathering of the data untouched. I'm trying to keep this formatting and/or default logic out of the actual query. This lead me into a problem.
    Example query :
    SELECT CONTRACT_ID,PV_ID,START_DATE
    FROM CONTRACT
    WHERE CONTRACT_ID = <<value>>Customization Table:
    CONTRACT_ID : 2,Numeric,Right
    PV_ID : 1,Numeric,Mask(0000)
    START_DATE : 3,Date,Mask(mm/dd/yyyy)The first value is the kicker (ColumnOrder) as well as the fact that the number of columns is dynamic. Technically, if I could use SqlPlus...then I could just use SPOOL. However, I'm not.
    So basically, I'm trying to build a generic routine that can take a SQL string execute the SELECT and map the output using data from another table to a file.
    Any suggestions?
    Thanks,
    Jason

    You could build the select statement within PL/SQL and open it using a cursor variable. You could write it to a file using the package 'UTL_FILE'. If you want to display the output using SQL*Plus, you could have an out parameter as a ref cursor.

  • Migrating Japanese Characters from MS SQL Server 2000 to Oracle 9i usng Jsp

    Hi ,
    I have a situation where the Japanese characters are to be migrated from MS SQL Server 2000 to Oracle 91 and then render the same using JSP.
    I followed the below approach,
    1. Extract the Japanese data from MS SQL Server and generate an XML
    2. Parse the XML and store it into Oracle 9i database which is of UTF-8 encoding.
    3. On retreiving and rendering using the Shift-JIS adds few junk characters additionally.
    When I try to copy paste the Japanese contents from XML to a text file, it is working fine.
    Could some one help me in resolving this issue?
    It is very urgent, and any help would be greatly appreciated.

    There is documentation in the reference guide sent with the workbench, there is this discussion forum, the support web page (which includes tech notes and FAQ's), and the company specific procedural language documentation.
    There is also an older document for use with the old sybase toolkits which may be obscelete, and there are some internal documents which were for internal consumption.
    Turloch
    Oracle Migration Workbench Team

  • DB Migration from MS SQL Server 2005 to Oracle 9i

    Hi Guys
    I want to migrate the data from Microsoft SQL Server 2005 to Oracle 9i.
    Could ou please suggest me the how to proceed.
    I can simply extract the das in CSV format as their are Foreign key , Primary key concept is there. So what will be the best way to proceed ....
    regards
    Macky

    Macky,
    In the coming months we will add support for SQL Server 2005 to the Oracle Migration Workbench. See our statement of direction on OTN for more details.
    If you have extracted the data into a csv file format, you could construct a SQL Loader control file to load this data, assuming you have already created the table on the Oracle side.
    Donal

  • Migrate tables from Ms SQL Server 20005 to Oracle 10g

    Hi all,
    I am trying to migrate 10 table from Ms SQL Server 2005 to Oracle 10g. I started creating a SSIS package to transfer them but it always fail when it tries to create the tables.
    Questions:
    - Is there any other way to import Ms SQL Server 2005 tables to Oracle
    - also I need to create a scirp that will update these tables periodically
    any ideas?
    Thanks

    YingKuan is right. jsut to expound a little further. This will also allow you to have have scripts which you can run again and again or even schedule them regularly too.
    B

  • How to preview a page in Oracle Portal?

    Hi gurus,
    I'd like to know if there is anyway to preview a page in Oracle Portal 10g 9.0.4.
    Customer needs to preview the page (how it will looks like) before inserting
    new contents (image, link, url, item, portlet etc.) in it, so just the page manager
    (user or group that has MANAGER access in that page) can see it that time and
    no other user can, until the page manager aprove the new format of the page and
    "deploy" the page to the user.
    Any suggestions on how to do this?

    Hi,
    I'm afraid there's not a preview option as you describe it. It is something our customers have asked for too, so I'll be happy if somebody knows a decent way to accomplish this. I hope this is included in a future release.
    Kind regards.

  • How to Set a page as home page in Oracle portal 10g

    Hi,
    I have one doubt.
    How to set a page (Not Page group) as home page in Oracle portal 10g?
    whether it should be a HTML Portlet or some other?
    Thanks & Regards
    Suthan.Sathya

    Hi,
    Welcome to SDN
    By defining the Sort Sequence of Navigation Nodes, you can do this, check the links:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/92/3e703e632c7937e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/53/89503ede925441e10000000a114084/frameset.htm
    If you need more help, just ping back.
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers

  • Auto Query in Master Detail Form using dynamic page doesn't work

    I created a Master-Detail form, and implement AutoQuery using a dynamic page
    with the following code :
    <HTML>
    <BODY>
    <ORACLE>DECLARE
    nre_ VARCHAR2(100);
    BEGIN
    nre_ := emp_nre;
    if nre_ is not null then
    net_portal.Popula_Agregados(nre_);
    net_portal.Popula_Docs_Agregados (nre_);
    htp.p('<iframe id=myFrame name="myFrame" frameborder=0 width="250%"
    height="300"
    src="/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=
    3
    388118140&p_arg_names=_show_header&p_arg_values=NO&p_arg_names=_cad_nre_cond&p_a
    rg_values=%3D&p_arg_names=cad_nre&p_arg_values='||nre_||'">
    </iframe>');
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    htp.p(SQLERRM);
    END;
    </ORACLE>
    </BODY>
    </HTML>
    It works fine when we access the first time to the page, but if i press the
    save button after inserting or updating a detail record, the header record is
    lost. How can i avoid this situation ?

    I changed query:
    select
    Replace(
    '<img src="#IMAGE_PREFIX#ed-item.gif" border="0" alt="EditMap" usemap="#editmap***id***"></img>
    <map name="editmap***id***">
    <area shape="rect" coords="0,0,16,16" href="http://apex.oracle.com/pls/otn/f?p=&APP_ID.:'
    || decode ( type, 'FOLDER', '33', '22' )
    || ':&APP_SESSION.::&DEBUG.::P'
    || decode ( type, 'FOLDER', '33', '22' )
    || '_ID,P'
    || decode ( type, 'FOLDER', '33', '22' )
    || '_CALLING_PAGE:' || id || ',&APP_PAGE_ID." ></area></map>' ,
    '***id***', id
    ) Edit,
    id,
    type,
    name,
    decode ( type, 'FOLDER', 33, 22 ) target
    from tThe idea is - each img uses its own map.
    It works now.
    Check:
    http://apex.oracle.com/pls/otn/f?p=20980:13
    Lev
    Edited by: le on Nov 3, 2010 11:11 AM

  • Adding pagination in report build from PL/SQL dynamic content using htp.p

    Hi,
    I have a requirement for which i used PL/SQL dynamic content to build my report and i displayed my report using a cursor and loop by HTP.P function.
    Now problem is I have report with more than 500 rows and I want to add pagination concept for this report.
    How can i do that?
    Thanks in advance.
    Regards,
    Smith

    To preserve heading on each page for a HTML table you can use the THEADER, TFOOTER and TBODY tags (see example). To force page breaks, try experimenting with these style attributes:
    <STYLE TYPE="text/css">
         tr.breakhere {page-break-before: always}
    </STYLE>
    <tr class="breakhere">Table Example:
    htp.tableopen;
    htp.print('<THEAD style="display:table-header-group">');
    ... your table headers here
    htp.print('</THEAD>');
    htp.print('<TFOOT style="display:table-footer-group"><TR><TD></TFOOT>');
    htp.print('<TBODY>');
    ... your rows here
    htp.print('</TBODY>');
    htp.tableclose;Edited by: crokitta on Apr 8, 2009 2:07 PM

  • Best way to print result of query to file from pl/sql?

    If I have a query, let's say 'select * form my_table', what's the best way to print it to a file from pl/sql?
    Do I have to create a cursor, go through each line, and use some file output function? Or is there some clever way to say 'print this query to file!'

    The rest of my procedure (the one generating the query itself) is in PL/SQL. So it needs to be done from there. Any tricks?
    (What's paper? I meant 'write to file')

  • Migration from sybase sql server 7 to Oracle 8i

    Hi,
    We have a very old Sybase database which contains some 2gb of data which is still being used by the users, we want to phase this out. We want to selectively export some tables and import them into our oracle 8i database. I have looked at documentation related to the migration workbench and it wont work for us because the version of sybase database is very old and I cannot find any client software either to help me to connect to the database.
    I noticed in this forum, several messages suggesting the use of bcp to export data from the sql server and then sql*loader to import the data into oracle.
    Can anybody please send me the information on bcp and how to export data using that and then how to import it in oracle. I am familiar with sql*loader but am not a expert so any help on how to define the control file etc for sql*loader would be helpful.
    Thanks

    Hi Hari,
    You will be able to get the Beta release on this site in the next
    couple of days in the 'Software' section of this page.
    We are just waiting on our web page administrators to make this
    software public.
    The amount of interest in the SQL Server 7.0 plugin is
    substantial, so we are focussing on making it production as soon
    as possible.
    Please provide feedback on the beta to [email protected]
    Regards
    John
    Hari (guest) wrote:
    : Hello great ones,
    : I have a website converted from sql server 7 to Oracle 8i (okay
    : the customer just woke up to the reality that Oracle rules in
    : the e-commerce world..). I read about the workbench and the
    : sqlserver 7 plugin which is still in beta.
    : Is there any ways I could get hold of the beta release?. This
    is
    : a big company and if I could do the job fast, it would result
    in
    : more business to oracle for they will buy the production
    : licenses
    : (as well as Oracle Apps) after I show them I am successful and
    : Oracle 8i is great.
    : Any help would be appreciated and thanks a bunch. I am more
    : concerned about database objects other than stored procedures
    : only.
    : Thanks in advance.
    : Hari
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Errors while migrating from Microsoft SQL Server 2005 to Oracle 9i

    Hi All,
    We are trying to completely move our application from Microsoft SQL Server 2005 Database to Oracle 9i. I am doing it using the latest version of Oracle SQL Developer (1.2 build 29.98).
    When I right click my MSSQL server db and click "Capture Microsoft SQL server", it just shows a dialog with "Close" enabled.
    Kindly help.
    The migration Log has the following messages:
    oracle.dbtools.metadata.persistence.PersistenceException: Unsupported feature
    oracle.dbtools.metadata.persistence.PersistenceException: Unsupported feature
    oracle.dbtools.metadata.persistence.PersistenceException: OALL8 is in an inconsistent state
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation
    oracle.dbtools.metadata.persistence.PersistenceException: OALL8 is in an inconsistent state
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation
    oracle.dbtools.metadata.persistence.PersistenceException: OALL8 is in an inconsistent state
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation
    oracle.dbtools.metadata.persistence.PersistenceException: OALL8 is in an inconsistent state
    oracle.dbtools.metadata.persistence.PersistenceException: Bigger type length than Maximum
    oracle.dbtools.metadata.persistence.PersistenceException: Bigger type length than Maximum
    oracle.dbtools.metadata.persistence.PersistenceException: OALL8 is in an inconsistent state
    Error ocurred during capture: Protocol violation
    oracle.dbtools.metadata.persistence.PersistenceException: OALL8 is in an inconsistent state
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation
    oracle.dbtools.metadata.persistence.PersistenceException: OALL8 is in an inconsistent state
    oracle.dbtools.metadata.persistence.PersistenceException: Protocol violation
    oracle.dbtools.metadata.persistence.PersistenceException: OALL8 is in an inconsistent state
    oracle.dbtools.metadata.persistence.PersistenceException: Bigger type length than Maximum
    I cant figure out what do these messages mean.
    Regards,
    Sandeep

    Pasting the errors on logging page, if this is of any help:
    SEVERE     150     0     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:OALL8 is in an inconsistent state
    SEVERE     151     1485     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:Protocol violation
    SEVERE     152     15     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:OALL8 is in an inconsistent state
    SEVERE     153     10954     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:Protocol violation
    SEVERE     154     15     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:OALL8 is in an inconsistent state
    SEVERE     155     2688     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:Protocol violation
    SEVERE     156     1140     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:OALL8 is in an inconsistent state
    SEVERE     158     62172     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:OALL8 is in an inconsistent state
    SEVERE     160     3672     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:Protocol violation
    SEVERE     161     63     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:OALL8 is in an inconsistent state
    SEVERE     162     0     oracle.dbtools.raptor.utils.NLSUtils     Error loading nls:Protocol violation

  • Migrating 250gb from ms sql server 2000 to oracle

    Hi,
    i am trying to migrate data from sql server 2000 to oracle. I have tried the online method and it takes more than a day to copy one table with 250 million rows. Currently i am trying the offline method of using migration scripts with sql loader.
    this also seems to be taking a very long time for the single table with 250 million rows. Is there an effective way of doing this? please help
    thanks

    Well, lets look at what you're doing. You're using jdbc/odbc to move 250,000,000 rows. thats like using a straw to pump gas. We recommend that any migration over 10-20 MB should be done using the offline data move.
    A couple of questions
    1. How fast does the bcp go? How long does it take to complete?
    2. When using SQL Loader, are you loading it in raw format? Have you switched off any indexes on the table? Do you have the capability to load in parallel?
    Theres a lot you can do with the SQL Loader side to make it a lot fast. You might also want to consider dropping a note on the database forum too.
    Barry

  • Copy table from Ms SQL Server 2005 to Oracle with SSIS package

    Hi all
    I am witting an SSIS package to copy 2 tables from Ms SQL Server 2005 to an Oracle 10g database.
    Problem: I can only see the Microsoft OLDB Provider for Oracle and it is too slow. How can I use the Oracle ODBC in aMs SQL Server 2005 or building a .net SSIS package.
    thanks

    Yes I am able to see the driver on the Data Source (ODBC), I also created a connection to the Oracle database. The problem in Ms SQL Server 2005 is that the ODBC connection I created is not listed. None of the lo local connections are listed, only Microsoft OLEDB connections

Maybe you are looking for

  • Application_id column in the Table FND_DOCUMENT_SEQUENCES?

    Hi, Can anyone clarify what does application_id column stands for in the Table FND_DOCUMENT_SEQUENCES? Does application_id stands for GL, AP, FA ...etc? If yes, then is there another table that explains this column in terms of a name rather than numb

  • Powerbook G4 won't start up, can't eject DVD

    While watching a bootleg DVD, I got a black error box telling me in at least languages to restart my computer (I had never seen this error format before). I hit the power button, and instead of the normal rebooting sound, I heard 3 tones, followed by

  • 5700 xpressmusic help

    I just bought the 5700 and am wondering if i can set up auto keylock, and how (if at all) can i can use the flash as a tourch?

  • Requirement: Insp lot of self Certified material should not get skipped

    Hi Gurus following is req  pls suggest me Requirement: Insp lot of self Certified material should not get skipped if there is a change in Material Revision. As of now Auto Usage Decision takes place on Self certified material Lots. This happens even

  • ORAMED-01304:[Payload schematron validation error]

    Hi I'm trying to do a simple Schematron validation with Oracle Mediator and am receiving the following error: ORAMED-01304:[Payload schematron validation error] Any tips on how to debug?$ UPDATE: I should add that if I test my composite with xml data