Portal 10.1.4.2.0 - Page Parameter to DB Provider Form

Hello:
I created a database provider form that is based on a procedure. I need to pass a page parameter to this DB provider Form.
I would appreciate the help if you can tell me know to pass a page parameter to this form.

10.1.4.2 is not a released version. you get it by upgrading portal 10.1.4.0.0 using a patch set, and hence it does not bring in any new features. Therefore, the APIs for Portal 10.1.4 remain useful for this version.
For programmatic content management, you may also want to see this [Content Mgmt APIs|http://download.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_part3.htm#BEHBFDEF] link from portal documentation.

Similar Messages

  • How to read value of page parameter from form?

    I have the following in 'before displaying the form. ' in the form based on procedure.
    declare
    l_names OWA.vc_arr;
    l_values OWA.vc_arr;
    p_portlet_record portal.wwpro_api_provider.portlet_runtime_record;
    BEGIN
    Portal.wwpro_api_parameters.retrieve(l_names, l_values);
    htp.p('Number of parameters are : '||l_names.count||'< br>');
    for i in 1..l_names.count
    loop
    htp.p(l_names(i)||' = '||l_values(i)||'< br>');
    end loop;
    htp.p('Agreement'||portal.Wwpro_Api_Parameters.get_value('agreement',p_portlet_r
    ecord.reference_path));
    end;
    Following is the output on the form:
    Number of parameters are : 1< br> sessionid = 14212< br> Agreement.
    Looks like the form is only getting the sessionid parameter and not getting
    the other parameter from the URL.
    Following is the URL for the page on which the form is places:
    http://<machine_name>/portal/page?_pageid=33,36124,33_36134:33_44551&_dad=portal
    &_schema=PORTAL&agreement=DG-2474/1
    Can anyone tell me how I can get the value of page parameter 'agreement' in the form?
    thanks,
    Hiren

    Hi,
    It depends how you are setting your parameter also as there are different types of parameters in portal. The best is to use the page level parameters..
    Please read the developers gide Section 8.3 for more details....
    The link is :-
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_pdk_plsql.htm#CHDGAHCF
    Guneet

  • 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.

  • Portal Page parameter to a WSRP - JSR168 portlet

    hi all,
    IHow is possible to pass a Portal (10.1.10.4 ) Page parameter to a WSRP - JSR168 portlet?
    I have a url parameter like http://myserver/portal/page/portal/ABCD/page1?ID_C=123456789 ad I want to use it in a JSR168 portlet.
    Thanks,
    castellim

    obviously, 10.1.4
    bye
    castellim

  • Help - Passing parameter to report using page parameter

    I have a SQL Report on a page
    The report query is
    select * from scott.emp where deptno = :department
    The URL for the page containing the report is:
    http://developer03.fis:7777/portal/page?_pageid=95,36455&_dad=portal&_schema=PORTAL
    I have added a page parameter = departnment
    and associated the page parameter to the report bind variable in the Portlet Parameter Values as follows:
    department = Page Parameter, department
    I displayed the page by going to the above URL
    and then added &department=10 to the end of the URL in the browser address.
    I expected the report to display records for deptno = 10, but the query didn't return any records.
    Anyone know what's wrong??
    Thanks Larry

    Yes, except you need to add &department=10 to the end of the page URL, not what I had.
    Look at
    How to pass values from a Page to portlet in Portal.
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=FOR&p_id=335031.996
    for a complete description on how to setup page parameters and associate them with bind variables.

  • Pass Page Parameter to next page

    Dear all,
    How do I pass a Page Parameter from one page to the next page?
    I have an omniportlet - SQL portlet defined, where one of the items is a link. I want one of the columns to be a hyperlink to a detail page. So I have to figure out 2 things:
    - how do I dynamically create the hyperlink
    - how do I catch the parameter value on the detail page?
    Regards

    Hi Linkit:
    Two things you may want to look at --
    1) The URL you indicate below while accurate is not considered a "durable" URL and could change. In fact it does change in the 10.1.4 portal version and will also be different across environments (dev, test, production ...) . If you look at your on-line portal help, do a search under "direct access URL", it has a decent write-up on how to do exactly that. In general on pre 10.1.4, it is http://<hostname>:<portnumber>/pls/<dad>/url/page/<pagegroupname>/<objectname> such as http://portal.mycompany.com/pls/portal/url/page/mypagegroup/mypage/mysubpage. This changes slightly in 10.1.4.
    2) For the receiving page to receive the parameter, it also needs to have a page parameter setup on it. If you set it up under the same name it should work. Also, in your example below, the ? in front of the parameter name ##DBCOLUM## should be a &. (? is used for the 1st parameter on a page _pageid in this case, and & is used for all other paramters)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Pass Username into a Page Parameter

    Hi, I've got a discoverer portlet on my portal page that is pointed to a worksheet that accepts a parameter. I've created a page parameter on my portal page and I attempt to set its default value to wwctx_api.get_user...however, I can't get it to work. Help please.

    Hi Kranthi.
    1. Assuming you are with Plus you can make the parameters optional in the parameters screen (tools -> parameters)
    so that if they get NULL as value they will return all data.
    2. the second way is if you like to keep it mandatory is to define a default value for the parameter and then take care of the situation in the condition.
    for example you'll define the 1-Jan-1900 as your default date for the from_date.
    Then in the condition change if you'll define it just as from_date > :P_from_date then you got what you wanted.
    BTW In similar situations when you are dealing with varchar you can do a manipulation such as:
    from_date > :P_from_date
    Or
    :P_from_date = '1-Jan-1900'
    Tamir

  • How to pass page parameter to report portlet ?

    Portal: 9.0.4
    RDBMS: 9.0.1.5.0
    OS: Windows
    REF: How to pass page parameter to report portlet ?
    Hi,
    I create a Oracle Report as a Portlet in Portal (create Report Definition File Access and check on the option "Publish As Portlet" in the on the last step). My report has an "Additional User Parameter" and I has let it "Visible to user".
    When I put this portlet in my Portal page, I can see this parameter in the property/parameters of this page. However I cannot transfer my page parameter to this portlet parameter. Other portlets in this page (non-Oracle-Report portlets) are working fine with my page parameter.
    Please advice.

    I want to make sure we are talking about the same thing:
    After you add the portlet to the page, you go to the page properties, then the parameters tab, then there is a section at the bottom called "Portlet Parameter Values" where you can click and expand your portlet to see your portlet parameters.
    Is it here where your parameters just don't show up?
    If it is, try the following:
    - Add the portlet to another page and see if it still behaves the same.
    - Mark the parameters in the portlet as being non-public, re-generate portlet (on manage tab), then mark them as being public, re-generate and then try the above again (add to another page).

  • Current date as page parameter

    Hi,
    Anyone knows wether it is possible to pass the current date as a page parameter to a portlet (for example the omniportlet). System variables won't do it.
    Thanx
    Our portal: www.vcob.be

    we have a similiar issue and we use javascript for that purpose, we build an html portlet to acomplish that
    hope this help

  • Display page parameter in a page

    hi,
    I have one page parameter and i want to display in another page using Dynamic Portlet. I used portal.wwpro_api_parameters.get_value('status_desc','a'); in <oracle>. But i wont display the value. Could please anyone help? Is there any other way to display it..?
    Thanks in advance

    But.....what do you want to display ?
    I you want the parameter name you can try to use:
    wwpro_api_parameters.get_names
    get_names
    function get_names(
    p_reference_path in varchar2
    ) return owa.vc_arr
    Returns a list of parameter names, given the portlet's reference path. If no names are found, an empty list is returned.
    Any user can use this function.
    Example:
    If a URL has these parameters:
    http://.......?empno=10&deptno=10&ref1.deptno=20&ref1.deptno=25&ref1.folderid=30
    where 'ref1' is the reference path of the portlet instance.
    Then this call:
    l_names owa.vc_arr;
    l_names := wwpro_api_parameters.get_names
    p_reference_path => p_portlet_runtime_record.reference_path
    Returns:
    deptno and folderid in l_names
    Parameters:
    p_reference_path - a unique identifier for a portlet instance on the current page. The reference_path is passed to the portlet's show procedure in the portlet_runtime_record.
    Returns:
    an ordered list of parameter names for a given reference path or and empty list if no parameters were found for that reference path
    Since:
    Oracle Portal 3.0.6.6.5

  • Dynamic lov on a apex page parameter form

    I'm trying to create a dynamic lov on a apex page parameter form. I read another post to look at metalink note. 292521. I asked our DBA to review the note but he claims he can't find the article. he's also been unable to find the last 2 metalink requests i've made. can someone verify metalink note 292521 exists so i can inform the DBA?
    Thanks,
    Brian

    Brian, I cannot find that note either, try posting your question in the APEX forum, this forum is for Oracle Portal questions.
    Cheers,
    Mick.

  • Public Page Parameter does not get value

    I use the following API call to create a URL that will raise an event and send the “facilityId” parameter to the Public Page parameter of a destination page.
    String URLString = EventUtils.constructEventLink(prr,"FacilityInfoPage", linkParams,true,true);
    The link/URL generated by this code is:
    http://ese-ny.its-ese.local/portal/event?_pageid=584,1533923&_dad=portal&_schema=PORTAL&_portlet_ref=584_1533941_584_1533923_1533923&_event_facilityId=36003001001&_eventName_FacilityInfoPage=
    When I click on the link I am taken to the destination page and the following URL shows up in the address bar of the browser:
    http://ese-ny.its-ese.local/portal/page?_pageid=584,1533732&_dad=portal&_schema=PORTAL
    Issue 1: The Public Page parameter of the destination page does not receive the value of facilityId, Why?
    Issue 2: Why is the URL in the address bar truncated after "PORTAL"?
    Any ideas?

    Issue 1: The Public Page parameter of the
    destination page does not receive the value of
    facilityId, Why?The event link sends an event (FacilityInfoPage) to the page with the given parameters if any. In the page's edit tab you can link the event to a page and link the event's parameters to page parameters. This does not happen automatically.
    So probably you haven't linked the event parameters to page parameters.
    Issue 2: Why is the URL in the address bar
    truncated after "PORTAL"?After an event is triggered you are forwarded to the page specified for the event with the specified parameters in event. If none specified I guess you go to the original page with no parameters. The URL is then only the URL of the page.

  • How To Make A Public Page Parameter (similar to session)

    Hi, I'm new to Oracle Portal
    I wonder how to make a public parameter that can be accessed from any page (similar to session).
    So the portlets can use the public parameter.
    Case:
    when user logged in, I pass the employee_ID to the session.
    Portal pages, which contains employee portlet, and some other portlet depends on employee_ID.
    So I think, may be there's a way to set the parameter for once, but the value is accessible until the user log off.
    Any suggestion or help?
    Thx before,
    Chris

    Let me explain the problem once again:
    Page 1 Portlet 1 contains employee table
    ID, Name, Address
    When I click the employee ID (using event), it will be pass the value to page parameter EMPID
    And i want this EMPID can be accessed by
    Portlet 2 - Showing sales report
    Portlet 3 - Showing report
    Portlet 4 - Showing chart
    Portlet 5
    and so on
    Portlet 2, 3 4, 5, and so on is using EMPID as the parameter too,
    but these portlets are located in different page
    Portlet 2 is in page 2
    Portlet 3 is in page 3
    Portlet 4 is in page 4
    Portlet 5 is in page 5
    and so on
    First I think about using Package wwpro_api_parameters
    but after read further, this package can get and retrieve only
    I wonder can this (public page parameter) be done by using default Oracle Portal Tools / API, or I should do some java coding, or something else?
    Please help me...
    Thanx before,
    Chris

  • Page Parameter Overflow

    I have working with portal for about two weeks now, and the more I think I have figured out, the more I realize I have nothing figured out. Can someone help me out?
    Here's my situation. We've got a portal that a user can log into to view a list of accounts he/she is in charge of. When he/she selects an account, it submits a form that will set the 'account' page parameter, as well as some others. We also have a tab page on that page that has a tab for each department (shipping/recieving, inventory, billing, etc.). Each of these tabs has another PDK portlet in it, which is exactly the same across tabs, but it needs to be in the tab.
    Anyway, everything works fine, I can set and get the page parameter just fine, and I get all the data I need. The problem is that when I switch tabs, it essentially doubles my query string. So when I start out I have nothing in my query string, when I switch tabs, I get ?account=123. If I switch tabs again I get account=123&account=123 so on and so on. When I change the account, and submit the form again, the query string clears out, and it starts all over again.
    I guess I was just wondering if there is some concept that I'm not getting, or if it's something Portal has a problem with, or what exactly is going on.
    Any help, or advice would be greatly appreciated. I hope my description of the problem made sense.
    Thanks,
    Doug
    PS If anyone knows of any good documentation on portlet events, I'd like to hear about that too. Oracles documenation has a lot to be desired.

    I have working with portal for about two weeks now, and the more I think I have figured out, the more I realize I have nothing figured out. Can someone help me out?
    Here's my situation. We've got a portal that a user can log into to view a list of accounts he/she is in charge of. When he/she selects an account, it submits a form that will set the 'account' page parameter, as well as some others. We also have a tab page on that page that has a tab for each department (shipping/recieving, inventory, billing, etc.). Each of these tabs has another PDK portlet in it, which is exactly the same across tabs, but it needs to be in the tab.
    Anyway, everything works fine, I can set and get the page parameter just fine, and I get all the data I need. The problem is that when I switch tabs, it essentially doubles my query string. So when I start out I have nothing in my query string, when I switch tabs, I get ?account=123. If I switch tabs again I get account=123&account=123 so on and so on. When I change the account, and submit the form again, the query string clears out, and it starts all over again.
    I guess I was just wondering if there is some concept that I'm not getting, or if it's something Portal has a problem with, or what exactly is going on.
    Any help, or advice would be greatly appreciated. I hope my description of the problem made sense.
    Thanks,
    Doug
    PS If anyone knows of any good documentation on portlet events, I'd like to hear about that too. Oracles documenation has a lot to be desired.

  • Set and read page parameter using a java portlet

    I created a portlet that takes a parameter. I wantt his parameter to be set by the admin in the page parameter section. The portlet that I crated has a parameter. In the providers it has the following:
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>param</name>
    <displayName>displayParam</displayName>
    </inputParameter>
    However, when I go to the page propertie/parameter, I can "bind" a parameter. How can I do that?
    Thanks,
    Marcelo

    Marcelo,
    This was what I've given you above...
    From 7.1.3 Passing Parameters and Submitting Events jump to Section 2.12, "Public Portlet Parameters Support".
    Public portlet parameters:
    You can use a public portlet parameter to pass a value to a portlet. Using portlet parameters, the information that is displayed in a portlet can be specific to a particular page or a user. Portlet parameters are created by the portlet developer and are exposed to the page designer, through the user interface. After adding a portlet to a page, page designers can assign values to the public portlet parameters to make the information displayed in the portlet specific to the page.
    Page designers can assign values to public portlet parameters by providing a specific value (constant), a system variable (for example, the portal user name), or a page parameter. At run time, the portlet receives the values from the sources specified. In this way, page designers have complete control over the source of the parameter, whereas you have complete control over how the data is used after it is transmitted to the portlet.
    ...and in 7.1.3 Passing Parameters and Submitting Events as assumption is "You have followed through and understood Section 6.3.2, "Building PDK-Java Portlets".
    This why I've said to read it carefully... I hope this helps you further...
    Cheers,
    Pedro.

Maybe you are looking for