JDAPI: add Object library or PLSQL libs

Hi,
I miss 2 things in JDAPI:
there is a methods getAttachedLibraries() and getObjectGroups(). Fine, but how to add a library or ObjectGroup. There is no add-Method.
What I want is the same as drag and drop a object library to a form in Forms Builder...
Anybody there, who knows...
Thanks a lot,
Michael

Hi Duncan,
Thank you very much for your help! Works great!
Another JDAPI question:
I add webutil via JDAPI (and modify some ProgramUnits) to a 6i form and found a very strange behaviour: When try to compile the form I get incorrect compiler errors...
I have to save form, Jdapi.shutdown() and then Reopen form. After that I can compile without any error?!
Similar happens, when subclass webutil and use the Block.find(...): JDAPI can't find the before added webutil block! After saving, reinitializing and reloading the form the form find works correct...
But these are minor problems...
Thank's again,
Michael

Similar Messages

  • Microsoft Word Object Library does not find in add reference com visual basic 2008

    I didn't find the Microsoft Word Object Library On
    the COM tab, in visual basic 2008
    how i can add it.
    my purpose that i want to add word in my project and can view and edit in it.

    I didn't find the Microsoft Word Object Library On
    the COM tab, in visual basic 2008
    how i can add it.
    my purpose that i want to add word in my project and can view and edit in it.
    Maybe dumb question from me, but is Microsoft Word installed on the machine?
    AFAIK, you can (optionally) install the "Primary Interop Assemblies" when installing Word. (see also: How to: Install Office Primary Interop Assemblies)
    Armin

  • Unable to add reference for Excel Object Library for use within Script Task

    I have a requirement to use a Script Tax that needs to reference the Excel Object Model. There are numerous articles on using this such as
    http://www.databasejournal.com/features/mssql/article.php/3921141/SSIS-Script-Task-and-Microsoft-Office-Automation.htm.
    Simply, I need to add a reference to the Microsoft Excel 12.0 Object Library.
    I have selected this from the Object List on the COM tab and when this adds the reference it states 'The System cannot find the reference specified', even though the referenced file for this Object is C:\Program Files(x86)\Microsoft Office\Office12\Excel.exe
    and this file location exists on my local machine ?

    Please search where "Microsoft.Office.Interop.Excel.dll" exist in your system and try adding the reference.
    If you don't find the dll there then there might be problem while installing.
    To install the PIAs by using the redistributable package
    http://www.microsoft.com/en-us/download/details.aspx?id=3508
    http://www.microsoft.com/en-us/download/details.aspx?id=18346
    Regards, RSingh

  • Object Library/PL-Sql Library Use?

    1. I would like to know the benefits of the new concepts like
    Object library and Object Group etc. All I gather is that they
    can be subclassed, the advantage of this being, I need to change
    only at one place, and it replicates in rest of the programs.
    2. Is there going to be any benefit of having the
    procedures/objects in PLSQL Library/Object library rather than
    in Object Group within the form .
    null

    The query in your code actually generates a string that is 3887 bytes long:
    SQL> ed
    Wrote file afiedt.buf
      1  SELECT length(LISTAGG (LEVEL, ' ') WITHIN GROUP (ORDER BY LEVEL))
      2  FROM DUAL
      3* CONNECT BY LEVEL < 1000
    SQL> /
    LENGTH(LISTAGG(LEVEL,'')WITHINGROUP(ORDERBYLEVEL))
                                                  3887
    The reason you are getting 7774 is because your database is obviously set up for a multi byte character set, so the length is determining 2 bytes for each stored character (2*3887 = 7774).  You're not actually storing more than 4000 bytes.  Try changing your query to add another 25 numbers to the string and it'll break... as you're exceeding the 4000 byte limit...
    SQL> ed
    Wrote file afiedt.buf
      1  SELECT length(LISTAGG (LEVEL, ' ') WITHIN GROUP (ORDER BY LEVEL))
      2  FROM DUAL
      3* CONNECT BY LEVEL < 1025
    SQL> /
    FROM DUAL
    ERROR at line 2:
    ORA-01489: result of string concatenation is too long

  • How to add a library (libSomeRandomlib.so) to a project....??

    Ok, so I've been trying to get CERN's ROOT program/libraries to work in an xcode project for a while, but I'm running into one really weird error, and I think I may just not know how to add a library to a project correctly.
    Suppose I create a new Xcode C++ command line tool project. I hit Build and go, and it gives me a nice little Hello World! in the console, just as it should. If I then click on the project in Groups & Files, go to Project>Add to Project..., and choose, say, libCint.so, from my root/lib directory, and click ok, then click Build & Go, I get an error in the console:
    dyld: Library not loaded: @rpath/libCint.so
    Referenced from: /Users/paulthompson/Documents/Programming/Build Products/Debug/LibraryIncludeTest
    Reason: image not found
    sharedlibrary apply-load-rules all
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Cannot call into the loader at present, it is locked.)
    My assumption is that either I'm missing a step in the process of adding a library, or else there is something jacked up with the libraries themselves. Anyone have any advice?
    Thanks,
    Paul
    EDIT* Oh, I should mention that the actuall binary that gets built after adding the library WILL execute properly in the Finder, or from terminal, just not with the Build & Go, or Go commands from within xcode.
    Message was edited by: TraxusIV

    TraxusIV wrote:
    Results of otool:
    LibraryIncludeTest:
    @rpath/libCint.so (compatibility version 0.0.0, current version 0.0.0)
    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 123.0.0)
    Macintosh-9:Debug paulthompson$ otool -L /Applications/CERNRoot/root/lib/libCint.so
    /Applications/CERNRoot/root/lib/libCint.so:
    @rpath/libCint.so (compatibility version 0.0.0, current version 0.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
    I honestly don't know much about @rpath. I found this page that explains it a bit more: http://blogs.sun.com/dipol/entry/dynamiclibraries_rpath_andmac
    So, since I don't want to deploy with the environment variable set, I should ask, what IS the correct, MacOS X way to do it?
    The best way to find that is to look at how Apple does it. They put frameworks in /System/Library/Frameworks and regular shared libraries in the standard places. You can do the same. Put your frameworks into /Library/Frameworks and your shared libraries into /usr/local-based paths.
    If you want to create stand-alone executables that can be installed via drag-n-drop, you can put shared libraries inside the application bundle. If your shared libraries/frameworks are elsewhere, you will need some sort of installer to get them installed.
    I've been sifting through Apple's developer documentation but I have yet to find a concise, straightforward explanation of how to add shared libraries. I'm horribly confused at this point. Is there a good tutorial available anywhere for both the general unix case of linking to dylibs and .so's, and the Mac specific case?
    Hopefully someone else knows an answer for this one.
    *EDIT* I do already have the variable defined both in ~/.MacOS/environment.plist and also in Xcode as an additional user variable.
    I'm not sure about the whole RPATH thing. Setting environment.plist will define environment variables for use in the Finder, but that is really a hack. There are better ways to do it, but if you are porting some open-source programs, that may be the only way. You should be able to define those variables in Xcode. You have to selected the debug executable under "Exectuables"

  • How to share a object library

    Dear Adobe Community,
    I am using the Adobe (JetForm) Output Designer Version 5.4.0. 130
    As we are working in a team on several forms (IFDs), which include
    some objects from a object library, we would like to share the same library
    within the team. I could not find any option to export / import objects from one
    library to another one.
    Is there a possibility to share the same library with multiple users, for example on a
    network-share-drive? If yes, how can we implement this?
    Thanks in advance for your input.
    Best regards
    Jan

    hi Michel,
    Here is all the info I have on sharing.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • 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

  • How to add objects to panel in one class from another class

    Hi this is what i am trying to do. I have a drag and adrop tool working where the users and select objects on a small panel and drag them to another panel called the tpan. What i want to do is create another class, which creates objects and now i want to display these objects on the tpan. So say i have a class DisplayTpan(), this class is used to display the objects which have been dragged from the small panel, and objects on this panel have mouselisteners attached, so that these objects can be moved around on the tpan. I have created another class called creatObj(), and from this class i want to add objects to the tpan. The DisplayTpan class extends a Jpanel, would this be he case for the CreateObj() class? In the CreateClass i have made a call to DisplayTpan t = new DisplayTPan();
    t.add(object);
    But this does not add the object to the panel, any ideas on how it should be done?
    Problem number two i have is say, I have two objects created on that oanel, i now want to draw a line t connect the two objects, this is just simply a call to the drawLine function but how would it be possible to add a ,mouselistener to that line, so it can be extended moved around etc? Any help much appreciated thanks.

    Try to convert the PL/SQL code from Forms trigger into a PL/SQL library(.PLL),
    and then attach that PLL in your forms.
    Note that all Forms objects should be referenced indirectly, for example,
    you have to rewrite
    :B1.DEPT_CODE := :B2.DEPT_CODE;
    :B3.TOTAL_AMOUNT := 100;
    ==>
    copy('B2.DEPT_NO','B1.DEPT_NO');
    copy('100','B3.TOTAL_AMOUNT');
    This is the best way to share PL/SQL code among Oracle Forms.

  • 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

  • Problem subclassing an object group from an object library

    Hi
    I've created an object group using Forms 6i (can't tell you the exact version just now) containing a number of objects, including a couple of alerts, a couple of data blocks, canvas, window, program units etc. I've saved the object group into an object library and used it successfully for some time. Now I've gone to a new job, I suspect that I'm using a subtly different version of Forms 6i (6.0.8.16.1), but I'm finding a strange behaviour when I try to add the object group to a form.
    Dragging the object group over, I get the 'Do you want to copy or subclass the object?' message. If I select 'Copy', everything gets copied across fine - the datablocks have all the items in them and the program units are fine. However, if I select 'Subclass', the items all appear in the object navigator, but are 'empty', so the data blocks contain no items and the program units are just 'begin' and 'end' statements with nothing in between.
    Funnily enough, if I 'copy' the object group into a form (so everything's present), then create another copy of the object group in the current version of Form Builder and save it in a (new) object library, the behaviour is still the same.
    Has anyone come across this situation before (I couldn't find anything exactly comparable on Metalink), and what workaround (if any) did you find?
    regards
    Andrew
    UK

    Hi again
    The answer to this strange behaviour became apparent when I found bug 2772326 on Metalink.
    Basically, either the OLB has to be on the FORMS60_PATH, or the option in Forms Builder under Tools->Preferences->Access->Subclassing Path has to be set to 'Keep' rather than 'Remove'. Doing either of these things solves the problem.
    regards
    Andrew

  • How to add dll library to application?

    I start programmed the CVI a few weeks ago and I have a little problem. I must make an application layer for profibus master device. However I total do not know how to add dynamic library to program, because in another way I get the error: undefined symbol. I know that it very trivial, but I cannot find solution. I have a lib file and also I include file about device, but I still get the error – undefined symbol – can you help me?
    Thanks very much for any advice or help

    Dear laszku,
    Are you looking for solutions to connect your CVI application with PLC? Because there are also solutions for that which are easy to use, and to implement with CVI.
    If you want to use your DLLs, there are some on-line help, how to import them in CVI.
    Basicaly there are two different method to import DLLs:
    - static import, when you import the library in your CVI project. The dll will be loaded when the exe starts running. If there is an issue to load the library, you'll be able to get the error at compilation time.
    - dynamic dll import, when you load the library at run-time. With this, you get the flexibility to control, when will be the dll linked to your exe in the memory, while running. The disadvantage is, you'll get errors only at run-time.
    I recommend you some of our on-line tutorial, how to load DLL into your application in CVI:
    CVI Help: Loading Dlls - This says: You cannot import DLLs directly into your project. You need to create DLL Import Library, which can be imported into your project.
    To do so, look at this knowledge base: Creating Import Libraries for a DLL in LabWindows/CVI
    You might get answers for your following questions at this FAQ page:
    FAQ: Using Dynamic Link Libraries with LabWindows/CVI
    Some help sites:
    Rules for Using DLL Files
    Linking to Functions Defined in a DLL From LabWindows/CVI
    If you need dynamic linkink, you can get example code with this site:
    How Can I Access DLL Functions in a LabWindows/CVI Program Without Including the Import Library in t...
    I hope, I could help you to find the way how to import DLL libraries.
    If you still couldn't solve the error after studying the links, please provide me more information, where, which symbol is missing, and also the full error message.
    The error you get, can be caused by the linker or pre-compiler also, which doesn't find the symbol you requested. Please check the path of your library and dll also.
    Best Regards,
    Tamas Szekely
    Applications Engineer
    National Instruments

  • .olb object library cannot open file in 11g - migration from 10g to 11g

    I have an object library (.olb) that will not open in Foras 11.1.1.2.0. It opens fine in 10g. I have tried converting it to ascii (.olt) but it will not creat the binary filie in 11g - get PDE-PER001 Internal Error (cakaa 2) when I try to convert any ascii file from 10g into 11g.
    I have tried using frmplsqlconv, the conversion tool on .olb but get following error when it is run: ERROR opening easstnd.olb :oracle.forms.jdapi.JdapiStatusException: Failed to load olb
    Check subclass and library dependencies
    Any help appreciated!
    Kim

    Kim,
    We are not migrating yet, and we have not started converting all our forms and reports, but for the tests we have done, I never had to use frmplsqlconv (in fact, I don't know what it is). What I have done is:
    1) As I told you before, I copied everything (forms, reports, etc.) we have to a new location.
    2) I opened ALL the pll files with Builder 11g, saved them, and generated the plx files. The only problem I encountered here was that with some plls, Forms Builder crashed when opening them. I had to open those with Forms Builder 10g, and remove program units one by one until I found the culprit. After removing the program unit causing the crash, I opened the pll successfully with Forms Builder 11g, and created the program unit I had deleted.
    3) After all plls were generated, I opened the forms I wanted to test, saved them, and generated the fmx files.
    4) Same thing with reports (rdf and jsp files).
    I have never gotten an error in Builder when closing plls, and we don't have either .fmt or .pld files.
    Carlos

  • 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

  • Template vs object library

    hi all
    i want to know that
    designing forms using template is better than using object library
    or not?
    how could i make an object library and use it?
    if you have any idea please guide me.
    thanks

    "The problem with OL is, that you cannot maintain your OL after creating it"
    Huh? Of course you can maintain an OL after creating it, as long as you know how...
    To add an item to the library, just drag it in from a form.
    To remove an item from the library, just select it and press delete.
    To edit an item you have to be sneaky - drag it from the library into a form, select "Copy" when it asks you what to do, update the properties you want to change, delete the original item from the library and drag the revised item into the library.
    Now to go back to original question about what to use, there's very little to choose between them, but I'd go for Object Libraries because of "smartclasses". If you have, say, a checkbox in your object library, you can mark it as a "smartclass". Now, when you place a checkbox in the layout editor you can right-click on it and the "smartclass" appears in the menu. Very quick and easy way of ensuring all items pick up standard properties.

  • Subclassing objects from Object Library

    Hi,
    We have an Object Library that is ever-changing.
    We have several procedures and function in the Object Lib. that
    we subclass in many different forms.
    I expect those subclassed proc/functions to inherit the new
    changes automatically when I re-compile, but I don't see any new
    changes. In fact, the red arrow(subclassed items have red-
    arrows to show that they are subclassed) disappear from the
    subclassed forms.
    I have a source form where I edit/write all the property
    classes, visual attributes, procedures, and functions. Once I
    write/edit them, then, I move(drag) them to object library. Am
    I doing something wrong?

    Once you have an object in the OLB and you dragged it to a form
    it will be marked with a red arrow as subclassed.
    Now if you change the object in the OLB (but keep the previous
    object name, you'll get a replace option message) and save the
    olb, you need to open the form that has the subclassed object
    and re compile it. Make sure the olb is also opened in the forms
    developer. This will make the changes appear in the form's
    object.
    If the arrow disapear then have a look at the subclass property
    of the item in question to see what went wrong.

Maybe you are looking for

  • How to stop spooling and get error or status of the statement

    Hi All, I am using the bellow in .sql file to generate a spool file which is called from a shell script. The issue is whn i kill the job the .csv file is still generated and doesnt thow any error. Could any one please let me know how to stop spooling

  • My note application always open

    Hello, Since few days, my "note" application always open alone even after close the application and go to front. I remove icloud account, switch off the keyboard, reboot the imac, check HD and problem is always present. Anybody has already got this p

  • Close In-App Folio Browser From External HTML Page

    Is it possible to close the in-app browser window/overlay from an external html page, accessed from the HTMLResources directory for example?

  • SQL Server Express LocalDB Features

    Is there documentation pointing out what's new in LocalDB in v2014 from v2012? kkamii

  • Reminders: Recur on Completion

    Anyone know of a way to have iOS Reminders repeat every 2 weeks, but recur based on the completion date rather than simply every 2 weeks regardless if you completed it or not?  For instance, I want "Mop the Floors" to recur every 2 weeks, but not sim