To pass the page parameters to a form in portal

Hi,
I am trying to develope a simple page using portal which contains
1. Simple parameter form.
2. Form that accepts the data from the simple parameter form.
I want to pass 2 page parameters to this form(no.2)
Is it possible to pass the page parameters to a form in portal?

You can see a simple example of setting parameters here:
http://www.patrickhaston.co.uk/Portal/parameters.html
And to use them in a form:
http://www.patrickhaston.co.uk/Portal/webplsqlapp1.html
Hope this helps.
Patrick

Similar Messages

  • How to put the page parameters in to Form?

    i have a form called from a report with 2 parameters in the page url. How can i set the default value with the page parameter in the form.
    thanks

    I only know of two ways to link from a Portal DB Report:
    1) Associating a Link with a report column.
    2) Building a URL as a column and having the column Display As HTML.
    Neither of these methods can be used to set session storage values prior to calling a page. In fact, only the second method can be used if you wish to call a page with parameters.
    Can you provide more detail on your proposed workaround?

  • How to pass the report parameters through java not by using URL

    Hello...
    I have an oracle App. Server 10g with report service
    I can the report using the URL :
    http://host:Port/rwservlet/report=....
    and passing the report parameters ...
    But is there any way to call the report by pdf format and passing the parameters from java without using the url ???

    thank you shahcsanjay for your reply
    but I think that web.showDocument can not be used by ordinary java web application ..
    I think it can be used only with with "oracle forms" Am I right ?
    If no can you please tell me where can I find a useful document about how to use web.showDocument ...
    thanks again
    Saleem

  • The page parameters are not showing in the URL .

    I my appliaction all the pages have textboxes with some values . But the URL for none of the page shows the parameters like every page has url :
    http://127.0.0.1:8080/apex/f?p=105:8:598450314306501::NO:::
    but none of the page parameters are being shown . What is the problem here
    please help

    You can setup a page branch that responds to your specific button and within that branch definition you can specify page items and values to be set when that branch fires.
    Is there a specific reason that you want the values passed on the URL? That's not really required to make ApEx function properly.
    Earl

  • How to pass the page item data from tabA to TabB of a discoverer report

    I have a discoverer repoort, it is master_detail (Dept-Emp) report
    TabA is a master worksheet, which has a page item Deptno
    (the data is from a customized query)
    TabB is detail report which has a Deptno as the page item
    which show the emp detail info on this deptno
    (the date is from another customized query).
    What I want to do is;
    When I change the Deptno in TabA, TabB should automatically change to the deptno of Tab A when I click TabB.
    How can I pass the page item deptno from TabA to page item of TabB?
    Thanks for your help

    Hi.
    You are absolutely right, you cannot create a link from Page Item.
    My Idea was (and I'm sorry taht I didn't mention it at the beginning) to create one link for each and every column in the report in the TabA.
    All these links would be exactly same and pass the Deptno to the TabB.
    So the end user can click wherever he wants (all cells on the worksheets have the link to the TabB) and he is always redirected to the TabB with the Department parameter seted to Deptno Page Item from TabA.
    As I already said before, it is not exactly what you expected, but it's probably the best you can get out of Plus.
    Jakub

  • How to pass the uwl data in BPM to other portal?

    Hi,gurus,
    I have two questions about BPM?
    1. I want to pass the UWL data in BPM to other portal (BEA Websphere portal),how to do that?If websphere portal offered a method  to me,how can I pass the parameter to that method?At first,we want to use the SAP EP uwl,and display the uwl in BEA portal.But at last,they want to create some  tables in BEA and offer a method to CE BPM. So how to do that?
    2.How to call ecc workflow in BPM?And how to call BPM in ECC workflow?
    Thanks in advance.Any help will be appreciated!

    Hi,
    Regarding your qustion on calling SAP Busines Workflow from BPM and vice versa, I think directly it is not possible to give a call. You can invoke outside functionality only if you can expose it as a Web Service which can be used as an automated activity or in a Human Task with custom code.
    Hope this help!!
    Regards,
    Arafat

  • How to know the Post parameters of a form?

    Hello
    I am developing an application where, I have to login to web site, etc. I am newbie in this kind of development. I can access the web page, retreive the page. So, GET part is working fine. I have problem with Post. I am using JDK 1.6 with apache's HttpClient 3.1 for communicating through the web site. After setting parameters in NameValuePair[], when i run execuseMethod(postMethod), it throws the following exception :
    i]Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: host parameter is null
    I think, I may be going wrong in providing proper headers, parameters, etc. Can anyone help me know:
    1. How can I know what parameters, I need to pass in the POST method. Along with form attributes, their may be any hidden values to be passed. How can I find out that.
    2. Their is a submit button, how do i deal with that - tell the post method to click it ?
    3. Same with headers. Which attributes needs to be set of headers and what values?
    I saw some files on net, where prg'er are adding few other parameters that are hidden - but not all hidden parameters!
    Any help is appreciative. Please it would be nice if you can help me out. I am new in this type of development. I have spend 2 days looking out for this problem, but couldn't find any help yet. Please any help at the earliest is benificial.
    Thanks
    Terry

    Ok. To check the host before executing the post methd, I gave :
            HttpConnectionManager connectMgr = client.getHttpConnectionManager();  // ************
            HostConfiguration hc = client.getHostConfiguration();                                 // *************
            if (connectMgr.getConnection(hc).isOpen() == true)                                  // EXCEPTION - hc contents r null
                System.out.println("Connection is OPEN");
            else {
                System.out.println("Connection is ******************* NOT OPEN *************** ");
            method.setRequestBody(data);
            int statusCode = 0;
            try {
                statusCode = client.executeMethod(hc, method);
                System.out.println("Register Send: " + method.getStatusLine().toString());
            }catch (HttpException e) {
                method.releaseConnection();
                System.out.println("HTTP EXception : " + e.getMessage());
            }catch (IOException ie) {
                method.releaseConnection();
                System.out.println("Error Exe Method - Post. Status Code = " + statusCode);
                ie.printStackTrace();
            }HttpConnectionManager has hostname, portNo, httpconnectin isopen -> false
    HostConfiguration has host, port, localAddress all null
    Due to the null value the exception is thrown. What do I do now? Infact, in my GEt also, I tried the same thing, their also host is null of HostConfiguration, but it works well, as it doesn't have to send anything.I have no clue to move ahead.Also, what must be the content length?
    Thanks

  • Hiding Image field based on the page number in Adobe Form- Script

    Hi Folks,
    I have a problem with the print form that I am working on. I need to insert an image of lines (OMR) based on the page numbers. For the OMR part, the first page will always have 4 lines as a image, the middle pages will have 3 lines as a image and the last page will have two lines as a image.
    I have uploaded these 3 images a BMPs in SE78 and I am using Xstring of these images in the form. I have two master pages. First master page is for the first page and the second master page is for the remaining pages. The first master page will always have the 4 line image. I created a positioned subform in the master page2, in that subform, I have 2 hidden numeric fields, as the run time properties one for the current page number, other one for the total number of pages. I placed those two images(one for the three line image and the other one for the two line image) exactly on the same location positioned dimensions wise. 
    I have written the java script for these two image fields to show based on the page numbering. But, somehow, it is not working. Can anybody please let me know where I am doing wrong. I am posting my java script here.
    for the three line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    //if(data.#pageSet[0].MasterPage2.OMR.cpage.rawvalue == data.#pageSet[0].MasterPage2.OMR.npages.rawvalue){
    for (j=0; j<xfa.layout.pageCount(); j++){
      if(cp == np){
        xfa.resolveNode("data.PageSet.MasterPage2[" + j + "]").OMR.OMR2.presence = "hidden";
      else{
        xfa.resolveNode("data.pageSet.MasterPage2[" + j + "]").OMR.OMR2.presence = "visible";
    For the two line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    for (j=0; j<xfa.layout.pageCount(); j++){
      if(cp == np){
        xfa.resolveNode("data.PageSet.MasterPage2[" + j + "]").OMR.OMR3.presence = "hidden";
      else{
        xfa.resolveNode("data.pageSet.MasterPage2[" + j + "]").OMR.OMR3.presence = "visible";
    Please give me a direction as this is kind of hurry.
    Thanks,
    Srinivas.
    Edited by: srinivas kari on Jun 9, 2010 2:03 AM

    HI Otto,
    Thanks for the response. You are right, I am struck with this image. My problem was to keep the OMR marking on each page based on the page number. It is like a lines with 10mmX10mm dimension at the top right corner for the sorter machine to know the number of pages to put in the envelope. The logic for this is, on the first page, it has 4 lines each 3mm apart. On the middle pages it has 3 lines . On the last page it has 2 lines. When the sorter machine picks these, it looks at the first page with 4 lines, it will count as a first page, it will continue through the 3 line pages as the middle pages until it reaches the 2 line to know it as the last page. This is all happens in the master pages. I have two master pages , one for the first page and the second one for the remaining pages.
    At first I did not know how to To achieve this, I created 3 images. one with 4 lines, another ones with 3 lines and 2 lines. The 4 lines image was on the first master page. The 3 lines and 2 lines images were on the second master page at the same place as the image fields positioned. Thats where I was trying this scripting. I was trying to capture the current page and number of pages. Based on these, I was trying to place them.
    Is there any other way to achieve this instead of using the images? I thought of sy-uline. but some in the forum told that its not going to work. Even if I use the sy-uline, I have to do some script to achieve this I believe.
    Any inputs on this.. Please give the direction.
    Thanks,
    Srinivas.

  • Hiding Image filed based on the page number in Adobe Forms - scripting

    Hi Folks,
    I have a problem with the print form that I am working on. I need to insert an image of lines (OMR) based on the page numbers. For the OMR part, the first page will always have 4 lines as a image, the middle pages will have 3 lines as a image and the last page will have two lines as a image.
    I have uploaded these 3 images a BMPs in SE78 and I am using Xstring of these images in the form. I have two master pages. The first master page will always have the 4 line image. I created a positioned subform in the master page2, in that subform, I have 2 hidden numeric fields, as the run time properties one for the current page number, other one for the total number of pages. I placed those two images(one for the three line image and the other one for the two line image) exactly on the same location positioned dimensions wise.
    I have written the java script for these two image fields to show based on the page numbering. But, somehow, it is not working. Can anybody please let me know where I am doing wrong. I am posting my java script here.
    for the three line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    //if(data.#pageSet[0].MasterPage2.OMR.cpage.rawvalue == data.#pageSet[0].MasterPage2.OMR.npages.rawvalue){
    for (j=0; j<xfa.layout.pageCount(); j++){
    if(cp == np){
    xfa.resolveNode("data.PageSet.MasterPage2 [" + j + "]").OMR.OMR2.presence = "hidden";
    else{
    xfa.resolveNode("data.pageSet.MasterPage2 [" + j + "]").OMR.OMR2.presence = "visible";
    For the two line image:
    var cp = data.PageSet.MasterPage2.OMR.cpage.rawValue;
    var np = data.PageSet.MasterPage2.OMR.npages.rawValue;
    for (j=0; j<xfa.layout.pageCount(); j++){
    if(cp == np){
    xfa.resolveNode("data.PageSet.MasterPage2 [" + j + "]").OMR.OMR3.presence = "hidden"; // there is some problem while //posting it is like MasterPage2[" + j + "]")
    else{
    xfa.resolveNode("data.pageSet.MasterPage2 [" + j + "]").OMR.OMR3.presence = "visible";
    Please give me a direction as this is kind of hurry.
    Thanks,
    Srinivas.
    Edited by: srinivas kari on Jun 9, 2010 12:04 AM

    HI Otto,
    Thanks for the response. You are right, I am struck with this image. My problem was to keep the OMR marking on each page based on the page number. It is like a lines with 10mmX10mm dimension at the top right corner for the sorter machine to know the number of pages to put in the envelope. The logic for this is, on the first page, it has 4 lines each 3mm apart. On the middle pages it has 3 lines . On the last page it has 2 lines. When the sorter machine picks these, it looks at the first page with 4 lines, it will count as a first page, it will continue through the 3 line pages as the middle pages until it reaches the 2 line to know it as the last page. This is all happens in the master pages. I have two master pages , one for the first page and the second one for the remaining pages.
    At first I did not know how to To achieve this, I created 3 images. one with 4 lines, another ones with 3 lines and 2 lines. The 4 lines image was on the first master page. The 3 lines and 2 lines images were on the second master page at the same place as the image fields positioned. Thats where I was trying this scripting. I was trying to capture the current page and number of pages. Based on these, I was trying to place them.
    Is there any other way to achieve this instead of using the images? I thought of sy-uline. but some in the forum told that its not going to work. Even if I use the sy-uline, I have to do some script to achieve this I believe.
    Any inputs on this.. Please give the direction.
    Thanks,
    Srinivas.

  • How to change the page break in adobe forms

    Does anyone know how to change the page break on an adobe form?  I'm hoping it will be the same way you change the page view in excel.
    Can anyone help?
    Thank you in advance,
    Priscilla

    HI
          YOU CAN USE THE FOLLOWING SYSTEM FIELDS OF SMARTFORMS FOR THE MENTIONED PURPOSE
    <b>&SFSY-PAGE& </b>
         Inserts the number of the current print page into the text. You determine the  format of the page number (for example, Arabic, numeric) in the page node. 
    <b>&SFSY-FORMPAGES&</b> 
         Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output
    <b>&SFSY-JOBPAGES& </b>
         Contains the total page number of all forms in the currently processed print  request.
    REGARDS
    ANOOP

  • Could you tell me how to use the page parameters to portlet parameters?

    In the Page Group: Properties link , then to the Configure tab,
    then to Parameters and Events section & check the box to enable Parameters and Events.
    I did it. And I can see the Parameter tab on page properties.
    =====================provider.xml=================
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>boardname</name>
    <displayName>boardname</displayName>
    <description>This is public portlet parameter #1</description>
    </inputParameter>
    <inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
    <name>boardid</name>
    <displayName>boardid</displayName>
    <description>This is public portlet parameter #2</description>
    </inputParameter>
    ==========================================
    Also I did write the above in provider.xml.
    But there is "portlet_name(no parameter)" in Portlet Parameter section.
    I did as the document
    (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/ADDING.PARAMETERS.EVENTS.TO.PORTLETS.HTML).
    I don't know what is wrong.
    Experts~!,could you help me?
    With regards,
    eunjoo

    I did it!
    In my provider.xml,
    I deleted <passAllUrlParams>true</passAllUrlParams>
    tags. Then it works~!
    Thanks,
    eunjoo

  • Scheduling report in background and passing the necessary parameters

    Hi all,
    Using code (in a report1) ...i want to execute a report (report2) in background.....but at the same time i want to pass data (an internal table and a variable) to that report2.
    is it possible to pass data like internal table to a executable report and at the same time pass the data to that report.
    Thanks in advance.
    Thanks and Regards,
    Sushil.

    Jonathan,
    you mean to say that .....  report1 will place the file on application server with all the data that is required for report2...
    and after scheduling report2 in background ,...... the report 2 must read the file and then delete it,,,,,
    the data is extensive,,, i want to pass on 1,00,000 records to that report ,... so passing it via a dataset,,,wont hamper performance..??
    Is there any other direct way to do it,,,,,,,??
    Thanks ,
    Best Regards,
    Sushil.

  • Changing the page size in smart form

    hi to all experts,
    im printing barcode of size 1x3 how can i change the page format from A4 size to 1x3

    hI,
    it is possible to create a new page format using tcode SPAD
    go to full administration from the applitool bar. go to device types tab
    1) create a page format
    2) under device type : include the page format in SWIN.
    now go to devices/servers tab
    1)create a new output device here. and use it in program.
    Edited by: kat k on Feb 25, 2009 9:46 AM

  • On websites like Flickr the pages are not now forming like they should, I am just getting lists.

    Something has changed the way Firfox is working, on Flickr I get lists instead of the usual images, and on hot mail I cannot delete emails. (I click on delete and nothing happens)
    I have recently removed some files and cookies.

    Why not reconstruct the pages in InDesign they way you want the double pages to appear. There may even be an imposition script available that will do the trick. You could then output to pdf all the pages you want the full spread on. Leave the original to create the pages you wanted left as is.
    You can ask in the ID forum about an imposition script. I know there was one with CS4, there may have been one with CS3.

  • How to pass the import parameters in FM alsm_excel_to_internal_table

    I have an openoffice excel file.Even if I store as an xls file the FM is not working

    Hi,
    You can do like:
    TYPE-POOLS truxs.
    DATA: it_raw TYPE truxs_t_text_data.
    *      internal table declared to be passed in the
    *      function module used to convert data from xls to sap
    *&At selection screen
      SELECTION-SCREEN BEGIN OF BLOCK b2  WITH FRAME TITLE text-004.
    * parameter declared to browse file from presentation server
      PARAMETERS : p_file TYPE rlgrap-filename OBLIGATORY .
      SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    *& Subroutine created to put F4 functionality on the selection screen
    *& for the user to browse the file from the presentation server
      PERFORM f4_file_process USING p_file.
    START-OF-SELECTION.
    *&Function module called to upload xls data into an internal table
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_field_seperator    = 'X'
          i_line_header        = 'X'
          i_tab_raw_data       = it_raw
          i_filename           = p_file                 "file path browsed
        TABLES
          i_tab_converted_data = it_upload[]            "int table populated having fields same as uploaded file
        EXCEPTIONS
          conversion_failed    = 1                      "browsed file's data
          OTHERS               = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    FORM f4_file_process  USING    p_p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
          field_name    = 'P_FILE'
        IMPORTING
          file_name     = p_p_file.
      IF sy-subrc NE 0.
        MESSAGE e000(zsd).
      ENDIF.
    ENDFORM.                    " F4_FILE_PROCESS
    Hope it helps
    Regards
    Mansi

Maybe you are looking for

  • Preview icon was gone from dock

    Hi everyone I have a problem with Mountain Lion. When I opened a pdf documents with Preview, it worked fine. After I closed the document (without quitting Preview) then I clicked on desktop, the Preview icon was gone from the dock. But when I opened

  • PC to Router cross over or Straight thro ???

    Hi Friends, I am a newbie, my question can make u laughing. I was trying to install DHCP on an router and i plugged the straight thro cable into the Ethernet interface of the router. Fortunately i got the ip address from the range i assigned. After a

  • My macbook pro 2006 model is not reading cds

    What To Do About This

  • ACS and HA

    Hello, The purpose is to use a 802.1X authentication with ACS server, AD and high availibility. I have 2 sites with one AD with a 4 mega link bandwidth and one ACS for each site. I know that it is possible to use ACS active/passive mode with replicat

  • Is there any command to see dfc memory on SUP32?

    Is there any command to see dfc memory on SUP32?