Maximum Fields in Omni Portlet?

We have recently installed PDK Release 2 v9.0.2.6.2 and are busy adding Omni Portlets to our Portals. We are really pleased with the majority of functions so far but have now hit a problem.
I seem unable to create a report that displays more than 5 columns. I have tried various different SQL statements that all return more than 5 rows, but I only seem to be able to display 5 columns.
Any ideas?
Thanks,
Paul.

To clarify this issue I have provided a step by step example of my problem below
1)Create blank page
2)Add new omni portlet
3)Select database connection to IASDB or any other valid connection
3)Define omni portlet with the following SQL:
SELECT 'Text 1' column1,
'Text 2' column2,
'Text 3' column3,
'Text 4' column4,
'Text 5' column5,
'Text 6' column6,
'Text 7' column7
FROM dual
4)Click on finish
5)Omni Portlet only displays columns 1-5
6)Edit defaults of omni portlet and on click on layout tab
7)Under the "Column Layout" heading there are only options to display and modify 5 fields and no option to display all 7 fields returned by my SQL query.
My question is how can I display all 7 fields in the SQL that defines the omni portlet?
Thanks,
Paul.

Similar Messages

  • OMNI Portlet Question

    I have created an OMNI portlet. In this portlet, I am querying a table to get a short name that I want to open up a word document. In my URL, I have to pass parameters #OWNER#.download_my_file?p_file=#ID#. This is taken from my APEX application where I actually upload the documents. The ID field is in my record that I am querying and I put the #OWNER# in there as a static variable. I am having trouble getting the #ID# field assigned to the ID variable in the table. Any suggestions?

    It is not the best solution, but you could try to create and share your portlet.
    Or try to create your portlet in page and make your page as portlet.
    .....

  • Caching data in Omni Portlets

    If i insert new data into my database it takes a while before my omni portlet picks it up(even if i refresh the portlet), i have turned off page level caching, but this doesnt seem to solve the problem - is there any way to fix this?
    Also occasionaly my portlet errors with : "Error in executing Query : [Io exception: Connection reset by peer: socket write error]" but the database is still up. Any ideas?
    Thanks

    The answer depends. You have to ask and answer these questions...
    how much data needs to be cached per session
    must the session data remain in existence after the session is closes
    what are your response time requirements
    what are the maximum number of users that you will need to support
    Some options are
    - Statefull session beans
    - Cookies
    - Stuff the data into the http session object
    - Caching session information in a singleton (more complicated in a cluster)
    All of these options are good ones. Apply the write one to your specific
    instance.
    Good luck
    "Sandhya S Suku" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    Is it a good idea to cache user dependent data in stateful session
    beans because of repeated hits to the same data?
    Is there a better way to do this?
    Thanks
    Sandhya

  • Problem  pl/sql function as web service in OAS as omni portlet

    Dear All,
    I try to use pl/sql function from package as web service in OAS as omni portlet. This function returning, for example, the result of searching as number of rows (Id, name).
    As I have understood, OAS omni portlets understands only J2EE 1.3(oracle) web service (which is chosen on the first step of the making the service from PL/SQL). Since in the event of choice J2EE 1.3(JAX-PRC) OAS can not analyse the answer SOAP on elements.
    I try return types:
    1. xml. Kind of <rowset><row><id>1</id><name>John</name></row><rowset>.
    2. ref cursor – can`t use
    3. varray of records – can`t use.
    At the best, answer recognizes as line, rather then as array element.
    Thank you in advance for answer

    Dear All,
    I try to use pl/sql function from package as web service in OAS as omni portlet. This function returning, for example, the result of searching as number of rows (Id, name).
    As I have understood, OAS omni portlets understands only J2EE 1.3(oracle) web service (which is chosen on the first step of the making the service from PL/SQL). Since in the event of choice J2EE 1.3(JAX-PRC) OAS can not analyse the answer SOAP on elements.
    I try return types:
    1. xml. Kind of <rowset><row><id>1</id><name>John</name></row><rowset>.
    2. ref cursor – can`t use
    3. varray of records – can`t use.
    At the best, answer recognizes as line, rather then as array element.
    Thank you in advance for answer

  • Portlet not available error when customizing Omni Portlet

    Hi,
    I've created a webcenter page with a omni portlet on it. Configuring this portlet for the first time is OK. However customizing this same portlet later on will always give me the portlet unavailable error, together with this stacktrace.
    SEVERE: oracle.adf.model.portlet.binding.PortletBindingException: Portletmodus 5 kan niet worden ingesteld voor portletbinding OmniPortlet1_1., Please check the privileges before executing this operation
         at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.process(ADFPortletServlet.java:473)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.process(ADFPortletServlet.java:343)
         at oracle.adfinternal.view.faces.renderkit.html.portlet.ADFPortletServlet.doGet(ADFPortletServlet.java:315)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Adding adf security does not help.
    Any suggestions are greatly appreciated. Note that I have the same problem with different portlets, so it has nothing to do with this specific OMNI portlet I guess.
    Jaco Verheul

    The timing... :) having the same issue. Is there any resolution to this or should I also open an SR to get the patch/fix?
    Also, to help others searching for this error...
    Portlet unavailable when trying to click customize for an OmniPortlet.
    Portlet unavailable
    <!--Unable to set portlet mode 5 for portlet binding OmniPortlet5_1, Please check the privileges before executing this operation-->
    <!--oracle.adf.model.portlet.binding.PortletBindingException: Unable to set portlet mode 5 for portlet binding OmniPortlet5_1, Please check the privileges before executing this operation
         at ...
    -->
    Steve
    Message was edited by:
    ssaxer

  • Filter output data according to portal current user name in omni portlet

    We have created an omniportlet that connects to a database, and retrives some values into a defined HTML layout.
    We want to filter output data according to our portal current user name
    When we try to use portal.wwctx_api.get_user inside of omni portlet select statement fallowing error occurs.
    Error in executing Query : [ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1803 ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1637 ORA-06502: PL/SQL: numeric or value error ORA-06512: at "PORTAL.WWCTX_SSO", line 1865 ORA-06512: at "PORTAL.WWCTX_API", line 183 ]
    Thanks a lot

    hello
    i think you cannot use the portal built-in packages inside omni portlets. Omni portlets is designed to connect to other data source (not only oracle) and Portal API might not be available at these data sources. Therefore, you should not be using these Packages at all!. i tried very hard, but to no avail.. Omni portlet has its own repository!! if you cannot pass the infomration as a parameter, then find a different approach
    Ammar Sajdi
    Amman - Jordan
    oracle consultant

  • Filter omni portlet output data according to portal user

    We have created an omniportlet that connects to a database, and retrives some values into a defined HTML layout.
    We want to filter output data according to our portal current user name
    When we try to use portal.wwctx_api.get_user inside of omni portlet select statement fallowing error occurs.
    Error in executing Query : [ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1803 ORA-06510: PL/SQL: unhandled user-defined exception ORA-06512: at "PORTAL.WWCTX_SSO", line 1637 ORA-06502: PL/SQL: numeric or value error ORA-06512: at "PORTAL.WWCTX_SSO", line 1865 ORA-06512: at "PORTAL.WWCTX_API", line 183 ]
    Thanks a lot

    This is because the Omniportlet is actually operating within a different context--a separate database connection from the Portal connection. We have similar issues with Java portlets. You might try creating a public parameter on the portlet, then mapping that to the system variable USER (done on the Parameters tab of the page where you deploy it--if you don't see a parameters tab, you must enable Parameters and Events at the page group properties level). I haven't tested any of this, but it should get you going in the right direction.

  • RSS feed based on omni portlet ?

    We have a project that needs to create an XML Publisher portlet ..
    We need to develop a RSS feed.
    can we use omni portlet for this aim ?
    Is there any complete documents here or anyone can give more details on this?
    Thanks for your help...

    I have worked on a portal project in the past that created an RSS feed by creating a pl/sql function to generate the XML. The function is then invoked through mod_plsql. I believe the developer of the feed downloaded the original source from the portal website somewhere.
    -sean
    http://www.sagelogix.com

  • Error importing searchand omni portlets

    Hi All,
    Import/Export: We have written some PDK portlets and registered in our server and working fine. When I try to import to client system, I am getting errors such as templates and my css are missing. After some research I found out that Portlets which we registered has our loca URL appended and we are not able to get rid of that.
    Also when I remove Omni portlet and search portlets from my page group and export, it is successfully importing. Then at client system again I am creating an omni portlet and search portlet.
    At the time of production we re not allowed to deploy, so that means I should teach him on how to create portlets. Is this correct? Is exporting only for items? Why am I not able to export portlets(omni,search..)?
    Thanks.
    Kranthi

    Can any one please help?

  • J2EE Connector Architecture(Omni Portlet)

    Hello,
    In the Developer Guide ,(http://download-west.oracle.com/docs/cd/B14099_10/portal.1012/b14134/pdg_matrix.htm#CEGFBJEC)
    it is mentioned about J2EE Connector Architecture as a data source. In the omni portlet data source type it is not listed. How can I configure and use it for data source?
    I am using 9.0.4 version of Portal
    Any help is highly appreciable.
    Thanks

    We are trying to do a JCA Adapter and are running into the same type of questions as you. Clearly, no one is watching this topic. Have you found a reference application to test the RA against?
    Please feel free to contact me at [email protected]

  • Omni Portlet (Repository Question)

    I have created a few omni portlets on a page but am wondering where they are being stored? I want them to be available in the repository list for other pages, but am not sure how to do this.
    Can anyone help me?
    Thanks

    It is not the best solution, but you could try to create and share your portlet.
    Or try to create your portlet in page and make your page as portlet.
    .....

  • Omni Portlet Please Help!

    Thank you for taking a chance to look at this and help.
    I created a omniportlet on our template page in OracleAS in a region on the page. This template is used across many pages, and now the Omniportlet is showing up on all the pages. The problem is that this omniportlet should not be there, and now it can not be deleted. Anytime we try to delete or go into editing, the page time outs. We have also tried going in as an Oracle Admin and deleting the portlet and region, and it also time outs there. Is there any other solution or possible ways to get rid of this Omni Portlet? Thanks again for your time.

    hello ,
    thank you for your quick response.
    yes i am using the OmniPortlet Web Page data source.
    version of OmniPortlet/PDK 90262
    application server version:9.0.2.4
    for example, there is a chart in the page or scrooling text(stock exchange applet i guess), i can not get it it gives the following error:An exception has occured : WCS-200 -- Clip not found for clip e1f4770694ed4af3a6dada27ce7477ae:3933746:1:1970_OMNIPORTLET_3933746:-
    what do i miss exactly. could you pls look at the page i am trying to clip.
    http://finans.milliyet.com.tr
    thank for your kindly support
    Korhan Yunak

  • Omni Portlet shows No Listener

    We have Portal 10.1.4. When connection to portal are reached at 120 then omni portlet on every page of portal shows "No Listener". Other content still visisble on the pages, only problem with the omni portlets.
    What should i do to solve the issue.
    Thanks in advance

    Solutions is to increase timeout value in provider.xml file in MID_TIER_ORACLE_HOME/j2ee/OC4J_Portal/applications/portalTools/omniPortlet/WEB-INF/providers/omniPortlet. If you change the timeout value, you also need to do the following:
    Bounce your middle-tier.
    Increase the provider registration Timeout value of the OracleAS Portal instances with which this provider is registered.

  • Omni Portlet connections

    We have a number of Omni Portlets that have become obsolete. When we delete the omni portlet, the connection information remains in the list of available connections even when NO omni portlets are using the connection. How do we delete all these extraneous connections? Some of the users who originally created the connections are no longer on the project, so it is not just a matter of turning off the check box that puts the connection into the list for all developers, because only the creator of the connection can do that.

    try setting PlsqlIdleSessionCleanupInterval to a lower value then the default 15 minutes in plsql.conf
    if there is frequent use of connections then set PlsqlMaxRequestsPerSession to a lower value then the default 1000, but which can degrade performance
    or increase the sessions parameter on the database side

  • OMNI portlet preference store issue

    Hi,
    Application is running on Staging environment and I want to move it to UAT clustered environment. Portlet application as well consumer application (Portal) deployed successfully. After that I have run persistancemigration tool for WSRP portlet preferences and copy them to UAT. At this stage, my portal and WSRP/JSR portlet start running. After that i tried to run migration tool to export omni portlet preferences in following way:-
    1. I have set classpath for MigrationTool.
    2. Test the classpath as follow:-
    C:\>echo %classpath%
    .;D:\Program Files\J-Integra\Exchange\lib\jintegra.jar;D:\Program Files\J-Integr
    a\Exchange\lib\cdo.jar;.;D:\Program Files\J-Integra\Exchange\lib\jintegra.jar;D:
    \Program Files\J-Integra\Exchange\lib\cdo.jar;D:/OracleAS/OracleSOA/jdbc/lib/ojd
    bc14dms.jar; D:/OracleAS/OracleSOA/portal/jlib/pdkjava.jar; D:/OracleAS/OracleSO
    A/portal/jlib/ptlshare.jar;
    3. When i run the command its giving me ClassDefFoundErrro error:-
    C:\>java oracle.portal.provider.v2.preference.MigrationTool -mode filetofile -pr
    ef1UseHashing true -pref1RootDirectory D:/OracleAS/OracleSOA/portal/portletdata/
    tools/omniPortlet -pref2RootDirectory D:/temp/omni
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/portal/provide
    r/v2/preference/MigrationTool
    I have also run above command in this way but its also not worked for me:-
    set classpath=D:/OracleAS/OracleSOA/jdbc/lib/ojdbc14dms.jar; D:/OracleAS/OracleSOA/portal/jlib/pdkjava.jar; D:/OracleAS/OracleSOA/portal/jlib/ptlshare.jar
    java oracle.portal.provider.v2.preference.MigrationTool -mode filetofile -pref1UseHashing true -pref1RootDirectory D:/OracleAS/OracleSOA/portal/portletdata/tools/omniPortlet -pref2RootDirectory D:/temp/omni
    Kindly do let me know what is the issue?
    2ndly, i copied omni portlet preferences (without running above tool) and pasted in UAT environment, OC4J is throwing following exceptions when i called them from Portal:-
    HTTPClient.HTTPConnection
    java.lang.ClassCastException: HTTPClient.HTTPConnection
    at
    oracle.portlet.client.connection.web.WebProducerRuntimeAdapterImpl.doHttpClientCall(WebProducerRunti
    meAdapterImpl.java:402)
    at
    oracle.portlet.client.connection.web.WebProducerRuntimeAdapterImpl._showPortlet(WebProducerRuntimeAd
    apterImpl.java:188)
    at
    oracle.portlet.client.connection.web.WebProducerRuntimeAdapterImpl.showPortlet(WebProducerRuntimeAda
    pterImpl.java:156)
    at
    oracle.portlet.client.connection.web.WebProducerInteraction.showPortlet(WebProducerInteraction.java:
    130)
    at oracle.portlet.client.techimpl.web.WebPortletRenderPipe.pre(WebPortletRenderPipe.java:84)
    at oracle.portlet.client.service.pipeline.PipeContext.internalExecute2(PipeContext.java:519)
    at oracle.portlet.client.service.pipeline.PipeContext.internalExecute(PipeContext.java:406)
    at oracle.portlet.client.service.pipeline.PipeContextRunnable.run(PipeContextRunnable.java:23)
    at
    edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)
    at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
    at
    oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolE
    xecutor.java:398)
    at
    oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecu
    tor.java:423)
    at java.lang.Thread.run(Thread.java:595)
    I have also changed the connection.xml to point to some stagin server URL where these omni portlets are running but having same exception. What can be the issue?
    Thanks in advance.
    Regards,
    Imran

    This issue is related to the Shared library in th server.xml. I also had the same issue. the import for oracle.http.client shared library would be missing in your oracle.wsrp shared lib description.
    Update that and you will be free of this error

Maybe you are looking for