Making a Dynamic Page into a portlet

I made a dynamic page with bind variables using the Oracle Portal tools under the build Applications link. I was able to expose that page as a portlet. To set the bind variables, I would have to hit customize and enter the variables on a different screen. Do you know of a way to make that customize screen into a portlet?

You can create an HTML portlet with all the fields in that portlet. On the submit on this portlet, you can call your dynamic page (by passing the values entered in the HTML portlet).
Hope this helps.
Regards,
Jatinder

Similar Messages

  • How to get form fields in a dynamic page as a portlet

    I have a dynamic page(publish as portlet and added to a portal page) with a html form that has many radio button created dynamically (query a table and create as many radio button as records I found) and the name of each radio button is the id of the record from the table it represents.
    When I click the submit button of my form it will recall the same portal page and then I have to check which radio buttons where selected to update the database depending on it.
    The problem is that I can't get the radio buttons inside the dynamic page because they are created dynamically so I can't make them portlet parameters to be associated with page parameters.
    So How can I tell which radio buttons have been selected?
    Please help me.

    Hi,
    Write a procedure which will be called as the form action. This procedure should take an array of parameters like p_arg_names and p_arg_values. For example
    <html>
    <form>
    <input type="checkbox" name="p_radio">
    <input type="checkbox" name="p_radio">
    </form>
    procedure submit_form(p_radio in wwv_utl_api_types.vc_arr)
    begin
    for i in 1..p_radio.count
    loop
    htp.p(p_radio(i));
    end loop;
    wwv_redirect.url(<page_url>);
    end;
    Hope that helps.
    Thanks,
    Sharmila

  • How to use Custom Search in Dynamic Page or HTML Portlet ?

    Gurus,
    1. I have a tab called My Space in the portal web site, where user gets a personalized view of the content.
    2. I am using custom attributes and custom item types. I have a custom attribute called 'Location', which is a attribute of custom item types.
    3. I have 2 pages - News and Events.
    4. All the content in News and Events page is tagged by the attribute 'Location'.
    5. The requirement is to let the user search the News and Events by Location.
    6. To achieve this I used the Custom Search portlet and the user can select the attribute Location and see the resultant News and Event items by location in the Search portlet.
    7. The requirement is to present the News items and Event items in separate regions on the page and show only the first 5 News and Event items in the result and show a More link which would guide the user to rest of the News and Event items.
    8. Eventually there may be more content other than News and Events tagged by location. If so, the requirement is to create a new region and display the new content.
    9. How would I do this using custom search ? I was thinking if there is anyway I could use the custom search api (where can i find it ?) in the HTML portlet or Dynamic page and submit the result to IFRAMES in each region and show the output ?
    Pls advise.
    Thanx a bunch.

    I would suggest that you use two custom search portlets; one for the news items and one for the events items. Switch the custom search portlets to "AutoQuery" mode and add the relevant criteria. On the results display tab of the the "edit defaults" screen, choose to show just 5 items.
    To add a link to show the user mode results, I'd create two new pages that have just a single custom search portlet on it that is customised to show more of the results and maybe has the pagination links enabled.
    Then I'd add two "Page Link" items underneath the two news and events portlets on the first page in an item region.
    I'm sure there are other ways of doing this as well. Hope that helps to get you started.

  • Urgent: how to add dynamic page created by portal to your as a portlet in page

    i want to add a component i made by portal like dynamic page as a portlet into page in my application. please the answer is so important
    thanks

    HI,
    its easy to do.
    1.Create an application.
    2.Publish it as Application Provider.
    3.In that Application,create objects like dynamic pages,forms or report.
    4.Publish Dynamic page as a portlet.
    5.Create New Page or edit existing one.
    6.Click on add portlet tab and you will see ur dynamic page name in the portlet repository List.
    Thats it.
    null

  • Accessing the preference path in a dynamic page

    All,
    I would like to access the preference path
    so that I can use the get_names and get_value functions, in a dynamic page. When we create the dynamic page, we don't know what the preference path is. so, how do I get the preference path? e.g Add the dynamic page as a portlet into a content area page.
    Thanks
    Sanjay

    Currently the validation of the PL/SQL block of a dynamic page is not in the
    context of procedure show. So you can not directly refer to the parameters such as p_reference_path.
    There is a way to do it:
    1. use bind variable as the reference path
    <ORACLE>
    declare
    parm1 varchar2(30) :=
    portal30.wwpro_api_parameters.get_value('parm1', :path);
    begin
    htp.p('The value of Parameter 1 is ' &#0124; &#0124; parm1);
    end;
    </ORACLE>
    2. In the Parameter Form Setting, set the default value for the bind variable to #p_reference_path
    Before the PL/SQL block is executed, bind variable path will be bind with the value of procedure show's
    parameter p_reference_path.
    Hope this works.

  • Caching in Dynamic Pages

    Hi,
    I have created a dynamic page(HTML) and published it as a portlet. I have included a call to display an image(say xyz.jpg) in the code. I have also published this dynamic page as a portlet and use it in a portal page. When I view the page it shows the image. When I change the underlying image(xyz.jpg), the new image(please note that that the images are different but the path and file name are the same) is not showing up in the portal page. Instead, the old image file is displayed. I have given Don't cache for the portal page. I also tried clearing cache for the page group, portal page and the dynamic page and it still displays the old image and not the new one. Is there a way to clear cache dynamically?
    Thanks,
    Manikandan Vembu

    Hi,
    This is a known issue with the way Wordpress generates the URLs to included content:http://forums.adobe.com/message/4774943
    Wordpress generates absolute URLs to content rather than relative URLs, so the current workaround is to either use relative URLs or, if that's not possible, modify the wordpress configuration to use the IP address instead of localhost.
    Hope this helps,
    Mark

  • Unable to enforce a UI Template for a Dynamic Page

    Hi,
    I have a problem ,am unable to enforce a UI Template for a Dynamic page.As I want to modify the background color and font for the contents of the Dynamic page.I have tried to specify these in the htp functions,which works fine but when I expose the dynamic page as a portlet and drop it in a page ,the background color and font modifications do not show up.
    Any idea as to how the modifications can be done to show up in the page?

    I changed the pref.js file and that fixed the problem. thanks to those who responded to this question and for the quick replies. jjg18

  • Dynamic Page Performance Issues

    Hello,
    We have a number of pl/sql procedures that display information, and are currently implemented as portlets via separate dynamic pages. The dynamic page simply calls the PL/SQL procedure with the appropriate parameters, and overall it works well.
    What I have been noticing though, is analyzing a page using the &_debug=1 parameter, shows an example portlet (dynamic page) being generated - Portlet Timing: 4969 msecs. When running the procedure on its own (/pls/portal/schema.pkg.proc) it runs in about 1.5 - 2.0 seconds.
    Why does the dynamic page implementation add so much overhead? Is there something else that I can or should be tuning to help this? Any ideas?
    Similar results have been proven on other procedures/dynamic pages, so it seems to be an issue across the board.
    Thanks in advance,
    Mike

    Dynamic Page Porltets are expensive because they contact the database to run there associated queries EVERY time they are called.
    There is an inherent overhead with the Portal architecture when contacting the database to generate portlets. The best thing you can do is tune your query to the maximum.
    Thanks
    Peter

  • Passing parameter to a dynamic page portlet

    We need to create a drill-down report using pl/sql, but it's not working when we passed a parameter. We did the following:
    1. Create a package and a store procedure.
    2. The store procedure creates the report and the look-and-feel of the report.
    3. Create a dynamic page with the following code:
    <ORACLE>DECLARE
    BEGIN
    mvdata.interbay_ops_rpts_pkg.ops_detail_procssr_rpt(p_processor);
    END;
    </ORACLE>
    4. Set the parameter to "public" in the "customization form display option".
    5. Create a page group and a page.
    6. Clicked on properties of page and then clicked on the parameter tab.
    7. Added a parameter named "p_processor_code"
    8. We also added the portlet parameter under the "portlet parameter values" and set the parameter to be a page parameter and select the name of the parameter and click OK.
    9. Launch the URL: ttp://iasdev01.bftg.com:7782/pls/portal/url/page/PG_GRP_DEVELOPMENT/PG_OPS_DETAIL_PROCESSOR?p_processor_code=DUBOIS.
    10. When we tried to launch the application we get an empty report(doesn't execute the parameter).
    11. Edit the page and went into layout mode.
    12. Click on the "edit default" of the dynamic page portlet and put the value of the parameter and it works without any problems.
    I don't understand why it doesn't take the parameter with the page url. Any help is greatly appreciated.

    I had more luck with PL/SQL items. Try something like this:
    declare
    zip varchar2(10);
    begin
    zip := portal.wwpro_api_parameters.get_value('zip', 'a');
    if zip='94065' then
       ... do something ...
    end if;
    end;Peter

  • Passing value to a dynamic page from a pdk-java portlet

    Hi everyone.
    I'm quite new to portlets, so I'll try to present my problem as well as I can:
    I have a PDK-java portlet in which I read some information (like name, location) about user.It works ok.Now I want to use that infomation in another portlet, which is build as a Dynamic Page ( with portletbuilder). How can I do this? I was thinck at session variables, but....
    Thanks a lot

    have you ever got any response??
    i'm facing the same problem.
    thanks

  • Dynamic page in region as a portlet not displaying in portal template

    As the title suggests I have a portal template that contains a region at the top . within this region i have included 2 portlets, first is a dynamic page (a simple banner title ) then a navigation page beneath them .
    when I am logged in as a specific user it displays correctly , when I log onto the page without logging in - the dynamic page does not display ,yet the navigation page does . I have clicked on every display to public check box , assigned public user with view privilege and everything else along those lines . Any ideas ??
    thanks in advance , Chris

    Hi Chris: Just to be specific, did you go to the providers tab in Navigator, the locally built providers link then the provider which contains your dynamic page and check the access set directly on that page? You can either set the dynamic page to have its own access (overriding that of the provider) or set the provider itself to be public.
    Rgds/Mark M.

  • Read parameters in a dynamic page portlet?

    Hi,
    Is it possible to read input parameters in a dynamic page portlet?
    Am I missing something if I want to read the input_parameter?
    <oracle>
    ftp.p(:input_paramter)
    </oracle>
    Thanks a lot.

    Hi,
    It is not possible to read the input parameters in the <oracle> tag. You can read it in the additional plsql code. If you have
    to access the parameter deptno then do this in the additional plsql code section.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'deptno' then
    htp.p(p_arg_names(i));
    end if;
    end loop;
    Thanks,
    Sharmila

  • Color and Styles in Dynamic Page Portlets

    How do you control the colors and fonts of Dynamic Page Portlets.
    I am currently using simply syntax and let the Portlet do the rest.
    <ORACLE>Select * from Emp</ORACLE>

    Did you try to use something like:
    <head>
    <LINK rel="stylesheet" href="estilos.css">
    </head>
    before the oracle tags and inside the file include the colors and all that things?

  • Over-ride default customization for Dynamic page portlet

    has anyone been successful at over-riding the default customization that comes with the Dynamic page wizard. I have a portlet that will have specific values for each user and I would like to default those values the first time the user comes in. The delivered customization screens are not adequate to do this.
    Any ideas would be appreciated...
    null

    The question is not related to dynamic services. It is related to over-riding the default customization delivered by the Oracle portal dynamic page wizard. I need to figure out using the PDK how to enhance / over-ride the default customization that is generated. Is the preferred approach to go through the wizard and then modify the code that gets generated or should you just start from scratch and never use the wizard at all?
    Thanks,
    Tom
    null

  • Portlet development as a dynamic page

    Hi, professionals!
    I am very new to Portal, and so, am just feeling my way through, reading the docs, looking at the Portal online forum, etc.
    I need to develop a portlet as a dynamic page where would be automatically created a report with user’s login and other details from DB table. On portlet should be a link to the form where users insert their information. When the users click on “Submit” button e-mail notification should be sent to the Outlook. Any suggestions?
    I would appreciate any help. Thanks.

    Hi,
    Write a procedure which will be called as the form action. This procedure should take an array of parameters like p_arg_names and p_arg_values. For example
    <html>
    <form>
    <input type="checkbox" name="p_radio">
    <input type="checkbox" name="p_radio">
    </form>
    procedure submit_form(p_radio in wwv_utl_api_types.vc_arr)
    begin
    for i in 1..p_radio.count
    loop
    htp.p(p_radio(i));
    end loop;
    wwv_redirect.url(<page_url>);
    end;
    Hope that helps.
    Thanks,
    Sharmila

Maybe you are looking for

  • My iPod nano and iPad are not showing on iTunes

    Hi, I have an iPod nano 6g and an iPad that were working just finr a couple of days ago. Now my iTuns is not recognizing either of them ! I tried every solution possible in the Support section but nothing worked. The thing I noticed while trying to f

  • Mail and safari issues

    Mail quits unexpectedly when trying to attatch a file, Safari quits upon opening. Firefox seems unefected. software update is trying to get me to update with (JAVA for mac os x 10.5 update 4 1.0) it fails to install after repeated attempts. I have a

  • 2 identical macbook pro with mountain lion osx 10.8.1...one is fast and one is slow

    Helllo. I am a new user with mac, and i have purchased two macbook pro and both of them have the same application and programs! the one is fast like a rocket, and the other one is very slow! Even when i want to open finder, i have to wait 5-10 second

  • CineBench won't open on MacBook Pro, why?

    I've been wanting to test my MBP to see whether its just me, or whether graphics performance has decreased over the last month or so, so I downloaded CineBench to do that, but it won't open.  When I double-click it, the icon just looks like it's open

  • Photos on ios 8

    I used to take pics via my iPhone and once they were saved in iCloud, then I used to delete the pics from camera roll in ios 7... But now after upgrading to ios 8 as we all know that camera roll has disappeared..... So now how do I delete pics from c