How to make Portal Form Submit go back to portal page?

I'm using a form inside a Dynamic Page portlet so that I can have portal page parameters feed into the form. This works just fine.
However, when I submit a new record in my form, the page navigates to a page with just my Portal Form and not the Portal Page with the dynamic page that referenced the form. I need to make sure that when users click the insert/submit on my form that it goes back to the Portal Page that houses the Dynamic Page portlet.
I have logged a TAR but Oracle was unable to resolve it since they can't write code for a customer. Their suggestion was to put this in the pl/sql "Custom" event for the insert button:
DECLARE
l_url VARCHAR2(200);
begin
l_url:=
'TARGET=_blank>http://dallas.lacare.org:7777/portal/page?_pageid=154,107011&_dad=portal&_schema=PORTAL';
PORTAL.wwa_app_module.set_target(l_url,'CALL');
exception
WHEN OTHERS then
htp.p(SQLERRM);
end;
But that gives me an internal server error when I submit my form.
Any other ideas?
Thanks,
David

Looks like my problem was just the TARGET=_blank> stuff. I change the code to the following:
DECLARE
l_url VARCHAR2(200);
begin
l_url:=
'/portal/page?_pageid=154,107011&_dad=portal&_schema=PORTAL';
PORTAL.wwa_app_module.set_target(l_url,'CALL');
exception
WHEN OTHERS then
htp.p(SQLERRM);
end;
That works fine and instead of putting it in place of the INSERT button code I left that alone and put it in the "After form processing" pl/sql code. Now it works pretty well. The only thing left to fix is that it loses all my current Page Parameter values when forwarding the url like that.
David

Similar Messages

  • How to make a form for input in web interface builder

    Hi expert:
        How to make a form for input in web interface builder?I have already used it to do PS planning, but I don't know how to  draw lines and checkboxes . Thanks in advance.
    Allen

    WAD:
    Open the WAD and create a new template. On the left hand navigation you will have several Web Items available. Under 'Standard' you have 'Analysis' item. Pull that into your template to the right. Under the Properties tab you need to pick the query [form/layout] that you have built in Query Designer.
    You will also find other items such as Button group, Checkbox, drop down, list box etc available. Pick and drag into the template whatever it is you require. Lets say you want a button. Under the Properties tab select the 'Command' that you require. You could use standard commands that are available there. You could also define functions and commands that you require.
    Query Designer:
    Open the QD and drag the characteristics and key figures that you require into the rows and columns of the QD. You would need to specify restrictions under the Filter tab of the QD based on the granularity of data that you require. You would need to remember that the key figures need to be made Input Ready [do this by clicking on KF and on the planning tab select "change by user and planning functions"].
    This shouldgive you a start. After you've explored it yourself a bit we can discuss further and I can certainly provide you additional details/material on these areas.
    Srikant

  • Hi can anyone tell me how to make the forms url short to the end user

    Hi,
    Im using oracle forms 11gR2 and everything is working fine, but my question in how to make the forms url short to the end user.
    For example my forms url is  " http://localhost:9001/forms/frmservlet "  now i want to modify this url as   "myweb.gov.ae"
    can anybody suggest me the possibilities to change to default forms url to our own url as mentioned in the above example.
    Thanks & Regards,
    Hari

    You would have to either -
    * edit the code pointed to by the new action attribute to
    include the form
    processing and email generation, or
    * edit the form processing script to also include the insert
    record and
    check user name scripting
    The former is probably the better procedure, since I suppose
    you'd want to
    do the check user name before sending the email.
    Unfortunately, this means
    you will have to get your hands into the code, or hire
    someone to do it for
    you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "ducati1" <[email protected]> wrote in
    message
    news:gkriis$et6$[email protected]..
    > Hi guys.
    > I have a page with a form on it here.
    >
    http://www.thechallenge.net.au/superredemption.php
    > I want the data placed in the textfields within the form
    to come to me in
    > an
    > email upon submission.
    > Now normally I would action the form to use this page
    here
    >
    http://www.thechallenge.net.au/Redemptionform.txt
    > But because the action of the form is now <?php echo
    $editFormAction; ?>
    > due
    > to an insert record and check user name server behavior
    I cannot use my
    > normal
    > method.
    > Can anyone tell me how I can get around this problem?
    >

  • How to make PDF forms work in DreamWeaver

    How to make PDF forms work in Dreamweaver

    Look at DW's starter pages called "liquid" (FILE | New > Blank Page > "2 column, liquid" etc., or Google "liquid layouts".

  • How do I a form submit without losing page parametes on other portlets?

    I have a page with several portlets. How can I make one of the portlets do a form submit without losing page parameters in other portlets?
    If I do a submit only the controls in the form I have submitted are passed which means I loose parameters that where passed earlier.
    I looked at the code the portal uses for the next button and I see that it does a POST with the action being the complete current URL with existing parameters. When I do this I cannot access the form variables in my dynamic page.

    There are 3 steps to the balancing act of image weight (file size) vs image quality
    1) image dimensions (on screen height x width measured in pixels is all that counts). Smaller dimensions = smaller file size.
    2) compressed file type (JPEG for photos, PNG or GIF for everything else). Choose the right file type for your image.
    3) quality of the final compressed image - visually comparing the final image for "acceptableness" (less artifacts) vs final file size
    There are plenty of tutorials online
    http://inobscuro.com/tutorials/read/35/
    http://sixrevisions.com/web_design/comprehensive-guide-saving-images-for-web/

  • How to make dynamic form fields update?

    This is going to be an ugly post, fair warning! :)
    I have a form that gets it's labels and text input field
    names dynamically from a database. Rather than having the form
    hardcoded, we are able to add new columns to a table and the form
    automatically adds new labels and fields via CFQUERY.
    When the form is completed and they submit (method post), the
    database is supposed to update. However, because our input field
    names are being populated via query, we can't write a static update
    query when we add new form items.
    So, I do have a solution to this (in my head), but I'm stuck
    at a bit of logic and am having trouble getting it out in code. I'm
    looking for a way to write #FORM.#fieldname## (here is where it
    gets ugly). Since the form submits by post method, I am left with a
    bunch of FORM.fieldname's on my action page (and fieldname is
    generic for what the actual variables are).
    So here's how I am updating:
    I have a table (call it table1) that contains a column of all
    the column names of my data table (table2). This table is used for
    query purposes only, no data is updated here from the form.
    I query table1 to call all the names of the columns in
    table2.
    <cquery datasource="exdb" name="exname">
    SELECT columnName
    FROM table1
    </cfquery>
    Then I write the update query which will update items as they
    are looped using CFOUTPUT:
    <CFOUTPUT QUERY="exname">
    <cfquery datasource="exdb" name="exupdate">
    UPDATE table2
    SET #columnName# = #FORM.<columnName>#
    WHERE itemID = #FORM.itemID#
    This is my dilemma. As you can see, the cfoutput is a loop..
    so let's take the first item in the loop, call it "name1". So our
    update query says SET name1 = #FORM.name1#, and this will update
    the table with whatever was submitted in name1's input field. The
    cfoutput loops again, this time it's name2. SET name2 =
    #FORM.name2#. Now the form does include a hidden input of itemID to
    specify where the table should be updating, as you can see above.
    So, now that you see how this works, my problem is getting
    #FORM.<columnName># to be FORM.name1, FORM.name2, etc.
    In Coldfusion you would write #FORM.variable# to call a FORM
    item. However, since the variable is pretty much undefined and we
    use a query to populate it, we need to do #FORM.#variable## where
    #variable# needs to be resolved before #FORM._______#
    Are you with me on this? It's very complex in explanation,
    but if you need more info, I can provide it more clearly. Let me
    know what you guys think. Really, I have the solution, but getting
    #FORM.#columnName## to resolve is another problem. I think what i
    need is to figure out the order of operation for that statement, so
    #columnName# resolves first.

    You'll want to use the scope structure notation when dealing
    with your form variables. The variable Form.SomeVar can also be
    written as Form["SomeVar"]. Using this syntax, you can do something
    like this:
    UPDATE table2
    SET #columnName# = #FORM[columnName]#
    WHERE itemID = #FORM.itemID#
    You may also want to look into the following to help optimize
    your code:
    1) check out how to use <cfqueryparam> - it might speed
    your code up a bit.
    2) depending on the DB you are using, you may be able to
    combine all of your UPDATE SQL commands inside 1 <cfquery>
    </cfquery> block. This will allow you to do all your database
    actions with 1 DB connection, instead of a bunch (works in MSSQL,
    not sure about Oracle or MySQL)

  • Is there any tutorials on how to make a form in Adobe Acrobat?

    http://www.bgsu.edu/downloads/hr/file26711.pdf
    I need help! I need to make a form just like the one in the link above. Is there any step by step directions on how to do this?
    Thanks!
    Salome Roe

    That's a pretty basic form built using an older version of Acrobat (not sure what you are using. This is the Reader forum by the way).
    You can start with this tutorial: http://tv.adobe.com/watch/learn-acrobat-x/getting-started-creating-simple-forms/

  • How to make a form Dynamic(Serious Issue)

    Hi,
    I have a problem.
    How to make an Interactive form Dynamic while saving it in NWDS(NetweaverDeveloperStudio).
    Helpful answer is highly rewarded and Highly Appreciated.

    Hello Sankar,
    Do the following:
    1) In your Adobe Livecycle Designer, Select, Edit > Form Properties, in the Default tab, set u201CPreview Typeu201D to u201CInteractive formu201D
    2)
    Assuming you are using Web Dynpro application, then do the following also:
    Place the following code in the wdDoModifyView method of the View where the form is placed.
              IWDInteractiveForm iForm1 = (IWDInteractiveForm) view.getElement("<name of your form here");
              iForm1.setDynamicPDF(true);
    Hope this helps,
    Harman

  • How to make a form fillable

    how can I make a form fillable?

    A script can be used to reset the form when it is opened (or closed), but this might not be sufficient for your purposes. You can also set the file itself as read-only, preventing the user from saving it in the first place.
    May I ask what's the point of adding form fields to this file? Is it just so that it could be printed?

  • How to make a form

    I've made an sql file and i can connect to it in Oracle Forms 6i. I can see the tables and columns in the Object Navigator, and now i would like to make a form. As you can tell, im new to Oracle Forms, so how do i go about it?
    Thanks.

    New problem:
    I notice that the canvas i am working on has a toolbar at the top with many buttons like insert, exit... However, i do not want these shown when the form runs because i dont want the user to have all of those privelages, so i would like to remove this toolbar and replace it with buttons of my own. So:
    1) is there a way to remove this toolbar?
    2) I cant see a command button property that does the equivalent of Action -> Save. Does this mean i need to make a trigger to save changes?

  • How to make a form using a wizard when the table has no primary key ?

    Hi,
    I want to make a form to update, delete a table. The table has no primary key. The problem is that the Wizard ask for a primary key.
    How to avoid using a primary key ? i mean I don't want to create a primary key if is is possible.
    I would like to use the wizard; is it possible ?
    Thank you for your kind answers.
    Christian

    I believe the key is choosing 'Interactive' as opposed to 'Classic' in the implementation and then you can choose 'Existing Trigger' for the primary key source and it should work to use an existing column as your proimary key.

  • How to make a form be excutable (exe)

    Hi all,
    Is it possible to make a form be excutable (exe)? and if yes, HOW?
    Best Regards,
    hany

    sorry...
    for the time being, oracle not yet provide any utility to convert oracle forms to an executable program.
    Thanks...

  • How to make a form dynamic so that it displays different logos at runtime

    I am working on some assignment wherein I would like to make a form dynamic so that in it's designated image holder it displays different logos/pictures at run time? First of all is there such a possibility?? I am still very new to this forum and also trying to understand the logic/bindings/heirarchy etc. in LCD. Any input would be highly appreciated.
    Thanks in advance

    LC 7 or 8 does not help load logs at runtime. However you can associate all your logs at design time and control their visibility property based on the events. This may help fulfill the requirements you have to an extent however adding number of images at design time will increase the size of the template.

  • How to make adobe form as Interactive

    Hi,
      I am trying to make adobe form in input-output mode ie. Interactive. For that I am passing parameter   fp_docparams-fillable = 'X' to function module which generates Adobe form (In driver pgm)  But its giving error as <u>"<i>Error in Adobe Document Services: Processing exception during a "UsageRights" operation.#Request start time: Tue Jul 17 16:37:37 GMT+05:30 200"</i></u>
    Do we need to any ADS setting? or is there any other way to make form?interactive?
    Regards,
    Seema

    hi Seema,
    you need to install the ADS first of all...
    the interactive form is not a much complicated thing at all....
    like you create all the UI in the Dynpro Layout...
    you create the UI elements in the Adobe Lifecycle Designer.
    they are bound to the Context the same way as your Dynpro ui elements are.
    whatever you put in the Context will affect the contents of the ui element.
    and whatever you put/type in the ui element will be reflected in the context.
    regards,
    -amol gupta

  • How to make my form be compatible with older adobe versions

    Hello,
    I created a dynamic form with adobe lifecycle 9. As users try to use the form, they get this error:
    "This PDF form requires a more recent version of Adobe® Reader® or Adobe Acrobat® software. While this form may appear to be working, some elements may not function correctly or may not appear at all."
    Is there a way to make the form be compatible with older adobe versions?
    Thanks.

    In the File Menu -> Form Properties under Default Tab, choose the Target Version of Adobe Reader that you expect users to have the minimum version.
    If any of the functionality does not compatible with the selected version, then the warnings will be displayed under report tab. You can access it by going to Window menu -> Report.
    Thanks
    Srini

Maybe you are looking for