Web.show_document  spaces in the URL problem

Hi,
I am using Web.Show_document to call the report from the form. Here some of the parameters having a spaces. It is giving a problem and report is not running. Pl guide me in this issue.
Thanks & Regards,
Gangi Reddy

Try using %20 in place of the space in the URL.

Similar Messages

  • Weird Space on the URL Bar

    Their is a odd space on the URL bar between the URL itself and the back button
    Here is a Screen Shot: http://prntscr.com/1x5zuz
    Its really annoying.. Please help

    '''Try the Firefox SafeMode''' to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_safe-mode-window_2 Troubleshoot Firefox issues using Firefox SafeMode]
    * You can open the Firefox 15.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes <br />
    Or it might be caused by Hardware Acceleration.
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • The web application root or the URL is invalid?

    Hey there-  So basically I'm setting up a simple ASP.NET FB4 project using IIS locally.  Before I get into my question, I can successfully create the project and test it on my machine.  My concern is that I can not receive a valid confirmation from FB when setting up the configurations.  For instance, if I place the correct paths:
    Web application root: C:\inetpub\wwwroot\weborb4
    Web application URL: http://localhost:1234/weborb4
    I always receive this error, The web application root or the URL is invalid.  Is there something I should be looking into?  Any suggestions are appreciated!

    Hi
    I filed the bug http://bugs.adobe.com/jira/browse/FBG-2539 for the same

  • Executing a sql in web.show_document before opening the page with URL

    Hi,
    I have a function that returns a varchar2 into web.show_document in the form. Is there a way that web.show_document executes the varchar2 and get the output and open the URL. The result of the varchar2 execution is a URL.
    CREATE TABLE MIS_TBL (MIS_COD VARCHAR2(10), MIS_VAL VARCHAR2(100) );
    insert into MIS_TBL(MIS_COD,MIS_VAL) values ('RPTURL','/print');
    Create or replace FUNCTION Get_String_MIS
    in_v_MIS_Cod IN MIS_Tbl.MIS_Cod%TYPE ) RETURN VARCHAR2     
    IS
    l_v_String          MIS_Tbl.MIS_val%TYPE;
    BEGIN
    SELECT MIS_Val INTO l_v_String
    FROM MIS_Tbl
    WHERE MIS_Cod = in_v_MIS_Cod;
    RETURN l_v_String;
    END;
    In the forms I have the following code in a trigger, uniform across many forms.
    web.show_document(Get_String_MIS('RPTURL') || '/' || l_v_File_Name);
    I can set any value to RPTURL from a reference data form. I want the above statement to execute the varchar returned by Get_String_MIS('RPTURL') and send the result of the execution to show_document.
    The result of get_string_mis should be 'http://'||sys_context('userenv','host')||':9999/print' and this when executed gets the actual servername from sys_context('userenv','host')
    At this time, I cannot change the function and many forms. I only have control of changing the value in MIS_TBL.
    Any solution to my problem is greatly appreciated.
    Thanks,
    Ravi

    Maybe you could rename your table and use a view pointing to that table instead? Then you could do the resolution directly in the database.
    Something like
    SELECT MIS_COD, MIS_VAL FROM MIS_TBL_NEW WHERE MIS_COD!='RPTURL'
    UNION ALL
    SELECT 'RPTURL',  'http://'||sys_context('userenv','host')||':9999/print' MIS_VAL FROM DUAL

  • Problems with pluses for spaces in the url

    Hi,
    Before we updated our OAS with the daylight savings time patches, we used to be able to access our portal pages that had spaces in their names using the + sign, e.g.:
    http://example.com/portal/page/portal/mypagegrp/Policy+and+Objectives
    This is standard url escaping for spaces.
    Now, it only accepts %20 as space, e.g.
    http://example.com/portal/page/portal/mypagegrp/Policy%20and%20Objectives
    If I use the plus url, it complains that it can't find the content.
    The problem arose because we have a portlet that generates links to some of our content pages, and it uses the standard java URLEncoder.encode method to encode the urls. I'd prefer not to have to hack my own url encoder to work around a OAS url parser bug.
    Any ideas?
    Thanks,
    -m

    Yes this certainly a bug, as using the latest versions of Adobe's CS4 and the latest OS  really should solve problems, not create them.  We're not asking for legacy support here!
    After reading several related posts, it looks like running DW CS4 as Administrator seems to fix the problem here. This obviously won't help the people that don't have the option to do that though.
    For those interested, right click your Dreamweaver CS4 icon, select Properties, click the Compatibility tab, and check the box beside "Run this program as an Administrator".

  • Web.show_document opening in the same window urgent

    Hi,
    I am using web.show_document to run all my reports from webforms 10g Release 2, it is working fine, and we have used a DLL to avoid the extra explorer window while opening the webforms it basically hide the extra window at client side, this is also working fine, now when the user opens multiple sessions and then he try to run a report the report output is coming and replacing all the other webforms opened (this is happening if i have multiple session opened) if there is only one session then everything is fine.
    In my formsweb.cfg "separate frame=true" and then at the client side i am hiding the extra explorer window using webutil & window handle, am calling my report using web.show_document with target= "_blank" now if i open two session at client side i will have only two application window the extra explorer windows will be hidden, in this case if i try to fire a report the report works fine but it replacing the 2nd application window.
    Hope i had explained the scenario. Could anyone help me out to solve this problem?
    Thanks & Regards
    Najeeb

    Hii,
    Try This
    go to internet browser. under tools menu select internet options then in that go to "advanced" tab
    in ADVANCED tab under browsing there is property called reuse window for launching shortcuts unselect it.
    and save changes.
    Sachin

  • How to get the web of document from the URL

    Hi All,
    Need small help here,
    I have SharePoint doc URL as below:
    http://sharepoint.com/sub1/sub2/sub3/documents/TestFile.docx
    Here, TestFile existed in document library of Subsite i.e. sub3.
    If I give above URL as input, I should be able to get "sub3" web.
    How can achieve this programmatically. Overall we should get the leaf web from the URL.
    Thanks in advance.
    Krishnasandeep

    Hi Sanny521,
    The SPSite constructor does not care when you pass in the document library and filename as part of the url. you can use the following code:
    string myFileUrl = "http://sharepoint.com/sub1/sub2/sub3/documents/TestFile.docx";
    using (SPSite site = new SPSite(myFileUrl))
    using (SPWeb web = site.OpenWeb())
    SPFile file = web.GetFile(myFileUrl);
    string webUrl = web.ServerRelativeUrl;
    You pass the full url into the SPSIte constructor, it will retrieve the site collection, then the OpenWeb call will retrieve the proper web from the already passed full url, then you can retrieve the file and the url of the SPWeb.
    Mathieu Desmarais http://www.matdesmarais.com/

  • Firefox 14.0.1 is NO longer showing the Norton SAfe Web icon in seacch results. The toolbar is there but NOT the safe web icon next to the URL in search results

    After updating to Firefox 14.0.1 my search results NO longer show the Norton WEB Safe Icon next to each result. It worked fine before the upgrade. The Norton tool bar is there and when you click on the site the safe web report is there but NOT the icon in the search results.

    Norton released updates for Firefox 14 early the same morning as the release of Firefox 14. Norton usually releases updates on the same morning as new Firefox versions. Have you updated Norton through their LiveUpdate?
    *See --> https://community.norton.com/t5/Norton-Toolbar-Norton-Identity/Firefox-14-Support-for-Norton-Toolbar/m-p/760924
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Web.show_document cannot display file with Chinese char in IIS 6

    Dear all,
    There is a problem that web.show_document cannot display file with Chinese char in IIS 6, but works fine in IIS 5.
    Is it a server problem or is there any setting in server? Do you know how to solve it?
    Big Thanks
    JY

    Hi,
    As Francois mentioned, this issue has nothing to do with forms / web.show_document. web.show_document, just opens the URL specified as parameter. So, if you run the URL (that you've passed as argument for web.show_document), directly in the browser, you would be getting the same issue.
    So, as you said, if it works fine in IIS 5 and does not in IIS 6, it would be an issue with the IIS and not forms. You might want to check out the IIS 6 release notes / documentation for any known issues / raise an issue in that.
    -Arun

  • Web.show_document gives FRM-92020 error unknown protocol

    Hi I am hoping someone can help.
    I am using web.show_document in forms 10g and get an FRM-92020 unknown protocol error. The URL I am passing starts fddl:// this is a legitimate call to an Electronic Document management system image search engine. The URL works 100% outside of Forms, i.e cut and paste into an internet Explorer address bar. The problem is with web.show_document parsing for 'known' protocols.
    Is there any way I can stop this validation from taking place. Incidentally I can HOST out and call iexplore with the URL and again that works (client Server), however we do not have webutil installed for me to do the webutil equivalent in our live environment!
    Any help will be great, thanks in advance.
    Trev.

    Hi Francois,
    thanks for replying.
    Yes I am using '_blank' as the second parameter.
    The URL I am passing is dynamically genreated and held in a variable. My call is:
    web.show_document(l_url,'_blank');
    the url evaluates to something like below:
    l_url := 'fddl://fmhsqlserv/filedirector/...........................'
    I am struggling to find any documentation on web.show_document that will help with this scenario. It is frustrating as the url is 100% OK, its just the evaluation of it by the function call.
    Any help or ideas are welcome.
    Trev

  • Form calling Report with web.show_document caught by SSO

    A 10g form button calls a 10g report via web.show_document.
    In the dev environment it works, but in the full app server SSO is enabled and stops & prompts for a login/password.
    I'm trying to include the SSOCONN parameter in the URL. I've tried the db userid & the sso userid without success.
    Any help is much appreciated.

    How are you calling the report with Web.Show_Document (what's the URL you're passing)? The application I'm working on uses SSO and I call Reports from Forms and don't have this issue. You should just have to pass the return value of RUN_REPORT_OBJECT() in the URL along with the server name - at least that is how we do it. For example (bare in mind this is an abbreviated example):
    DECLARE
         v_rep_rtn   VARCHAR2(4000);
         v_repsvrname      VARCHAR2 (100);  /* This is a CONSTANT and used here as an example */
         v_paramlist  paramlist;
    BEGIN
         v_rep_rtn := Run_Report_Object(v_report, v_paramlist);
         Web.Show_Document('/reports/rwservlet/getjobid'||substr(v_rep_rtn,Instr (v_rep_rtn, '_', -1) + 1)||
                          '?server=' || v_repsvrname);
         v_report    := Find_Report_Object('REP1');
         Set_Report_Object_Property(v_report, report_execution_mode, batch); 
         Set_Report_Object_Property(v_report, report_comm_mode,      synchronous);
         Set_Report_Object_Property(v_report, report_destype,        CACHE);
         Set_Report_Object_Property(v_report, report_desformat,      'pdf');
         Set_Report_Object_Property(v_report, report_server,         v_repsvrname);
         v_rep_rtn := Run_Report_Object(v_report, v_paramlist);
         rep_status := Report_Object_Status(v_rep_rtn);
         WHILE rep_status IN ('RUNNING', 'OPENING_REPORT', 'ENQUEUED')     LOOP           
              rep_status := Report_Object_Status(v_rep_rtn);        
         END LOOP;   
         IF rep_status <> 'FINISHED' THEN
              msg_box('Error when running report. Status = '||rep_status);  
         else
              Web.Show_Document('/reports/rwservlet/getjobid'||substr(v_rep_rtn,Instr (v_rep_rtn, '_', -1) + 1)||
                          '?server=' || v_repsvrname); -- || '&authid=orcladmin/admin999');
         END IF;
    END;Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks!

  • Closing the browser windows created by web.show_document and javascript

    From Forms I am issuing a http request using web.show_document and javascript:window.open(). The http request makes a remote procedure call to a coldfusion component on a JRun appserver. I want this rpc to fire in the background so that the current forms browser window remains as is.
    The logic is as follows
    l_rpcURL := 'http://....just a standard URL.....'; -- edited for this thread
    l_jsURL := 'javascript:window.open("' || l_rpcURL || '","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=no");self.close();';
    WEB.SHOW_DOCUMENT (l_jsURL,'_blank');
    The http request works fine but leaves a browser window behind. It's the one created by the javascript.window.open(). If I remove the self.close() from the javascript then I have two browser windows open, one from web.show_document and the other, as described previously, from the window.open().
    Any idea how I can force closure of the window opened by the window.open() ?
    Thanks

    Hi,
    did this occured afer installing service pack 2?
    A work around is The only solution that is to create a close.html file and calling this file in the code: Web.show_document('http://server:port/close.html','_self');
    <html>
    <body onload="closeit()">
    <script>
    window.close();
    </script>
    </body>
    </html>
    Monica

  • Problem with web.show_document with Jinitiator and Firefox

    Not sure Firefox 2.0 is officially certified with Forms 9.0.4.1 and Jinitiatorbut regardless we have some users who want to use this combination. Everything seems to work fine except for the calls to web.show_document which opens a new browser window and displays some html etc.
    The problem is that even though the client Forms JVM is Jinitiator (1.3.1.18 or .21) when the call to web.show_document occurs somehow the Sun Java Plugin starts and having the two JVM's at once causes a fatal crash in Firefox. Can anyone suggest a way to preven the second JVM from opening?
    When the user uses the Sun Plug as the client Forms JVM there is no problem as the second JVM does not open. Unfortunately some users insist on Jinitiator with Firefox hence the problem. -quinn

    James,
    This whole applet embedded in a browser model for webforms is driving us batty at times. The list of problems includes:
    1) Users are constantly tempted by browser controls and accidentally do all sorts of things to get them in trouble. This has included but not limited to using the navigation arrows, jumping off to read their email in the same window as the form and returning to a dead forms session, minimizing, resizing, blurring off to another window and then returning back by clicking on the title bar of the browser and wondering why the form doesn't tab etc.
    Sure hobbling the browser by opening with limited functionality is a possibility but not a complete solution.
    2) New versions of browsers seem to break something. Both IE 7 and Firefox 2 have their own problems with web.show_document, especially file associations such as CSV and DBF and trying to open things in Excel in IE7.Firefox seems to have less problems for some yet some some oddities like the one that started this thread (and 2.0 opening new windows in tabs by default instead of windows).
    3) JVM jigsaw puzzle. Is it Jinit or Sun, which versions? Which combinations of browser version and JVM works.
    4) General fragility of the whole architecture. Running a client JVM in a web browser on top of a PC Operating system connectiong to a forms server over a network embedded in a Java Container server on a full blown web server running on a unix operating system is pushing the bubble. Throw in the mix that any of these components can be combined in numerous ways makes one wonder how it works as well as it does.
    Still users randomly getting dropped connections to forms server (network gltches?). General sluggishness (poorly written forms?). Periods of users with unduplicatable errors primarily network related it would appear.
    General feel that it is not rock solid stable. Perusing metalink documents on performance and tuning gives too much and too general info to troubleshoot so just shrug shoulders and say 'network problem'.
    What's the solution? Java webstart would seem to help at least with the browser realted issues but is that supported and documented how to use yet. Also we'd lose web_show_document which is critical (could it be replaced by webutil calls to open browser?).
    -quinn

  • Title of the browser displaying a report output through web.show_document

    Hiya
    We are using Oracle Forms 10g 10.1.2.0.2
    All our Forms and Reports are working well.
    We are using Java Script in Web.Show_Document so that when the report is displayed on the screen in the browser, the browser's toolbar and menubar should not be visible.
    The code looks like this:
    v_url_in := 'reports/rwservlet' || '/getjobid' || v_job_id || '?server='|| 'my_rep_server';
    v_url_out := 'javascript:window.open("'||v_url_in||'", " ", "toolbar=no,menubar=no");self.close();';
    Web.Show_Document (v_url_out, '_blank');
    The above code is working absolutely fine. No issues about this.
    Now when the report opens in a new browser window,the title of the browser window reads as follows:
    http://<hostname>:8889/reports/rwservlet/getjobid1234?server=my_rep_server - Microsoft Internet Explorer
    So rather than displaying the title of the browser window as the URL of our Application Server, we want to show the title to Reports name so that it
    reads as
    'Customer Sales Summary Report - Microsoft Internet Explorer'.
    Does anyone has any idea if it is possible to change the title of the browser window, if so, how ?
    Cheers
    Mayur

    Mayur,
    I'm not a web developer either, however, I've done this kind of thing using the HTP database package - as I mentioned. What you could do is write a database procedure that accepts the URL and the Title as parameters and let the procedure open the URL for you. For example:
    CREATE OR REPLACE PROCEDURE show_url(p_url VARCHAR2, p_title varchar2) AS
    BEGIN
       htp.htmlOpen;
       htp.headOpen;
       htp.htitle(p_title);
       htp.headClose;
       htp.bodyOpen( cattributes => 'onLoad="WinOpen()"');
       htp.bodyOpen;
       htp.script(clanguage => 'javascript',
                    cscript => '<!--
                                function WinOpen() { open("'||p_url||'","_self");
                                //-->'
       htp.bodyClose;
       htp.htmlClose;
    END;I was unable to test this procedure on my Oracle XE install, but it should work on a non-XE database.
    Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks!

  • Forms web.show_document replace & in url

    Hi all
    i am trying to replace & in varchar for web_show.document
    v_params := v_params || '&name='
                       || replace(replace(replace(NAME, '"', ''''), '&', '%26'), ' ', '%20');
    Name ='es & tu'
    On debug all is correct Like es%20%26%20tu , but after web.show_document(v_params,'_blank') the link is ......es%20&%20tu........ WHY ?
    Why again symbol & is back ?
    Thanks
    ID
    Edited by: 1D10T on Feb 8, 2013 7:16 AM
    Edited by: 1D10T on Feb 8, 2013 7:20 AM

    Hi
    Are some configs who are changing a web.show_document ? The problem is still active
    On Debug varchar2 are correct es & tu replaced with es%20%26%20tu
    v_params := v_params || '&name='
                       || replace(replace(replace(NAME, '"', ''''), '&', '%26'), ' ', '%20');But in browser when calling a report ....es%20&%20tu why ?
    Thanks !

Maybe you are looking for

  • Firefox 4.0 will not download.

    My computer is a MacBook Pro 10.6.6. I automatically subscribe to the Foxfire updates. This morning I received one for Firefox to be updated to 4.0 I have attempted three times to do such and it will NOT download. Currently my Firefox is 3.6.16. Can

  • Flash movie display

    hello i have built this site, www.emsworthcricketclub.com for internet explorer 8, and below, there is a short flash film. can anyone help me get rid of the horrible borders at the top? thanks malcolm

  • Spectral Selection Problems

    Hey all I use Audition 3.0 to work and have recently (2 hours ago...) had this problem: When I select a part of the spectrum and do something with it (whatever I do, even deletion) Audition stops responding, crashes and ofc closes. Is there any known

  • Programmatically Editing a Cell Not Working

    Hi Guys, I'm trying to automatically begin editing a cell within a JTable as soon as the table is displayed. I've tried using the table.editCellAt(int row, int col) method but it just seems to have no effect. I've set the cell editable within my cust

  • Menubuilder in adobe captivate

    I have been trying to create a menubuilder project. All of the swf files have linked properly and will open in the same window but I have one problem. Once I have selected a demo to run I cannot get back to the original menu to choose another one. I