Error JSON trying to redirect to another page in the same application

I'm implementing a dynamic PL/SQL action that is triggered by clicking a button.  Dynamic action sets two values in a table and then I want to redirect to another page.  The works of fine setting values.  The code is below:

declare

l_information VARCHAR2 (255): =: P94_FILENAME;

BEGIN

commit;

UPDATE VDI_METADATA

SET CREATEUSERLISTNAME = l_information,

CREATEUSERLISTON = sysdate().

commit;

HTP.init;

owa_util. REDIRECT_URL ('f? p = & APP_ID.:81: & APP_SESSION.:NO :::');)

END;

The redirection fails with the following error:

"Error: parseerror: JSON.parse: not just a space unexpected character after JSON data.

I tried several approaches, using the suggestions in this forum on how to redirect to a page of PL/SQL.  None of them lead to success.

Can anyone tell me: what is the system to complain?  And is there a work around?

Thank you.

John,

I recommend the addition of another true action in your dynamic action that executes javascript.  the logic would be just redirect('f?p=&APP_ID.:81:&APP_SESSION.::NO:::');

Remove everything after the validation of your action of pl/sql.

David

Tags: Database

Similar Questions

  • How to link to another page in the same application?

    I think I have right now a brain fog. Cause I can't understand this.

    I would like to make a link to another page in the same application through just an arbitrary word in a paragraph.

    I'm not trying to spend all the values. I do not use a button or a text element.

    How can I make a link to a Word?

    Thank you very much
    Maggie

    Hi Maggie!

    I imagine me, that you have a html text and you want to have a hyperlink to another page in your application.

    For example, you have a text like: "I want to create a hyperlink to a page.

    Now, if your mouse passes the word 'hyperlink', you want to see this magic 'hand '.

    First copy the URL of the target page: something like this-> "http://127.0.0.1:8080/apex/f? ' p = 100:2:3122716493255005:NO:

    Changing your text to html in this way:

    I want to create a hyperlink to a page

    I hope it helps

    Gerhard

  • I want to do a video opening and to redirect to another page after the end of the video, how do?  No matter what widget or code can do?

    I want to do a video opening and to redirect to another page after the end of the video, how do?  No matter what widget or code can do?

    Can do in muse and I tried to use dreamweaver like the code below:

    <! doctype html >

    < html >

    < head >

    < / head >

    < body >

    < style >

    {#video_background}

    position: fixed;

    Bottom: 0px;

    right: 0px;

    min-width: 100%;

    min-height: 100%;

    Width: auto;

    height: auto;

    z index:-1000;

    overflow: hidden;

    }

    < / style >

    < video id = "video_background" preload = "auto" autoplay no Cup >

    < src = "source opening.webm" type = "video/webm" > "

    < src = "source opening.mp4" type = "video/mp4" > "

    This browser does not support video

    < / video >

    < script type = "text/javascript" >

    {document.getElementById('video_background').addEventListener ('ended', function ()}

    window.location.href = ' http://www.xxxx.com';

    (}, false);

    < /script >

    < / body >

    < / html >

    adeletsang wrote:

    Thanks for your reply.

    I just need to click on "object > insert html ' muse and paste the code there?

    My video ID is video_background which is defined by the widget by default, I should change the code below:

    The site I posted has no video in there and I don't have the widget that Peter sugested however, you can replace the startup code Nacy O made (the black with bit blob going around it) and it should work... understand that a ve\ideo will have to be downloaded by your browser clients before they can see it, so it's another delay for them.

    The code you posted is the code of downtime and that seeks a DIV not called "intro" so no do not change his name...

    A mandatory opening text

    After 5 seconds, this block will disappear.

    Everything between the two div tags is startup code and replace you it with you video and then use the muse "object > insert html" tool to place on your page.

    The demo includes three bits;

    • the body or the div tag is the code shown above and goes into the tool "insert html".
    • a header code that defines styles i.e. the yellow background and text... cela goes in your location of metadata page

    • The final code is the timeout in jQuery you had but do not change the name to the background image unless you also change the name of your div to match... Nacy O put it in its footer code that is correct for DW, but Muse has no footer as such area so I used a master metadata slot to the same effect. The important point is that it descends UNDERNEATH other codes.

    Have a play with it and see how you go...

  • Insert another page in the same format in AI?

    I'm with have. The file contains several pages. How can I insert another page in the same format?

    'pages' are plans of work in artificial intelligence. Use the tool of work plan to add or modify existing relationships. Although I'm not entirely sure that's what you hear.

  • Copy, double-page in the same application

    Hi all

    I'm trying to findout if there is an APEX option to duplicate a page in the same application.

    Basically, I want to create a similar page on the same application. Instead create page from scratch, I want to duplicate, and then change a few options.

    I saw an option for export, but when I try to import it replaces the same page.

    Thank you

    Hello Malas,

    Possible to the page you want to copy, click on 'CREATE' button then 'New Page as a copy'. There is an option to copy to another application.

    Alan.

  • Piece placed in the frame/on another page in the same InDesign document

    In master pages, I have an A4 landscape page, which must be repeated on several other A3 (portrait) master pages in the same document (so I have to only make changes once). Maybe it's not a link to an external document.

    It looks like this:

    Master A (A4 landscape)Master B (portrait A3)Master C (portrait A3)
    Top: content BHigh: Master
    A Master contentDownstairs: masterDownstairs: C content

    Another method might be:

    Make a master.

    Master B do as child of Master A, extend upwards with the page tool

    Master C extend downwards with the tool of the page.

  • window to another page in the apex application number

    Hello

    In my apex application, I created a pop up pointing to another page in the application.

    Authentication is not passed correctly, i.e. I am being prompted to sign again the application.

    Can some help me create a hyperlink for authentication?

    Window.Open ("http://optmsdevapex01.cswg.com:7777 / pls/apex/f?") ' p = 174:2: ","mywindow",
    "width = 350, height = 500');"

    f? p = 174:2: & SESSION.

    would do the job.

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • My Muse site is redirected to another site at the same time - Suggestions?

    Hello

    I built this site in Adobe Muse

    www.nextgenfranchising.org

    to download the site, I export to HTML and everything seems to work properly. Except from time to time, it redirects the user to

    http://ww3.nextgenfranchising.org/?gkwrf=http%3A%2f%2Fwww.franchise.org%2FFranchise-news-D etail.aspx%3Fid%3D63100

    Any suggestions on why this is happening?

    Sincere greetings, David Stine

    Tried to open the site in different browsers... However cannot do redirect anywhere.

    Have you tried different browsers or tried to reset your browser?

    Thank you

    Vikas

  • I'm constantly projected this message: "Firefox prevented this page automatically redirecting to another page." Why does this happen?

    I'm constantly projected this message: "Firefox prevented this page automatically redirecting to another page." The result is that I'm often looking to a white screen with an option to click on "allow". But sometimes the message arrives and I'm on the page I want to be on anyway. I do not understand this and do not know how to change this setting, if indeed I configure Firefox this way. Help?

    There is a setting that can cause this message in the Options > Advanced Options > general

    "Warn me when websites try to redirect or reload the page.

    http://support.Mozilla.com/en-us/KB/options%20Window%20-%20Advanced%20panel

  • Modal calling report that calls another Page to the APEX 5

    I have an interesting question here for the community...

    Using APEX, theme 42 5.  I have a report with a button that will call a modal form.  on the form modal is a LOV which will set a value to the calling page.  If the value returned to the calling page, I then need to redirect to another page in the application by assigning a page element on the new page with the value that I have just received from the modal page.

    I have everything up to the second rec = direct working in a test environment and I have problems with redirection...

    All those who want to watch here is the information:

    URL: https://glassfish1.revion.com/apex/f?p=4550:1:23425296545047:

    workspace: homeworld

    user name: demo

    password: demo

    application name: emp demo test (143)

    I have built dynamic actions to get the value of the page where I need but when try to redirect to the page and set the page item, that I don't get the redirection to work...

    Thank you

    Tony Miller
    Los Alamos, NM

    Hi Tony,.

    I'm just curious... If it worked for you?

    Thank you

    Pavel

  • link to places within other pages on the same site

    I was wondering if there was a way to Muse to link to a specific place on another page of the same site.

    I know that I can link between pages, but I could use being able to make a link to a place on a specific page of another page, just as you can do in an HTML document with labels, when you click on something in the top of the document and that need you for a particular space on this page.

    Hi, dress,

    In addition to the above suggestion, please find below the link to a short video on how to add links to a specific point in the middle of a page or design:

    http://TV.Adobe.com/watch/Muse-feature-tour/Muse-create-anchor-links/

    Let me know if you need additional assistance.

    Concerning

    Sonam

  • Redirect to another page with parameter passing using the POST method

    Hello

    I need to redirect to another page and pass parameters to it with the POST (not GET) method. How can I do?

    So far, I tried the 2 options and none of them works very well:
    1. I wrote a pl/sql procedure, but if I run it, then the page runs on my server application instead of actually going to another page in another server (I see the neame of the procedure in the web browser's address bar). Is there a way to work around a bit so that really, it goes to another page and pass the variables?

    procedure do_post)
    p_api_url in varchar2)
    is
    l_http_req utl_http.req;
    l_http_resp utl_http.resp;
    l_response varchar2 (4000);
    l_post varchar2 (4000);
    v_line varchar2 (4000);
    v_wallet varchar2 (100): = "file:/etc/ORACLE/WALLETS/oracle5";
    v_wallet_pwd varchar2 (100): = "test1234".
    Start
    l_post: = ' VK_SERVICE = 1001 & VK_VERSION = 008 & VK_SND_ID = testvpos & VK_STAMP = 88';

    Utl_http.set_Proxy (apex_application.g_proxy_server, NULL);
    Utl_http.set_persistent_conn_support (true);
    Utl_http.set_transfer_timeout (300);
    Utl_http.set_wallet (v_wallet, v_wallet_pwd);
    l_http_req: = utl_http.begin_request (p_api_url, 'POST');
    Utl_http.set_header (l_http_req, "Proxy-Connection ',' Keep-Alive'");
    Utl_http.set_header ("l_http_req, 'Content-Type', ' application/x-www-formulaires-urlencoded; charset = utf-8 ');
    Utl_http.set_header (l_http_req, "Content-Length", length (l_post) ");
    Utl_http.write_text (l_http_req, l_post);
    l_http_resp: = utl_http.get_response (l_http_req);

    LOOP
    Utl_http.read_line (l_http_resp, v_line, TRUE);
    HTP.p (v_line);
    END LOOP;
    Utl_http.end_response (l_http_resp);

    EXCEPTION
    WHEN utl_http.end_of_body THEN
    Utl_http.end_response (l_http_resp);
    end do_post;


    2. the second option, I tried is to put this script to my page of request code:

    < name of the form = 'mounted' action = 'https://www.somekindofurl.com/cgi-bin/dv.sh/un3min.r. '
    method = "POST" target = "_top" >
    < input type = "hidden" name = "VK_SERVICE" value = "1001" >
    < input type = "hidden" name = "VK_VERSION" value = "008" >
    < input type = "hidden" name = "VK_SND_ID" value = "testvpos" >
    < input type = "hidden" name = "VK_STAMP" value = "88" >
    < input type = "submit" value = "Let's's Pay" >
    < / make >

    < / make >

    But it does not work as APEX has its own system of Forms control. Is it possible to play? I tried to delete #FORM # of page templates and it works fine then. The problem is that I have other forms on the page as well (login form + search form) so I can't remove this manipulation of shape native APEX. Is it possible to play with it?


    Thank you much in advance.

    Hi Ibenarobeno,

    Your form can live at the end of the page with all the hidden items.

    You can then control with buttons and fields within the form of the Apex.
    through a bit of javascript.

    Concerning

    Michael

  • Make the button submit, and then redirect to another page

    Hello!
    I have a button of the region, when you press on "should" launch the Multi_row_update, then redirect to another page. I can't make it work well.

    I have the button BUTTON_1, I have the "after-submit' process that performs the MRU after this button is pressed.» I then created the conditional branch that is supposed to redirect. But it does not work. The page is not redirected. I tried to change the button to a redirect button, but then sending does not. How can I do both?

    Thank you!
    Jodie

    What is the sequence number of the one who is unconditional?
    I think that your unconditional branch on the same page may be taking over your conditional branch on page 55.

    -Chris

  • Firefox prevented this page from auto redirection to another page

    Firefox prevented this page from auto redirection to another page
    I get this message every time I go to the new search page. I'm if tired after you press the F - ING allow it's not funny. Cannot Fire fox remember the pages of dam that go? Every time freaking that I go to a new page that the accessories and I have to click allow. I would like to get rid of this for good so if you can help me it's cool, if not then bye. I'll explore for browser. I can't take more. In addition, when I read that page moves upward again and I have to click on authorize again.

    Try this: Firefox button > Options > Options (or tools > Options) > advanced > general, uncheck 'warn me when Web sites try to redirect or reload the page'

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    You use obsolete, and is no longer supported version of Firefox (version 3.5.5) which is likely to have many problems of security and stability. Upgrade to the current version.

    Also see-> https://support.mozilla.org/en-US/kb/common-questions-after-upgrading-firefox-36

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • How can I activate Firefox prevented this page from automatically redirecting to another page? This unfortunate thing has now completely blocked me connect to a Web site.

    How can I disable this message blocking? "firefox prevented this page automatically redirecting to another page.
    It used to be boring, but now he has completely blocked me to connect to a Web site.

    Tools > options > advanced > general...
    then uncheck the...
    I myself have this option because I stand bad pages themselves help to redirect to who knows what. Why can't you just go sites where I click?

Maybe you are looking for

  • Can I set a different ringtone for individual reminders?

    O have a few reminders that are rarely near eachother time wise. Can I set a different ringtone for each callback, so they do not have the same tone?

  • WIDI with Pavilion 17-e033ca

    8.1 current Windows of execution, computer laptop has i5 3230 M and a search on the Intel site says 'yes' to display wireless but if I try to install the software to display wireless (sp63552 or sp62309) to get error "this platform is not compatible

  • Inspiron 4100 compatibility with SSD

    Hello I wonder if the disc KingSpec PATA IDE (44Pin) 2.5 64 GB MLC SSD KSD - PA25.6 - 064MS is compatible with the Dell Inspiron 4100. Runing Windows XP. Thank you

  • Detection of Bluetooth devices

    Hello I want to know how to detect programmatically active bluetooth devices. I'm using JDE 4.3.0. Help, please. Thank you.

  • Lost license number

    Hello! I just bought a new computer and I installed Lightroom on it, but I would like to use the same license Lightroom like the one I used on my old laptop, but nowhere do I find my license number. I read that you can use a license for two computers