Query portlet in navigation page

Hi,
I am wondering if it's possible to use SQL to query a portlet built in a pagegroup's navigation page section and render it in a page? If answer is yes, what's the best api to use in this case?
Thanks in advance for responding to this thread!!

>> So, which is best, Application scope, or Session scope?
If the data is user specific, then probably the session scope. Performance-wise, either one should be fine.
>> And will a simple CFSET SESSION.VariableName = CFQUERYOBJECT work?  I didn't think a simple variable could contain a complex object?
What makes a variable simple or complex is its content. 
<cfset session.key = 1 /> Creates a simple variable
<cfset session.key = structNew() /> Creates a complex variable
Yes, session.key = queryObject will work just find.

Similar Messages

  • JSF Portlet keeps last navigated page

    I have a small JSF application where there is a simple navigation from first displayed JSP pageA to JSP pageB:
    (of course with a managed bean
    <navigation-rule>
    <from-view-id>/portlets/pageA.jsp</from-view-id>
    <navigation-case>
    <from-outcome>success</from-outcome>
    <to-view-id>/portlets/pageB.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    As a standalone Web app the first pageA is always redisplayed with the main app url.
    However configured as a JSF portlet, after navigating to pageB, the portlet will always redisplay pageB!
    What configuration am i missing to reset to first pageA when redisplay main portal page?
    thanks.

    on a second thought the behavior i see might be valid due to the fact that i specify in my navigation rule a <from-view-id>, which as soon as i'm on pageB no longer applies, meaning there is no rule from pageB for same outcome, so pageB is still displayed.
    I added an extra rule for pageB and a "Back" button on pageB and now i can go back to initial page.
    for me it is a bit unexpected, due to this view "statefulness", but does make sense, need to better master JSF ...

  • Jsps from pageflow portlet in navigation (or from portlet to book pages)

    Hi all,
    I'm a Weblogic newbie. I was wondering if anyone could please tell me how to get the name or title of a jsp from a pageflow portlet in navigation?
    I have page1.jsp (title: "Step 1"), page2.jsp ("Step 2") and page3.jsp ("Step 3") in a page flow that goes from page1.jsp to page2.jsp to page3.jsp. This page flow is made into a portlet. This portlet is the ONLY thing on the page in the portal book and the ONLY way to get to page3 is from page2 and to get to page2 is from page1, although you can return to page1 at any point.
    I would like my navigation programming--the single level across the top--to show the name of the jsp that is showing or the title. I've seen how to get the book and the pages of the book in the navigation, but not how to get further than that.
    Has anyone else done this?
    Thanks so much in advance.

    Have you resolved this problem? I'm stuck at the same place.
    <br>
    Thnx, Rajiv

  • I created a navigation page and published as portlet now how to add this pg

    I created a navigation page and published as portlet now how to add this page... i dont see in the portlet staging area.... i left the check mark publish as portlet on when i created the page...
    how do i add this to the page...

    The Navigation Page Portlet should be available in the Portlet Repository - select Published Portal Content -> Your Page Group Name
    Lisa

  • Passing parameter to group of portlets on a page from 1 report

    Hello Forum,
    Portal 3.0.7
    I have a page (page 2) that contains three portlets, each is a single report (Reports b, c, and d). They all query based upon the same parameter value. I have a different page (page 1) that contains a report (report a). I want to setup a link in report a that calls page 2, passes the parameter value to reports b,c,and d. With the reports b,c, and d reporting based upon the parameter value.
    Does anyone have any ides on how to do this? I have been successful in the past using forms based upon procedures to share a parameter amounts several portlets on a single page. But I have no idea how to call a page, pass the parameter and refresh the page in one step.
    Thanks in advance,
    Andre'

    You should concatenate to the url of the page wich contains the three forms with somthing that is near to the following :
    '&parameter_name='||parameter_value
    as many times as you have parameters in the portlets on the page.
    then you should call the new url
    hope that this could help you

  • Portlet not showing up in 'Add Portlets to Region' page

    This relates to Portal 9.0.2 (the new version that shipped with iAS 9.0.2).
    I created a provider based on a Report, specifying the SQL query to be used, and thus created a portlet which produces a report from the query. It works and I have added it to a region in a page. So far, so good.
    Then I created a second provider with a very nearly identical SQL query, set virtually everything to be the same as the attributes for the first portlet. I wish to add it to another region in the same page. However, when I try to do the edit for the page, to add the second portlet, it doesn't show up in the list of portlets in the 'Add Portlets to Region' page, so I can't add it.
    Both portlets show up in the Providers list. They both say 'Report from SQL Query' under Type, and both say that their owner is EXAMPLE_APP. However, when I navigate to that owner in the 'Add Portlets to Region' page, only the first portlet shows up. The other one doesn't.
    Any ideas as to why this might occur? What do I look for? I've tried to look for any differences between the two portlets, and haven't seen anything obvious.
    Help!
    Responses much appreciated!
    Regards
    Bryan

    Thanks!
    I did what you suggested, and the page came back:
    Portlet Repository Refresh Status
    View information about the most recent Portlet Repository refresh, such as who initiated the process, when it was started, and whether it is complete or still in progress. If the refresh is complete, this page also shows when the process finished and whether it was successful. Click View Details to view a more detailed log of the refresh process.
    Started By: PORTAL
    Started On: April 08, 2002 19:13:38
    Completed On: April 08, 2002 19:13:57
    Refresh Status: Complete
    Refresh Result: Succeeded
    View Details
    Note that since I had just done a refresh, I would have expected the date to be today's, assuming that the date refers to when the refresh was done, but instead it's April 8th. Strange?
    When I clicked on the View Details link, it brought up a page:
    Monitor Log Detail Report
    Advanced
    Error: Unable to perform query (WWV-10202)
    ORA-01722: invalid number (WWV-11230)
    No row returned.
    Not too helpful an error message, huh?
    Clicking on the Advanced/Basic links produced identical results (the same exact error message).
    The Add Portlets to Region still does not show the portlet I wish to add.
    Any additional help much appreciated...
    Thanks
    Bryan

  • How to use Navigation Pages in Portal

    Hi
    In Portal Under Page Groups we have different type of pages like
    Pages,
    Templates,
    Categories,
    Navigation Pages,
    Perspectives,
    Styles,
    Attributes,
    Page Types,
    Item Types,
    I have created a navaigation Page under Navigation Pages.
    I have given access to a set of users.
    I am not able to set those Navigation page as default home page.
    How to set this Naviagtion page as a default home page.
    How to use this can anyone help on this.
    Thanks

    The easiest way would be to publish your navigation page as a portlet. Then create a page template (or more) for your pages and add your navigation page as a portlet (from the repository).
    Regards,
    Albert

  • Portlet for displaying pages/content areas link for a user

    Does anybody have a JPDK portlet to display
    pages available to a user?
    The navigator looks too technical/complex for a regular portal user.
    Thanks for your time.

    Lookup column is the attribute of file. Attribute can not be upload! . Did you try to use the content type of link to document? If yes, you can understand my question. I want to change uploaded.aspx ( link of document) and add lookup column to this form.
    Standart scenario: User create link to docunent. 1. Prees button start. 2. Input text link to upload.aspx form 3. Set attributes new. Aspx I want: 1. Press button. 2. User press dropdawn menu and choise neddeng link. 3. Set attributes Plese read my question
    again. Sorry for my not good english

  • List of Portlets with thier page group names

    Hello,
    Could someone suggest which is the table or view where I can query to get the list of all the portlets are stored?
    I would like to list the page groups and the portlets in a page. Eg:
    We have two or three page groups like Games, Sports etc and few portlets under those page groups. So I would like to list the page group names and the portlets inside.
    Besides in the query how can I restrict the portlets bases on the OID group permission.
    Thanks

    My suggestion 1)
    is to create 1 Connection Pool with passing values for DSN, UID,PWD using repository variables.
    for this you need to have other connection since user validation is done in init block.
    After LDAP authentication go for init block to run that validates user and set these DSN, UID,PWD variables with values.
    Suggestion 2) You can use "Connection Scripts" tab on Connection pool
    Suggestion 3) Can go for a external db table to store DSN,UID,PWD values and get them after authentication
    goes like this....
    Pls mark if helps

  • Unable to bind portlet parameter with page parameter in webcenter portal

    Hi All,
    I am trying to bind portlet parameter with the page parameter so that I can ahieve some business requirements.
    Here is what I did,
    In my Portlet producer application:
    1) Created standards based portlet (jsr 286) with view.jspx and edit.jspx with rest of the things being default.
    2) In my portlet.xml created two parameters and assigned these parameters to the portlet created above.
    3) In the view.jspx added couple of output label adf components in the page.
    4) deployed this to integrated weblogic server.
    In my WC portal application:
    Created a new page and added the portlet to this page( WSRP connection already exists).
    deployed portal application on integrated server.
    In the edit mode of the page I added one page parameter(Param1) and some default (constant) value added.
    What I want is this:
    when Param1 value is One display first output label and
    when Param1 value is Two display second output label.
    I am using jdev 11.1.1.5.0 with integrated weblogic server.

    There is no need to use page parameters for this.
    You also have two types of parameters depending on what you want...
    1) Preferences: these parameters can be used on a user based level. This means that users can personalize the portlets. When a user change the value of a preference, it is only applied for that specific user
    2) Public parameters: these parameters are used to customize the portlet. The value you set in these parameter apply for all users.
    I have made a simple example to show these two differences: http://www.yonaweb.be/PortletTest.zip
    The portlet has 4 inputText on it. The first two can be set by specifying One or Two into the preference.
    The other 2 inputText uses the value of the public parameter.
    You should only deploy the portlet and consume it in a webcenter application. In the webcenter application, you don't need to do anything special. All is done in the portlet.
    I am guessing you don't have written the code that will get the value of the parameter:
    in case of a preference you will get the value by following code:
       PortletRequest request = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
       PortletPreferences preferences = request.getPreferences();
       return preferences.getValue("outputparam", "One");In case of a public parameter (for customization instead of personalization) you use following code to retreive the value of a public parameter:
    PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
      String param = (String)req.getParameter("PublicParam");
      if(param == null)
          return "Three";
      return param;This code can also be found in the sample portlet application.

  • File not found when adding a link to another site collection on the navigation page

    When I am adding a link to another site collection in the navigation page, I got the following error. Is there any limitation for the navigation setting? why can't we add a link to another site collection in the navigation page?
    This is SharePoint 2007

    Hi
    the URL provided is working?  (check it in separate browser window )
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • HELP --- Error while adding Portlets to the Page. (WWC-44012)

    Hi all,
    I have a pl/sql portlet. It compiles fine and shows up perfectly in portlet repository. But when i add this to the page, I get following error
    Error while adding Portlets to the Page. (WWC-44012)
    An unexpected error occurred: User-Defined Exception (WWC-43000)
    An unexpected error occurred: User-Defined Exception (WWC-43000)
    An unexpected error occurred: User-Defined Exception (WWC-51004)
    (WWC-00000)
    I checked the portlet specification file (.pks) and body file (.pkb) for any mistakes but they seems fine.
    Does anyone know what can cause this error?
    Any pointers in this regards will be highly appreciated.
    Thanks!!!
    Rajesh

    Rajesh,
    Could you provide some more details about your code? I will try to look into possible causes of the error. One thing you may try is subscribing to the Knowledge Exchange on http://portalcenter.oracle.com. Then you could post your code in your community folder and everyone would be able to test it out.
    Of course, this means you must be willing to share your code with everyone.
    James

  • Error while adding Portlets to the Page. (WWC-44012)

    Hi everyone,
    I am installing the DBPersonalization Manager Provider. I followed directions and am able to successfully bring up the provider's test page. I added the provider to the repository and can preview them without problems. However, when I add the portlet to a page, I get the following error:
    An unexpected error occurred: ORA-29532: Java call terminated by uncaught Java exception: java.io.IOException: Start of root element expected.13
    <Line 1, Column 1>: XML-0108: (Fatal Error) Start of root element expected. (WWC-43000)
    An unexpected error occurred: java.io.IOException: Start of root element expected.13
    <Line 1, Column 1>: XML-0108: (Fatal Error) Start of root element expected.
    at oracle.webdb.provider.web.SoapResponseProcessor.getDocument(SoapResponseProcessor.java:123)
    at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP(SoapResponseProcessor.java:42)
    at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(HttpProviderDispatcher.java:877)
    at oracle.webdb.provider.web.HttpProviderDispatcher.registerPortlet(HttpProviderDispatcher.java:201)
    (WWC-43000)
    An unexpected error occurred: Start of root element expected.
    at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java)
    at oracle.xml.parser.v2.XMLError.error(XMLError.java)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java)
    at oracle.webdb.provider.web.SoapResponseProcessor.getDocument(SoapResponseProcessor.java:117)
    at oracle.webdb.provider.web.SoapResponseProcessor.processSOAP(SoapResponseProcessor.java:42)
    at oracle.webdb.provider.web.HttpProviderDispatcher.dispatch(HttpProviderDispatcher.java:877)
    at oracle.webdb.provider.web.HttpProviderDispatcher.registerPortlet(HttpProviderDispatcher.java:201)
    (WWC-43000)
    I am not sure what this is from but assume that it is having problems communicating with my provider. Does anyone have any idea what this could be caused by?
    Thanks in advance...
    Esther Poulsen

    Hi Sue,
    Thanks for your response! I ran the XML file through a validator and examined it manually, and it is fine. Moreover, if I add additional portlets to the provider.xml file, they add themselves without any problems. I'd think the entire thing would break if the provider.xml file was not well formed for any reason. But if anyone has any futher suggestions about this it would be greatly appreciated.
    Thanks in advance,
    Esther

  • How to get the bind value of a portlet in a page.

    I want to get the bind value of a portlet on a page. Can you tell me how can I get that.
    I used :
    portal30.wwv_name_value.get_string( l_arg_names, l_arg_values, '');
    It works ok when we run the report alone .But when we add the report as a portlet in page , it does not return any value. Can you tell me which Api does it.
    null

    Here is an example...
    var originalUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    var doc = activeDocument;
    var Colour1 = GetHexColour(eyeDropperRGB(1,doc.height-1));
    var Colour2 = GetHexColour(eyeDropperRGB(20,doc.height-5));
    var Colour3 = GetHexColour(eyeDropperRGB(40,doc.height-14));
    alert("Colour 1 = " +Colour1 + "\rColour 2 = " +Colour2 + "\rColour 3 = " +Colour3);
    var decColour = eyeDropperRGB(40,doc.height-14);
    alert("Red = " +decColour[0] + "\rGreen = " +decColour[1] + "\rBlue = " +decColour[2]);
    app.preferences.rulerUnits = originalUnits;
    function GetHexColour(reqHex){
    var out='';
    for(No in colours = reqHex){
    out = out.concat(zeroPad(d2h(reqHex[No]),2));
    return out;
    function eyeDropperRGB(x,y) {
    var x2 = x + 1;
    var y2 = y + 1;
    var out = new Array(3);
    activeDocument.selection.select([[x,y], [x2,y], [x2,y2], [x, y2]], SelectionType.REPLACE, 0, false);
    for(ch in list = ["Red", "Green", "Blue"]) {
    histogram = activeDocument.channels[list[ch]].histogram;
      for (i = 0; i <= 255; i++) {
       if (histogram[i]) {
        out[ch] = i;
        break;
      return out; 
    function d2h(d) {return d.toString(16);}
    function zeroPad(n, s) {
       n = n.toString();
       while (n.length < s)  n = '0' + n;
       return n;

  • In OBIEE mobile apps designer there is no option for multi select prompts?The navigation page gives option only for single select?Is there a work around for this?

    In OBIEE mobile apps designer there is no option for multi select prompts?The navigation page gives option only for single select?Is there a work around for this?

    Nic, for me the iTunes window looks like this, when I connect my iPad 3:
    I select the iPad in the "devices" section of the Sidebar (use: "View > Show Sidebar" if the sidebar is hidden).
    Click the "Apps" tab in the "Devices" pane.
    Scroll all the way down in the Devices pane to "File Sharing" "Apps" section.
    Then do I click "GarageBand" to select the documents in the right panel.
    Which part is different for you? Perhaps you could post a screenshot?
    Regards
    Léonie

Maybe you are looking for

  • TextEditor for Application

    hello, i am in the very need of an text editor with all the formatting-options like fontfamily, fontsize, bold, italic, fontcolor, backgroundcolor and so on. it should output html-code. does anyone of you know, where i can find an open source applica

  • Is there a way to force the charset to utf-8 with the IIS plug-in?

    We're using AJAX. The initial request for the HTML has charset=utf-8 set on the HTTP header as seen in this Live HTTP Headers capture: http://plper.mysite.com/mysupport/index.jsf GET /mysupport/index.jsf HTTP/1.1 Host: plper.mysite.com User-Agent: Mo

  • Search doesn't show file path

    When searching my HD, I cannot find the location of the files. I used to be able to hold the mouse over the file in the search box and it would show the location. How do I do this in Lion? It does find the file, but I would like to alos see where I p

  • How do I start Photoshop CS6 without Run As Administrator

    I was encouraged to post this here (updated from post to the Photoshop forum) I've seen several similar threads with problems with Bridge ()for beta CS6), nothing recent with run issues with Photoshop CS6 I have installed most of the programs downloa

  • Add  button "complete"  to ME21N in service selection

    Hello, How can I add the button "Complete" in the service selection at purchase order? This button allows you to download the hierarchy of services to the application. Thanks. LR