passing in a URL instead of formsweb.cfg baseHTMLJInitiator

Hello

I believe that this question that we asked to pl/sql forums dev section should be better here:

We are currently trying to dynamically build a url to run forms with JInitiator or Sun's Java Plugin depending on what browser (ie6 or ie8) is used.

We can detect what browser is used with javascript and any attempt to add '& baseHTMLJInitiator = webutiljpi.htm' or '& baseHTMLJInitiator = webutiljinii.htm"to the URL according to the version of browser.

Is this possible?

For example, we try this:

http:// < SERVER_NAME >: < port >/Forms/frmservlet? config = "+ config + Runtime

Where + config is a special config in our formsweb.cfg and + runtime is either & baseHTMLJInitiator = webutiljpi.htm or & baseHTMLJInitiator = webutiljinii.htm

for example
IE6 HTTP: / / < SERVER_NAME >: < PORT >/FORMS/FRMSERVLET? CONFIG = BROWSER_TEST & BASEHTMLJINITIATOR = WEBUTILJINII. HTM
IE8 HTTP: / / < SERVER_NAME >: < PORT >/FORMS/FRMSERVLET? CONFIG = BROWSER_TEST & BASEHTMLJINITIATOR = WEBUTILJPI. HTM

We can get this working by duplicating the configs in our file formsweb.cfg that is specifying the baseHTMLJInitiator param in formsweb.cfg rather than in the url.

So, we can run the following config if you use IE6:
[browser_test_jini]
baseHTMLJInitiator = webutiljini.htm
etc.
and this config if IE8
[browser_test_jpi]
baseHTMLJInitiator = webutiljpi.htm
etc.

This works, but we were hoping to avoid duplicating config definitions in our formsweb.cfg file.

Thanks in advance for any info.

reply in this thread:
passing in a URL instead of formsweb.cfg baseHTMLJInitiator
Thank you

Tags: Fusion Middleware

Similar Questions

  • Application server read does not formsweb.cfg

    Hi all
    I installed Apps Fusion middleware Version 12.1 on RHEL 3.3.
    I am able to access the forms directly as

    http://appshr:7778/forms/frmservlet?form=Holiday_master.FMX

    but when I try to access it using alias, as below, it gives me error FRM: 40010 cannot read form abcd
    http://appshr:7778/forms/frmservlet? shape = abcd

    I put the majority of environmental Veriable but error still persists...

    I had same environment for the same machine but OS Windows Server 2003 R2 installation and it's worked/ing very well.
    But do not get any idea what I did wrong here on Linux?

    any ideas will be appreciated.

    Kind regards!

    Hello
    Make the entry in formsweb.cfg below

    [abcd]
    envFile = abcd.env
    Form = Holiday_master.fmx
    username = name of user/password@net_service_name(entry made in tnsame.ora)
    Archive = frmall.jar
    archive_jini = frmall_jinit.jar, frmwebutil.jar, Jacob.jar
    ImageBase codebase =
    term = frmpcweb.res
    baseHTML = webutilbase.htm
    baseHTMLjinitiator = webutiljini.htm
    baseHTMLjpi = webutiljpi.htm
    WebUtilArchive = frmwebutil.jar, jacob.jar
    PageTitle = test form

    Search now for this "envFile" parameter in formsweb.cfg
    It is EPS file which is actually pickin up when you hit the url
    http://appshr:7778/forms/frmservlet? shape = abcd

    Create a new file .env IE copy the .env existing in the same location and rename it to abcd.env
    Now in abcd.env
    Change of the
    ORACLE_HOME = / data1/u01/app/oracle/OraHome_frsvr
    FORMS_PATH = / data1/u01/app/oracle/OraHome_frsvr/forms(path where all your forms are placed)

    Now instead
    http://appshr:7778/forms/frmservlet? shape = abcd

    Try
    http://appshr:7778/forms/frmservlet? config = abcd

    Concerning
    Fabian

  • Change formsweb.cfg on the fly with the editor?

    Hi all

    I discovered, that it is possible to change to formsweb.cfg using your favorite editor without to start/stop OAS.

    After changing formsweb.cfg that I just have to point my browser to a non existing configuration, this forces OAS to read formsweb.cfg.
    Even after the restart of OAS, the changes were still present. (you may know that change formsweb.cfg and stop OAS will overwrite formsweb.cfg with the previous configuration)

    Someone knows this "feature"?
    Experiences?

    Concerning
    Michael

    BTW: this also works for OC4J

    I can't.

    Of course, you can, however what I have described is what happens to me (and still happened) on any version.

    If you change an existing configuration, it will not work.

    Try this: on an existing config change the connection string to a bad and start the URL of the browser. You will get an error. Now change the string to the correct connection, using an editor and attempt to restart the URL without leaving the browser. It work? (for me it does).

  • Hi everyone, I want to formsweb.cfg deployment forms 10g Linux PLZ

    In my business, we changed all the clients for Linux (Ubuntu) but still Windows Server OS, I want to deploy forms 10 g on the client PC, but I do not know the modifications needed to formsweb.cfg

    This has nothing to do with Linux; 10 gr 2 forms just does not work with JRE7 (or newer) by default.

    I'm not the exact patchlevel you but to obtain forms gr 10, 2 running with JRE7 and higher, you will need to ask the last group of patches 10.1.2.3 and the latest patches of all sheets. In order to get them, you need a support contract to download from MOS (support.oracle.com).

    Note that even if it will work with the latest patches Forms 10 g 2 is not certified with Java7 or Java8.

    If you do not have a support contract so the only chance you have is upgrade to the latest forms - 11.1.2.2.

    see you soon

  • formsweb.cfg use JRE 7

    Installed: OL6 Update 4, Java 7 update 17, wls1036_generic.jar, Fusion of forms and reports 11.1.2.1

    I can access the forms on my desktop where I manually installed JDK/JRE 7 update 17. I'm going to hurt access from my laptop where I have not manually installed JDK/JRE 7. I'm trying to get the Forms Server to install to test my setup as follows. I would also prefer to have these parameters be dynamic, in that it still load the latest version of JRE 7.

    Parameters used in formsweb.cfg

    -jpi_download_page = http://www.oracle.com/technetwork/java/javase/downloads/index.htm

    -jpi_classid = clsid:CAFEEFAC-0017-0000-FFFF-ABCDEFFEDCBA

    -jpi_codebase = http://java.sun.com/update/1.7.0/jinstall-7-windows-i586.cab#Version=1, 7.0

    -jpi_mimetype = application/x-java-applet



    Thanks in advance for any help/advice.

    First of all, you have to decide is whether or not you need to use Internet Explorer 64-bit. In most cases, there is no reason to use it. The default IE in Win7 is 32 bit, even if you use the 64 bit OS. This is important because you must use a 32-bit JRE with a 32-bit browser and 64 with 64. So, in your case because you also have XP clients, you need to configure to use JRE 32 bit on all the client machines.

    In General, if you can get a form to run in a browser version it will run in any version. So, that means that once you have configured any version of IE (32 bit) and all other versions configured for any version of FF, should work. If they don't, it means that you have a problem with browser configuration (e.g. security settings blocking the JRE) or there is a problem of compatibility between the browser and the JRE.

    This configuration should work for all the browser with forms 11.1.2.1 certified

    jpi_classid=clsid:CAFEEFAC-0017-0000-FFFF-ABCDEFFEDCBA
    jpi_mimetype=application/x-java-applet;version=1.7
    jpi_codebase=http://java.sun.com/update/1.7.0/jinstall-7u17-windows-i586.cab#Version=1,70,17
    jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads
    

    Be sure to view the information of Client Certification forms for 11.1.2.1

    http://www.Oracle.com/technetwork/developer-tools/forms/Oracle-Forms-111210certmatrix-1886127.xls

  • Regarding the HEIGHT in file formsweb.cfg

    Hi all
    I work in Forms 10 G.
    All the application is running in production is displayed in a small window, because the height in file formsweb.cfg. Height = 600.
    There is now a requirment to display all the records suddenly without using the scroll bar.
    If I am which the property block 30 or 40, then a shot of all the records of 40 displayed. Because in formsweb.cfg it is mentioned the height = 600, so it will come with a scroll bar. That I don't want.

    So can I change the height, let say 700 or 800? I mean it will be any problem? Y at - it no calculation for this? I mean if I change the property here, so I have to change somewhere else too?

    LuKKa says:
    Hi François Degrelle

    If I change the height and width to 100%, it will perfectly come in all size moniters, as 14 inches or more thank who?

    The size of the window is correct, but the point remain such what. Add this to your configuration to formsweb.cgf

    width=100%
    height=100%
    

    Hope this helps

  • formsweb.cfg Custom Configuration Section

    I want to create a section of custom configuration in my formsweb.cfg file that will work with any version of SUN JRE what a user has installed. I want to crush the parameters in our default configuration section, which forces the use of the SUN JRE version 6 update 22. Is this possible?

    I've included the parameters that are present in our default configuration (below) in the hope that someone can help me to update these settings so that it runs with any JRE version (or even an update of Version 6) that the user has installed.

    {code)

    [ttmsmenu_anyJRE]
    # Set the default SUN JRE with Java plugin 6 22
    jpi_download_page = http://java.sun.com/javase/downloads/
    # Parameter related to the version of the Java Plugin
    jpi_classid = clsid:CAFEEFAC-0016-0000-0022-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase = http://java.sun.com/update/1.6.0/jinstall-6u22-windows-i586.cab#Version=1, 6,0,22
    # Parameter related to the version of the Java Plugin
    jpi_mimetype = application/x-Java-applet; YPI-version = 1.6.0_22

    # Using webutil
    baseHTMLjinitiator = webutiljpi.htm
    baseHTMLjpi = webutiljpi.htm
    baseHTML = webutilbase.htm
    Any help would be greatly, greatly appreciated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    Oh... I did not understand that specifying the Version 6, update 22 required that the client workstation must be this version OR higher installed. I thought that this meant that the user will be prompted to install the same even if the version specified a newer version (say 6 Version, last update 29) has been installed.

    Well, B.11.11 works with Java 5 (1.5.0) and 6 (1.6.0). I can't say for Java 1.4. Essentially, your JRE will leave to the version specified in your Formsweb.cfg.

    I am understanding that, by specifying the Version 6, update 22 in my custom configuration as the client workstation could have 6 Version, last update 29 (without ever installing the updated 22)? Or update 22 should be there in addition to the new update of the 29?

    This is correct, if your application is configured to 1.6.0_22 and you have 1.6.0_29 installed on a client, the 1.6.0_29 version will be step-down automatically to 1.6.0_22. You need not have two installed updates.

    Craig...

  • formsweb.cfg settings

    Hello everyone.

    I have installed Oracle Fussion + Weblogic + forms and reports in a RedHat 5 server. and I'm at the mercy of the colleague who help me in this in this forum.

    Now Im formsweb.cfg configuration and I think the best is to use the java plug 1.6.0.23, because it's the last and can work with Firefox 3.6.6.

    My question:
    What are the settings I need to change in the file formsweb.cfg for this?

    Thanks in advance and greetings to all.

    change

    jpi_classid = clsid:CAFEEFAC-0016-0000-0023-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase = http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1, 6,0,23
    # Parameter related to the version of the Java Plugin
    jpi_mimetype = application/x-Java-applet; YPI-version = 1.6.0_23

  • What is the default separateFrame in formsweb.cfg?

    Hello

    What is the separateFrame by default, the width and height in formsweb.cfg?
    use the forms [32 bit] Version 10.1.2.0.2 (Production)

    I've made changes 2 set the applete w/h 2 centered on the form window now I wana get back it's... ?
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    separateFrame=false
    Since I have 2 separateFrame = false but I remmbered 1 of them where true by deault one that the first or the second 1 in order...?

    Kind regards

    Abdetu...

    separateframe under sepwwin could be true.

  • Passing variable via URL - code does not - but it worked before!

    I realize there are a few other posts similar to this, but the content is not for helping me understand what I need to know.

    I'm trying to pass the result of a query via a URL. The code I have here passes zippo. I have two different errors; It is said that there is a SQL syntax error near 'ORDER BY' (my second page begins with a request to retrieve the records in the DB who the SchoolID that matches one that is passed by the URL) or that "SchoolID" is not defined in the query.

    What's weird, is that one) I'm sure I used the thing accurate (with different players) on another page and it works very well in the other site and b) the result of the query is successful output on the page that I try to send the result. I know that this is not the second page, because if I hardcode a school, on the first page or id in the URL field on the second page, it works very well, allowing the exit of the correct name of the school.

    Can anyone spot what I'm doing wrong? Thanks in advance for any help you can provide.


    Looked like you added the tags so that you actually pass the getSalutation.s_SchoolID VALUE rather than the #getSalutation.s_SchoolID # string itself. After your actual code... and anchor href on your first page... Miss you and tags.

    Phil

  • Placing videos in PDF format using the web URL instead of a local file?

    I used Adobe Chat support twice, but we didn't know the answer or how to do this. It becomes quite frustrating.

    I have the latest Adobe Acrobat Pro DC and I want to put videos in my PDF document. Local video files work fine, but I need to insert a lot of videos, which means that the size of the PDF file will get quite large, and I don't want that. Instead, I want to be able to use a web URL to reference the video and have this video appear in my document.

    I checked these resources:

    Acrobat help. Add audio, video and interactive objects in PDF format

    Acrobat help. Adding multimedia to PDF

    ... as well as a lot of forums and web, but none work answers have been found.

    What I want:

    Reading inside the document, referenced from a web URL, like below the video:

    sample1.png

    I tried:

    Rich Media > add a video, but this error

    I tried youtube, vimeo, dropbox .mp4 links but nothing works.

    I tried to incorporate youtube codes but Acrobat says that it does not recognize < iframe > code.

    Capture1.PNG

    On the Adobe website, I posted, that's what Adobe said:

    "Adding video, audio, and interactive content transforms multidimensional communication tools that increase the interest and commitment in your PDFs documents."

    "Is another way to insert multimedia content by entering a URL referring to a continuous video or multimedia file. Three types of URLS can be used: RTMP, HTTP, and HTTPS. On HTTP and HTTPS servers, MP4 and MOV H.264 compatible files are supported. »

    My question:

    What I want to do? And HOW?

    You must link directly to the video file with a full qualified URl. You may not use the services like YouTube or Vimeo that hide the URL of the actual video.

    Try the URL below.

    https://archive.org/download/CEP318/CEP318_512kb.MP4

  • Values element autologin and passing in the URL of the APEX

    We call APEX JSP URL.

    I am able to autologin to APEX application:

    http://host/pls/dad/f? p = 555:101:BRANCH_TO_PAGE_ACCEPT:NO:P101_USERNAME, P101_PASSWORD:username, password

    The problem is that I have to pass values of the item to page 10. How can I do?

    I created an item hidden in the login page (101) and created a process (before header) that sets the values of point of application.

    I tried to spend the new item values in the URL, but get an error "cannot find an id element for P101_TEST element.

    http://host/pls/dad/f? p = 555:101:BRANCH_TO_PAGE_ACCEPT:NO:P101_USERNAME, P101_PASSWORD, P101_TEST:username, password, the value

    Please suggest how to solve this problem or if there is a better way to do it.

    I discovered another way to do it is another way to do this by creating the elements of an application and passing these values in the URL.

    Create the point of application: APP_ITEM1, APP_ITEM2

    http://host/pls/dad/f? p = 555:101:BRANCH_TO_PAGE_ACCEPT:NO:P101_USERNAME, P101_PASSWORD, APP_ITEM1, APP_ITEM2:username, password, value1, value2

  • Connection parameters passed via a URL

    Page 1 of our app is a page with navigation buttons, which are all from restircted of the authorisation schemes (ADMIN, EVERYONE, PRDN_FLR). PRDN_FLR is the most restricted user and you receive only three buttons. Because PRDN_FLR is a single user that everyone in the production section of our uses of easy to read documents cannot be changed, rather than have them connect daily to view the screens on which the three buttons point, I want to replace their need to enter the user name and password by passing the parameters in the url then assign this url as the home page in Internet Explorer. I don't want to make the public page in order to keep at least a semblance of security.

    Is there a way to do this?
    As always, thanks in advance...
    Alexandra

    Hi, I think there is a misunderstanding. It is not the demand which must be separated by commas, is the condition on the process, there is a "request for option is contained to within the State"

    And then you can create the list separated by commas in the expression 1 field.

    If that's what you've tried, then ignore all the text I just write :)

    You can also try to copy the login process a 3rd time and then only put the request of the State = expression we

    and then P101_PASSWORD in there

    (that's what I tried this morning, and that seems to work for me)

    I am Belgian and I work usually 6 tot 3 GMT + 1 timezone :) facilities

    I told the post, so if it's not too late in the evening, and I have some free time, I'll reply to the post later in the day too

    If I think that anything else I will let you know, someone at work here is having a similar problem, so I might need to quickly find a solution like yours.

  • Pass parameters to URL AFTER Login page

    I send you a link in an e-mail to the partners which will lead them to a page with a SB access restricted to this topic. The server behavior restrict access redirects to the login page; which works very well. The login page works perfectly well.

    But the link in the email has two URL parameters on it, which is so that when the partner gets to the once connected landing page, these settings will filter the recordset and retrieve information specific to the individual and their contract.

    Problem: URL parameters appear to access the page with the restrict access SB on him (because they appear in the URL) and they were also highlighted in the URL of the page Login.php. But when actually, I hit 'submit' and connect, they are not passed that point to the destination page, so no information of the data table appears in the contract. I tried all imaginable combinations of recordsets and EEG and whatnot, and I can't get this look simple problem solved.

    Is there something unique in the connection or restrict access SB that strips the URL parameters?
    If so, how that overcome?

    So which cannot be overcome, how Session variables created by the operation of connection is used to extract the information from the data table?

    Interesting question. I studied the code to restrict access to the Page and think that this is the rub. What intrigues me is that you say that the variables are kept in the query string. They are not. The only thing that is in the query string is the page to which the user should be redirected after login. Fortunately, the solution is simple.

    Find the following section in the restrict access to Page code:

    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
      $MM_referrer .= "?" . $QUERY_STRING;
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    }
    

    Replace all instances of $QUERY_STRING $_SERVER ['QUERY_STRING'] like this:

    if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
      $MM_qsChar = "?";
      $MM_referrer = $_SERVER['PHP_SELF'];
      if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
      if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0)
      $MM_referrer .= "?" . $_SERVER['QUERY_STRING'];
      $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
      header("Location: ". $MM_restrictGoTo);
      exit;
    }
    

    The query string should now be kept intact when the user is redirected to the page of origin.

    I'll report this problem to Adobe.

    In addition, you can use find and replace to replace all instances of $QUERY_STRING $_SERVER ['QUERY_STRING']. If you're feeling ambitious, however, you can resolve this problem by modifying the configuration file that generates code to restrict access to the Page. In CS4 on Windows, the file you need to edit is C:\Program Files\Adobe\Adobe Dreamweaver CS4\configuration\ServerBehaviors\PHP_MySQL\RestrictAccess_main.edml. It will be in a similar situation in the Applications of Mac folder. Simply change all instances of $QUERY_STRING to $_SERVER ['QUERY_STRING'].

  • Passing parameters in URL

    Hello

    Bit of a newbie here question.

    I am passing the parameter via URL:

    ? IMG = study_1_img

    In the next page, I'll put it as a variable:

    < CFSET image = "#URL.img #" >

    I then ask my DB:

    SELECT #image # FROM [tablename]

    However, when I got out, it returns the value of the variable:

    < CFOUTPUT >
    #image #.
    < / CFOUTPUT >

    What I want is the value of the query, not the variable. What should I do?

    Help would be much appreciated!

    Thank you all; in the end, I went for a different solution, but the solution to my original problem was indeed:

    Thanks a lot for all the help

Maybe you are looking for

  • How can I remove the bookmarks that are no longer used.

    I have a list of bookmarks on firefox. Many are more used.How can I remove the individual bookmarls of my list.Tried to highlight and delete them, but that does not work...

  • Substitution of text in the Terminal

    The feature of substitution of text in Mac OS X is an interesting and useful feature. I see that we can use this feature in applications such as TextEdit. However, is there a way that we can use this function in the terminal application? I use this f

  • Error ID MOTOBLUR after factory reset

    Hello My phone has for the past month, get really laggy so I thought that I would like to format the SD card and do a factory reset. When the phone has rebooted, I had to go through the usual configuration of Motoblur. He asked for my ID Motoblur (em

  • M225DN: Error in HP M225DN webservices connectivity

    Hello I have a HP M225DN all-in-one AIO laserjet printer. I connected it to my home network and everything seems to work properly. I can pull up to the printer via the IP address assigned to my web browser. What does not work, it is that the printer

  • 1080 GTX

    Hi I have a question, Is my Alienware AREA 51 R2 will be compatible with a GTX 1080? Thank you!!