HST212 - Customizing the Object Library

I want to append a new Object Library form to qmsolb50.olb, so I decided to make sure that I could recreate the original. Using 'form2lib.exe' on the original qmsolm50.fmb does not recreate the qmsolb50.olb. I got a list of warnings saying that a tab couldn't be found for a certain item. The resulting qmsolb50.olb was much smaller that the original. I created a third tab in the registry for 'GROUPED QMS OBJECTS' with an ID of 'QMS$' and ran the job again. I got fewer warnings this time, but there were still some for items without a common prefix (mainly regarding the calendar I think). This time, the qmsolb50.olb was only slightly smaller than the original.
Could you please confirm the registry settings so that I can recreate the qmsolb50.olb?
Thank you.

The number of warnings are no problem. The form2lib utility only states that it could not find a tab for the named objects. That does not mean that the objects aren't in the object library. Only that you will not be able to see them directly in Forms Builder.
In the registry you only have to have the two registry-settings for the two tabs TAB1 and TAB2:
- NAME="Headstart Objects"; ID1="QMSSO$"
- NAME="OFG Objects"; ID1="CGSO$"
The only time you have to add entries for additional tabs is when you want to use your own objects, e.g.:
- NAME="My Objects"; ID1="MYSO$"
I can not explain the difference in file size, but you should be able to normally use the newly created object library.

Similar Messages

  • SAP TAO Customizing the Runtime Library

    All,
    I am trying to build SAP TAO Customizing the Runtime Library for and following the instructions:
    1. Edit “CBASE_Custom_Wrappers.vbs
    2. added code as follows:
         Sub CUSTOM_CaptureScreen( windowTitle )
         Dim activeWindow
               Set activeWindow = TAO.GetSapGuiSession().ActiveWindow
                        If activeWindow.Text = windowTitle Then
                                 TAO.CaptureScreen()
                        End If
          End Sub
    3. Verifying the Syntax of Custom Code by executing CBASE_Bootstarp.vbs was able to see CBASE_Custom_Wrapper.vbs
    4. Call the Execute statement :
    PARAMETERS
         Library: CBASE_Custom_Wrappers.vbs
         Statement "CUSTOM_CaptureScreen “Screen Name”
    But I am getting error as * ERROR DETECTED * Error: 1032 Description: Invalid character Source: Microsoft VBScript compilation error * LAST CONTROL URI * label -> titl type -> GuiTitlebar id -> /app/con[0]/ses[0]/wnd[0]/titl
    I was expecting the custom wrapper to work according to SAP TAO 3.0 SP2 and above Runtime Library and default component...page 184
    Any help would be welcome
    Thanks!
    PS: Check the screen shots

    Hello
    CUSTOM_CaptureScreen %quote%Screen Name%quote% worked in SAP ECC. But when I try the same with CRM Portal it fails.
    Fig 1: Screen to be captured
    Fig 2: Object Spy: [TAF] Identifcation
    Fig 3: ALM Component setting for Execute Statement
    Fig 4: ALM Error 424.
    I have tried both "" and %quotes%
    Seems that object is not recognizable or this wrapper sub works only for ECC and not CRM
    ' CBASE_Custom_Wrappers is the library where to put custom functions          
    ' This library is delivered empty within SAP TAO                            
    ' - Custom functions written here should not override existing TAO Functions
    ' - Please make sure to use a prefix to avoid name conflicts especially when
    ' declaring global variables                                               
    '# AssemblyTitle("SAP TAO Application")
    '# AssemblyDescription("SAP Test Acceleration and Optimization")
    '# AssemblyCompany("SAP")
    '# AssemblyProduct("SAP_TAO")
    '# AssemblyCopyright("Copyright (c) 2008-2013 SAP AG. All rights reserved.")
    '# AssemblyTrademark("Trademark 2008-2013 SAP AG")
    '# AssemblyVersion("3.0.4.3")
    '# AssemblyFileVersion("3.0.4.3")
    '# AssemblyInformationalVersion("3.0.4.3")
    ' Begin - Custom Code
    ' Put your custom code here - No custom code is delivered by SAP
    Sub CUSTOM_CaptureScreen (windowTitle)
        Dim activeWindow
        Set activeWindow = TAO.GetSapGuiSession().ActiveWindow
      If activeWindow.Text = windowTitle Then
      TAO.CaptureScreen()
            End If
    End Sub
    ' End - Custom Code
    If Not IsEmpty(Environment) Or CBASE_BOOTSTRAP Then
      'This line prevents from loading the library twice.
      ExecutionContext().DeclareLibrary "CBASE_Custom_Wrappers.vbs"
    End If 
    Thanks for your help in advance
    Regards
    Saurabh

  • How to load the object library at run time from within the script.

    What i am trying to do from my library is that I wanted to load the object library file (.properties) file at run time through the script. I know that open script has a deprecated method "ft.loadObjectLibrary". Is there any other method other than the deprecated one?. Also is there a way that I can unload the library?
    Thanks,
    Sri

    Object.border.fill.color.value = "255,255,255";
    if you want to use rawValue of textfields to insert in there you will have to do
    Object.border.fill.color.value = R.rawValue + "," + G.rawValue + "," + B.rawValue

  • "ORA-04062" and the Object Library

    Hi,
    <br>
    <br><b>Breifly, my form is generating "Ora-04062" at runtime and to make it working I must re-subclass objects linked from an OLB file. How can I fix this without re-subclassing?</b><br><br>
    Here are the details:<br>
    I created a form FMB with objects subclassed from an Object Library OLB file. The form used to run fine till I have made some modifications on its code. Since then, evertime I run the form, it generated Oracle "Ora-04062" error.<br><br>
    I recompiled all the packages used by the form and the form iteself with no luck. Finally, when I re-subclassed the objects from the OLB file, the form starts to work fine.<br><br>
    Unluckily, I have now too many forms with the same problem. It's very time consuming to re-subclass the objects for all of them because the subclassed objects are used by too many items withtin the form.<br><br>
    This issue drives me crazy and it took me all the day just subclassing from the OLB. Had I known such a thing may occur, I'd have much preferred to avoid using OLB in first place.

    Hi,<br><br>
    The OLB file is pointed by the FORMS60_PATH.<br><br>
    Regarding the signature, yes I may now and then make some changes on it. There is no advantage of the OLB file, if I am not able to make modification on it to be applied on all the forms.<br><br>
    Thanks anyway.

  • Why is some of the objects in the object library are greyed out?

    I haven't seen this before and it's annoying, because it's the objects I need such as text, text object etc!

    Hi,
    Designer deactivates all objects in the palette that are not supported in a static form.
    This happens when you create a form by importing an static PDF file.

  • How to Capture the Objects in Object Library in Openscript tool?

    Hi All,
    I am new to OATS and i was trying to explore the Object Library in Opencript tool.
    Can anyone please advise me how to capture the Oracle forms Object in Object Library or Object Repository using OpenScript Tool?
    It would be grateful,If you can provide me the step to follow for the above.
    Thanks
    Ajith

    Hi Ajith,
    Create one Object Library. In OpenScript click File -> New -> Select Object Library under Script Assets.
    Then mention name of your library and save it.
    Add this library to script assets of your script. Select Script -> Script Properties... -> Script Assets -> Object Library -> Add(button) -> select your Object Library.
    Then save  your script and start recording. After recording you can see xpath of all objects you interacted with during your script recording.
    If you want to apply this to your script, select Script -> Apply Object Library.. -> then select your Object Library. If you want to revert it, then select Script --> Revert All Navigation To Recorded
    Hope this will help you...
    Regards,
    Deepu M

  • Subclass the webutil.olb object library

    Hello,
    please can anybody show me how to subclass an objectgroup in the designer 9i.
    I want to add the webutil.olb in somme module, but it doesn't work, and it attached only the original qmsolb65.olb. The STOLB is set to qmsolb65.olb and I add webutil.olb, but it doesn't work.
    Thank you

    A suggestion: try to specify the object library in the Generate Form dialog directly. Also set the object group of WebUtil with pref OLBLST.
    regards,
    Harm

  • Error in VBA reference for Adobe Photoshop CS4 Object Library

    Hello,
    I'm using Windows 7 Pro, MS Office 2010 Pro and Creative Suite CS4 (with all updates).
    I will automate Photoshop via Visual Basic for Applications in MS Access.
    Befor using there the Adobe Photoshop CS4 Object Library I must reference it in VBA.
    But when I will du this, I get the message "Error loading DLL".
    When I will manually reference to the WIASupport.8LI File, I get the error: "Cannot reference this file"
    Can you give a tip, how I can solve this problem?
    Regards

    I have the same problem!  I have photoshop cc2014 (which we own) and the object library shows, but not for cs 5.1 (30 day trial).
    Does registering unlock something?
    Help please!!

  • How to change objects in object library?

    I saved an object in the object library and used it as parent object to create some subclass objects in several form modules. Now I want to modify the object in the object library so all the subclass objects can inherit the changes made in the parent object. How can I change the object saved in the library?

    1- Open New Form
    2- Drag the object you want to modify to it
    3- Modify it in the opened Form
    4- Drag it back to the Object Library
    Rem: Be sure all Forms that are using this object are closed when you start this procedure.
    Hope this help,
    Ahmed.

  • Subclass Object Library

    Hi,
    Did anyone faced this problem.
    I've created an object library. I then drag the object from the library to form using the subclass -> remove path option, compiled the form and run the application the references subclass worked fine.The object libray path has been defined in forms_path and default.env file. I then made a mod to the object library, updated it and saved. Now,forms don't recognize the change that I made in the object library at runtime but i see the modified informatioin at design time.I am using forms 10.1.2.
    Thanks

    Hi..
    Recompile the form again.
    Thnx and regards
    Sriram

  • Object Library Error:

    Hi Everyone,
    We do have Oracle Forms 6i I just started upgrading them to 10g.
    1. Do we need to Compile Object Libraries in 10g, if so how?
    2. When I try to open object libraries on 10G, some of them open but a couple of them are having problems. the error is:
    Error Signature.
    App Name: fmbld.exe AppVer 10.1.2.0 ModName fmdg.dll
    ModVer: 10.1.2.0 Offset: 00001a23
    These object libraries can be opened in 6i, I have included them in the 10g path.
    the only thing I found is that the Object Library that have an Object Group included, if I delete the object group from the Object Library and then save and compile in 6i, it will open in 10g.
    But on the other hand the object libraries that I can open in 10g does have object groups attached to them.
    One last thing there is a big difference between the object Libraries that 10g can open them and cannot.
    object groups from the object library tab can be dropped in a form(10g opens these)
    does not allow object groups from the object library to be included in any form (10g does not open these).
    Any advice is helpful..
    thanks,
    Habeeb

    Hi Every One,
    As said earlier, we have compiled all libraries, object libraries, menu and forms successfully and tested them on windows. (I am sorry we have updated our application from 6i to 10g). Now we have to move to Unix, this is where the problem started.
    Form A is calling Form B, passes a parameter, works fine when tested on windows, fails when tested on server.
    This is the error:
    FRM-47023: No such parameter named PROCESS_MODE exists in the form B.
    When the Form A calls Form B (this is done by a menu M1)
    Form A does have a parameter defined as PROCESS_MODE
    the triggers in the menu are:
    procedure browse_menu_option
    (p_window_title varchar2
    ,p_form_name varchar2) is
    pl_id ParamList;
    begin
    pl_id := Get_Parameter_List(p_form_name||'_parms');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := Create_Parameter_List(p_form_name||'_parms');
    window_title(p_window_title);
    Add_Parameter(pl_id,'PROCESS_MODE',TEXT_PARAMETER,'BROWSE');
    form_call(p_form_name,pl_id);
    set_runform_properties;
    end browse_menu_option;
    procedure update_menu_option
    (p_window_title varchar2
    ,p_form_name varchar2) is
    pl_id ParamList;
    begin
    pl_id := Get_Parameter_List(p_form_name||'_parms');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id := create_parameter_list(p_form_name||'_parms');
    window_title(p_window_title);
    add_parameter(pl_id,'PROCESS_MODE',text_parameter,'UPDATE');
    form_call(p_form_name,pl_id);
    set_runform_properties;
    end update_menu_option;
    When form B is activated the WHEN-NEW-FORM-TRIGGER have this code.
    BEGIN
    set_window_property(FORMS_MDI_WINDOW,window_state,maximize);
    set_window_property('RPT_DEF', WINDOW_STATE, MAXIMIZE);
    FORM_SECURITY_CHECK;
    icon_bar_init;
    set_all_item_defaults;
    QUIET_QUERY;
    END;
    FORM_SECURITY_CHECK is a procedure defined in a PLL Library.
    PROCEDURE FORM_SECURITY_CHECK IS
    ACCESS_DENIED EXCEPTION;
    FORM_NAME VARCHAR2(8) := NULL;
    BEGIN
    IF NAME_IN('PARAMETER.PROCESS_MODE') = 'UPDATE' THEN
    FORM_NAME := GET_APPLICATION_PROPERTY(CURRENT_FORM_NAME);
    ELSE
    FORM_NAME := 'OSCAR';
    END IF;
    END;
    Form B does have a parameter defined as PROCESS_MODE to receive and is part of the object_library.
    Now the funny thing is that if I delete the object_library and reattach but this time instead of "subclass" I choose "copy" and it works fine, but when the items are "subclassed" it does not work, not only this it does not even see any subclassed item.
    the way I attached the object library is directed by Tony Garabedian.
    I can choose to copy rather subclass but the disadvantage is that I loose all inherted properties, which is a pain to redo all.
    Any help is appriciated...
    Habeeb

  • Object Library

    I'm using Forms 6 and am starting to use the Object Library.
    As the Online help says :
    "Object libraries are automatically re-opened when you startup
    Form Builder, making your reusable objects immediately
    accessible."
    It also makes it easy for any developer to add or update the
    object library.
    The problem is that we can now have several developers having
    the
    object library file open, each having a different set of changes
    outstanding, and when they are finally saved by the developers,
    some of them are of course lost. The last developer to save gets
    to keep theirs.
    No file locking is occuring.
    What I want to know is, is there a better way to avoid this than
    going round the office telling everyone that you are about to
    save a change, and that they are all going to have to close the
    object library and reopen it to pick up the changes.
    In the end the object library could be brought under 'normal
    configuration control', but during RAD, this isn't really
    feasable.
    Thanks
    null

    Unfortunately, you are stuck. You either have to have one
    person control a 'master' version of the library and dole it out
    whith all changes going through that individual, or put it under
    some form of CM (config. mgt.) to control changes. Those are
    about the only ways of handling that issue. It's a hassle, but
    what can you do?
    Dan
    Graham (guest) wrote:
    : I'm using Forms 6 and am starting to use the Object Library.
    : As the Online help says :
    : "Object libraries are automatically re-opened when you startup
    : Form Builder, making your reusable objects immediately
    : accessible."
    : It also makes it easy for any developer to add or update the
    : object library.
    : The problem is that we can now have several developers having
    : the
    : object library file open, each having a different set of
    changes
    : outstanding, and when they are finally saved by the
    developers,
    : some of them are of course lost. The last developer to save
    gets
    : to keep theirs.
    : No file locking is occuring.
    : What I want to know is, is there a better way to avoid this
    than
    : going round the office telling everyone that you are about to
    : save a change, and that they are all going to have to close
    the
    : object library and reopen it to pick up the changes.
    : In the end the object library could be brought under 'normal
    : configuration control', but during RAD, this isn't really
    : feasable.
    : Thanks
    null

  • Do we need to include OLB (object library file) in production form path?

    Hi,
    I would like to ask if a form being compiled that consist of record group defined in object library file (olb), do we need to release the OLB to production form path as well?

    That depends on how you deploy your compiled Forms (.fmx) files to your production environment and how you copy the objects from the object library (OLB) into your forms. If you subclass the objects (the recommended method) rather than copy them, then the source OLB must be deployed so the source objects are found during the compilcation process.
    If you deploy only the compiled executable (.fmx) files, the OLB source files do not have to be deployed to production.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Saveing the OBJECT GROUP

    Hi Experts,
    I've created Object Group which consists of (alert, parameters, visual attribute and property class).
    Now I want to save this Object Group.
    Please help me to save it.

    You can't save it on it's own.
    I'm guessing what you want to do is use it as a shared component with all your Forms ?
    In this case what you need to do is create an object library (olb) and copy the object group into the object library module (then open the object library and then drag your object group into it).
    Then you can drag the object group from the object library into your other Forms (referencing it now rather than copying it).
    That's just a guess at what you'd like to do : for more information have a search for object libraries and referencing components.
    HTH
    Steve

  • Migrating Object Library

    We are migrating a WindowsNT Oracle Forms 6i application that uses an object class to Oracle 9ias under a Sun(UNIX) environment. The code was FTP'ed to the Sun server. When recompiling the code under UNIX, the items that were subclassed from the object library did not compile-saying item not specified. The object library is located in the FORMS60_PATH directory. Is there something else we need to do to have the object library seen during the recompile?

    Problem solved. Thank you very much Duncan!
    I used your recommended truss command and found out the code was looking for the object library filename in uppercase letters. I changed the filename to uppercase and it compiled.

Maybe you are looking for