About template.fmb again

If one creates a template.fmb with all "default" triggers, alerts, attached libraries, data blocks, canvases, object groups, parameters, windows, any new form created through:
file -> new -> form using template with template.fmb
will carry all the objects listed above from the template.fmb to this new form.
I checked that this does not carry any inheritance from template.fmb. In fact, compile does not need to have template.fmb at all. Does this mean that future changes on template.fmb will not affect the form using it as template?
However, if these objects are dragged into the new form, it will carry the inheritance, but this seems miss the reason of having template.fmb.
Putting all these together, starting any sizable form development, template.fmb is used for static features of the forms and any objects may have potential future changes should also be
1. put in Object Library to take care of inheritance.
2. drag them into template.fmb and the template.fmb passes the inheritance to the new forms built based on the template.
It would be great if anyone could add comments or corrections on this post.
Thanks in advance.
Jimmy

The template-mechanism in forms simply creates a new form with the content of the template. There will be no reference between these two later on. So if you want references on the objects in your template, the templatr itself already has to contains those references. So the approach would be
1. Create a "reference.fmb"
2. Create an empty form named template.fmb and subclass all objects from the reference-fmb into that "template".
3. Now base new forms on that template.
Actually i would go one step further and use an object-library for the references, so my way would be
1. create a "reference.fmb"
2. Put all the objects into an object-library, either as standalone objects or grouped together using object-groups.
3. Create and empty form named template ans subclass all objects from te object-library.
4. Again, base your new forms on the template-fmb

Similar Messages

  • Edit template.fmb to incorporate my custom forms

    Hi guys,
    I have created 2 forms on my win xp workstation using Forms 6i Builder, both of which work fine. Now i want to install them into the
    oracle application on our server (which runs on linux platform). Copied template.fmb, appstand.fmb, the libraries and changed the the
    FORMS60_PATH registry to match the folder with the libraries. I can open/compile the template form without any errors or problems.
    As far as i understood i have to incorporate them in the template.fmb but i wasnt able to do this. Tried to copy each object from my forms
    in the object lists of template.fmb but when i was opening the canvas all elements were piled up in the top left corner of it and were scaled to tiny sizes.
    How exactly do i go from here? Just to remind you i have 2 forms so i have to go through the process twice.
    i have just tried something else. I have copied the objects from my forms to a new blank form and it works. But with template.fmb
    everything is messed up.
    Thanks,
    Iulian
    PS: Sry if this is the wrong branch, i've just been told to post in the E-business Suite.

    So basicly you are saying this :
    1. I can just as well compile my forms on the server as they are and they would work but it wouldnt follow the recommended standard.
    2. What i did is just circling the bullseye.. in other words i didn't use the template as intended. If this is true please tell me how to actually edit the template.fmb to bring in the content that i have already created. I have read other threads about this and none explained this issue.
    A quick step by step would help.
    Right?
    Thanks Kiran!
    So this question remains open for the moment.
    Edit: going home now, will answer tomorrow.
    Edited by: iulianB on Feb 22, 2010 8:01 AM
    Edited by: iulianB on Feb 23, 2010 2:30 AM

  • Template.fmb  error  with  Forms 9i

    Hi, please could someone explain how the following error can be solved.
    I have been given a Form as an .FMB file which I need to modify slightly and then compile to an .FMX file. However when I load the .FMB file into Forms Builder 9i an error dialog appears containing the message:
    FRM-18108: Failed to load the following objects.
    Source Module:Template.fmb
    Source Object: WHEN-NEW-FORM-INSTANCE
    Source Module:Template.fmb
    Source Object: WHEN-WINDOW-CLOSED
    etc, etc, etc.
    This is followed by a second error dialog stating:
    FRM-10102: Cannot attach PL/SQL library Form. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library Company. This library attachment will be lost if the module is saved.
    Can someone please explain this? I can find no trace of a file called 'Template.fmb' anywhere on my machine!
    Many thanks for your help. I will be very grateful for any clues!
    Terry.

    Thanks for your reply Professor Yaffle. Originally I assumed that 'Template.fmb' (plus other library files) must be something specifically developed by the people who gave me the .FMB source file, however I then did a search with Google and came across several references to a file called 'Template.fmb' (usually in the context of an older version of Forms, 6), which suggested that this file may be a generic Oracle file which ships with Forms (or an old version of Forms).
    Unfortunately none of the hits that I obtained with Google were particularly useful in telling me what this file is or where I can get a copy (if it is a generic publicly available file). There were several comments along the lines of, "download files from the $AU_TOP/resources directory to your local disk", but what is $AU_TOP?
    I am now beginning to think that perhaps 'Template.fmb' really is something that was developed by the people who gave me the .FMB source file, as you suggest.
    By the way Professor Yaffle, I see that you are in Bath, UK which, by coincidence, is only about 14 miles north of where I am (Frome)! Small world, as they say.
    Terry.

  • Help: Attach library to template.fmb

    Hi,
    We have a set of Forms uses a single template.fmb. The template.fmb has an attached library say, app.pll. We recently add some new procedures in the spec and body of app.pll. It turned out that these changes messed the library procedure call.
    We dropped the attached library from the template.fmb and attached app.lib to the FORMS with the issue. It worked and it uses the changes of the updated app.pll.
    Question:
    1. Does this mean that we should not attach library to template.fmb?
    2. Should we re-compile all existing FORMS that use the template.fmb?
    Any suggestions are greatly appreciated.
    Thanks in advance.
    Jimmy

    Andreas Weiden wrote:
    If you add procedure and or funtions to a package in your lib, you should add them at the end of the code. Hi Andreas,
    I further checked the situation and only found that there are couple of more .pll files at various locations of different versions within compiling scope.
    1. I renamed they all and left only the latest one.
    2. Put .pll and template.fmb together in lib directory within the compiling pass.
    It turned out the way of code change need not be at the end of the code.
    Thank you again.
    Jimmy

  • Video or step by step tutorial link for create forms using template.fmb

    Hi,
    Give me link which provides step by step tutorial or video tutorial for the following:
    1. where should i save the template.fmb and library files in my local machine
    2. how to create customize form using template.fmb
    3. how to do test run that form in local machine (i'm asking this because the template form having reference to app libraries)
    3. how to convert .fmb to .fmx
    4. how to register that form in apps
    i understood about how to do the above process through existing threads in this forum, but i getting lot of errors and confusion while i'm implementing. so please tell me steps or give link which provides details.

    What Forms version are you using? While you're at it, what is your database and OS versions also? Can you provide us with an example of the type of errors you are getting?
    (i'm asking this because the template form having reference to app libraries)Developing Forms for Oracle Enterprise Business Suite (EBS) is different from non-EBS applications because of the EBS Framework and standard processing that occurs.
    Your BEST resource for developing EBS Forms is the Oracle Applications Documentation library. Select your EBS version and then find scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    For most of your questions, you'll find the answers in the aforementioned documents.
    1. where should i save the template.fmb and library files in my local machineMy guess is that many of the errors have to do with attached libraries. The APPSTAND.fmb, TEMPLATE.fmb and all of the Apps Libraries (.pll) must be in the FORMS_PATH. Which means you will need to modify the FORMS_PATH registry entry for your Forms version (6i or 10g) and EBS version (R11 or R12).
    3. how to do test run that form in local machine (i'm asking this because the template form having reference to app libraries)You can't - there are too many EBS Framework calls that will generate errors when the form runs outside of the EBS Framework. You have to test your form in a Test/Dev EBS system.
    3. how to convert .fmb to .fmxUse the Forms compiler executable. (frmcmp.exe - on Windows)
    4. how to register that form in appsThis process is too indepth to explain in the Forum - read the Administrator Guides ;-)
    I get the feeling you are trying to learn this on your own rather than attend a class. My advise is to attend some classes. They are well worth the investment! :)
    As to videos, you might want to try searching uTube. I've seen some Forms tutorial videos out there in the past.
    Lastly, your best source of 'Forum' help is the General EBS Discussion forum.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Oct 14, 2010 9:23 AM

  • TEMPLATE.fmb - no fields show up

    Hi,
    I'm trying to develop a custom form but having trouble with the template.
    1. Copy template to my directory in Unix and compile.
    2. I run it through the applications but no fields show up on the template. Is this normal? I don't think it is but I haven't created a new form from the template in a couple of years.
    3. Messing around with the form I removed the sub-class and was able to get a couple of fields to display but I changed so many things I don't seem to be able to duplicate. And I really want to be able to use the standard sub-classes which still didn't work when I set the fields manually.
    Thanks for any help.
    Andy
    Additional information:
    I've also concluded that when I compile an existing form FNDSCAPP.fmb errors occur so it is not limited to the template.fmb.
    See error below, there was only one. Any ideas as to what would cause this?
    Compiling PRE-INSERT trigger on APPLICATION data block...
    No compilation errors.
    Compiling PRE-QUERY trigger on APPLICATION data block...
    Compilation error on PRE-QUERY trigger on APPLICATION data block:
    PL/SQL ERROR 49 at line 1, column 5
    bad bind variable 'parameter.g_query_find'
    PL/SQL ERROR 49 at line 1, column 5
    bad bind variable 'parameter.g_query_find'
    PL/SQL ERROR 49 at line 3, column 3
    bad bind variable 'parameter.g_query_find'
    Compiling PRE-UPDATE trigger on APPLICATION data block...
    No compilation errors.
    Message was edited by:
    Andy123

    Oracle Forms is a tool (somewhat like Visual Basic in appearance, but the code inside is PL/SQL) which allows a developer to quickly create user-interface applications which access an Oracle database in a very efficient and tightly-coupled way. It was originally developed to run server-side in character mode on any Unix box, before Windows existed. It was then ported to Windows to function in a client-server environment. Recent versions have been ported to Java. It now runs in a J2EE container and can integrate with Java and web services.

  • How to use template.fmb file within form builder

    Hi
    I have created forms without using template.fmb file
    and deploy them on EBS then they working fine
    But when I try to use template.fmb file then it gives an error
    following are the steps :
    1:open template.fmb file with form builder
    2:rename that file with XXXX.fmb
    compile that file and deploy XXXX.fmb file in AU_TOP
    after that
    in putty i m trying to create XXXX.fmx file in same TOP but it gives an error
    Forms 10.1 (Form Compiler) Version 10.1.2.3.0 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    PL/SQL Version 10.1.0.5.0 (Production)
    Oracle Procedure Builder V10.1.2.3.0 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.5.0 Production
    Compiling package specification APP_CUSTOM...
    No compilation errors.
    Compiling package specification APP_CUSTOM...
    No compilation errors.
    Compiling package body APP_CUSTOM...
    Compilation error on package body APP_CUSTOM:
    PL/SQL ERROR 302 at line 22, column 19
    component 'DISABLED' must be declared
    PL/SQL ERROR 0 at line 22, column 5
    Statement ignored
    PL/SQL ERROR 201 at line 40, column 5
    identifier 'APP_WINDOW.CLOSE_FIRST_WINDOW' must be declared
    PL/SQL ERROR 0 at line 40, column 5
    Statement ignored
    Compilation errors have occurred.
    Form not createdfollowing is command
    $ frmcmp_batch module=$AU_TOP/forms/US/XXXX.fmb userid=APPS/apps output_file=$AU_TOP/forms/US/XXXX.fmx module_type=form batch=NO compile_all=special

    for you question - EBS General Discussion General EBS Discussion
    Compiling Forms In R12
    and search on forum

  • How to implement custom lov button without the standard template.fmb?

    hello,
    i am developing a application using oracle forms 10g. i can't use the standard template.fmb because my application does not run in ebs. there comes the problem: i want to implement the lov button function like the template does, such as :
    1. when the text item get focus, lov button display.
    2. when the text item lost focus, lov button disappear.
    3. when scrollbar scrolls, the position of lov button adjust accordingly.
    4. there is only one lov button in one form and the lov button was created dynamicly.
    i found it's so complex to do this.
    anyone can help?

    Try to change the following setting to true
    app.ui.lovButtons=falsein $ORACLE_HOME\forms\java\oracle\forms\registry\registry.dat

  • Problem in enter-query and execute-query in TEMPLATE.fmb in Oracle Apps R11

    I have created the form using TEMPLATE.fmb in Oracle Apps R11i. There is 2 problems listed below when it queries the records:-
    1) Cannot query the record by the specific value e.g. Cannot retrieve the PO records by entering the specific PO number.
    2) Always display the message 'Do you want to save the record?' whenever the <ENTER-QUERY> key (i.e. F11) is pressed.
    HOWEVER, it works fine for ALL records without entering any specific values.
    Does anybody help to solve these two problems? Any hints? Thanks for any helps.

    try setting the block status to query or record
    status to new prior to getting in the enter-query
    mode.
    Thanks
    TapashHi Tapash, Dun understand.. please give more details.. Thanks.

  • POST-QUERY trigger cannot retrieve the database field in TEMPLATE.fmb

    I have tried to create a form using TEMPLATE.fmb in Oracle Apps R11i. I found that the POST-QUERY trigger cannot retrieve the database field (which is display item property) properly. Can anyone tell me how to retrieve the displayed database fields? Thanks for any helps.

    POST-QUERY would fire after the query has been executed, it does not do the actual data retrieve.
    See if the items you have put have the data source properties set and are not control items.
    btw, this forum is for OA users, you would get better response to your query if you post it in forms forum
    Thanks,
    Tapash

  • TEMPLATE.fmb: Custom form can't display any system message

    I was using the template.fmb to create a new custom form. It works fine, BUT it can't display any system message such as ""FRM-40400 Transaction complete: 1 record applied and saved"
    Please advise what's the problem.
    Thanks

    use something like this
    :System.Message_Level := '10';

  • Cannot attach PL/SQL library APPCORE when opening template.fmb

    Hi,
    we have downloaded all .pll from $AU_TOP/resource directory to local folder and given path in windows registry ie HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/FORMS60_PATH to the local folder in which all pll are kept,
    i have kept all the important fmb in the local folder, APPSTAND.fmb, Template.fmb and every other pll from $AU_TOP/resource, but still i get the cannot attach pl/sql library error when i open template.fmb is something missing.
    Is there something missing, kindly do respond :)
    thanks in anticipaition of early response.
    Abdul Rahman

    Hi erlative,
    Thanks for your message, i just made sure that i have all the pll's only in the forms_60 path and it worked, somehow when i copied all the $AU_TOP/resource apart from APPDAYPK.pll and APPCORE, APPCORE2.pll, it didnt copy all the files, so when i copied all addittional files it worked.
    thanks for your solution.
    have a nice day :)
    Best Regards
    Abdul Rahman

  • Creating Form using TEMPLATE.fmb

    Hi Friends,
    I am practising creating a new customized form for Oracle Apps 11i Linux.
    The first thing I did are the ff:
    1. Install Forms6i in my Windows XP desktop.
    2. Copy the TEMPLATE.fmb from the Oracle Apps 11i at Linux server $AU_TOP/forms/US
    3. Open the TEMPLATE.fmb on windows using form builder.
    But i got these errors :(
    FRM-10102: Cannot attach PL/SQL library APPCORE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library APPDAYPK. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library GLOBE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library FNDSQF. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JA. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JE. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library JL. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library GHR. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PQH_GEN. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library PSAC. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library CUSTOM. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library OPM. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT1. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT2. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT3. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT4. This library attachment will be lost if the module is saved.
    FRM-10102: Cannot attach PL/SQL library VERT5. This library attachment will be lost if the module is saved.What do i do now....
    Can you give me docs on how to create a customized oracle forms?
    Thanks a lot
    ms k

    Hi,
    You may want to post in [E-business suite|http://forums.oracle.com/forums/category.jspa?categoryID=3] forum as this is a standalone forms forum.
    However, for your error, have you tried setting the FORMS60_PATH environment variable (to the folder where you have all the apps related fmbs/mmbs/plls/olbs) before starting the forms builder (Or append to the FORMS60_PATH in your f60desm.sh).
    -Arun

  • How to develop forms using TEMPLATE.fmb

    hi,
    Anyone Should suggest me clear tutorial/links to learn forms development using TEMPLATE.fmb with step-by-step development procedure including forms development, register in apps.
    Thanks in advance.

    Abdetu is right, General EBS Discussion is the more appropriate forum for this question. Having said that, creating a new form based on the TEMPLATE.fmb just ensures your EBS Custom form has all of the basic EBS requirements for a EBS form. Developing for the EBS Framework has many requirements and I strongly recommend you review the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    If you are looking for general "Forms" tutorials, here are a few good links. Although a few of the following links are for older Forms versions, the concepts are still valid across all Forms versions.
    <ul>
    <li>A Tutorial on Oracle9i Forms and Reports
    <li>Tutorial for Oracle10g Forms / Reports
    <li>iSelfSchooling - Basic Introduction to Forms
    <li>Oracle Forms 10g: Demos, Tips and Techniques
    </ul>
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 6i Template.fmb Progress Bar and Inv Org LOV

    I am building a custom form for use with Oracle Apps.
    I have two problems:
    1. The progress indicator canvas appears after the window is closed. I do not know what is calling it or how to prevent it from poping up.
    2. I would like to use the INVSTAND parameters for org_id and I would like to set those parameters by mimicing the behavior of other windows. (If the user has not selected an inv org, they are prompted with an LOV.) Can anyone tell me how to implement this?
    I have created the form using the template.fmb file using 6i and Apps 11.5.?
    Dan

    This is kind of an old thread. But, I'm having the same problem now. When I use the windows MDI close button on a child window (called by the initial form window), the progress bar canvas is launched. I'm not even using the progress bar anywhere. Also using the TEMPLATE.fmb.
    What is the cause of this?

Maybe you are looking for

  • Can I print a mirror image?

    I need to print a mirror image of a pdf document that was produced using a large scanner in our engineering department. We scan old sepias but the side we can scan is a negative image. Old copiers could "see through" the sepia's back side to get the

  • Error Message saying Itunes running safe mode

    Everytime I open Itunes I receive an error message stating Itunes exe. has been set to run in compatibility mode for an older version of windows. For best results turn off compatibility mode before you open it. How do I turn of compatibility mode. Se

  • Problems with Acrobat 9 Pro

    I have Acrobat 9 Pro. All of a sudden, it no longer creates PDFs. Is Adobe no longer supporting this? I uninstalled and reinstalled the program. No luck. (It still reads PDFs though). If I upgrade to Acrobat XI, will that enable me to create PDFs? I

  • International Plan 500 minutes

    How can I check the monthly usage and remaining minutes?

  • Color sample outside app

    In CS3 you could select the Eyedropper Tool and hover outside the app and then hit enter to get that color. I am pretty new to CS4 and that awesome trick isn't working. I'm even having problems sampling colors on the stage. Does anyone know why this