Find folders that use item class

Hi,
Is there a way that I can find the folders that have items using a specific item class?
Thanks.
Leah

Hi Leah
The following script will display a list of all items in a prompted Business Area that use a single, prompted for LOV. if you leave off the prompt for the business area you will find all items and all folders that use the LOV. Modifying it further you could display only the folders.
SELECT
DOM.DOM_NAME "LOV Name",
OBJ.OBJ_NAME "Folder Name",
EXP.EXP_NAME "Item Name"
FROM
EUL5_BA_OBJ_LINKS BOL,
EUL5_BAS BA,
EUL5_OBJS OBJ,
EUL5_EXPRESSIONS EXP,
EUL5_DOMAINS DOM
WHERE
BOL.BOL_BA_ID = BA.BA_ID
AND BOL.BOL_OBJ_ID = OBJ.OBJ_ID
AND EXP.IT_OBJ_ID = OBJ.OBJ_ID
AND EXP.IT_DOM_ID = DOM.DOM_ID
AND BA_NAME = :BA_NAME
AND DOM_NAME = :LOV_NAME
ORDER BY 2,3;
Best wishes
Michael

Similar Messages

  • How to find folders that dont return any results

    Hi experts
    Is there a quick way to do this, such as querying the EUL5 tables?
    Cheers
    Tim

    Hi Tim
    When you say folders that don't return results, do you mean queries using those folders and getting no values?
    If so, then yes there is a way to do this but only if you have enabled the gathering of statistics. If you have this enabled and most shops do then every time a qurey is run the table called EUL5_QPP_STATS is updated.
    The following script will list out the worksheets and workbooks that have been run but returned 0 rows:
    SELECT
    QPP.QS_DOC_OWNER                 WORKBOOK_OWNER,
    QPP.QS_DOC_NAME                  WORKBOOK_NAME,
    QPP.QS_DOC_DETAILS               WORKSHEET_NAME,
    QPP.QS_CREATED_BY                RUN_BY,
    TRUNC(MAX(QPP.QS_CREATED_DATE))  LAST_USED_DATE,
    COUNT(QPP.QS_ID)                 TIMES_USED
    FROM
    EUL5_QPP_STATS QPP
    WHERE
    QPP.QS_CREATED_DATE >= ADD_MONTHS(SYSDATE, -18) AND
    QS_NUM_ROWS = 0
    GROUP BY
    QPP.QS_DOC_OWNER,
    QPP.QS_DOC_NAME,
    QPP.QS_CREATED_BY,
    QPP.QS_DOC_DETAILS
    ORDER BY 1,2,3;
    If this helps then the following script will decode QPP_STATS and show you the fields that were used:
    SELECT
    QS.QS_DOC_OWNER    USER_NAME,
    QS.QS_DOC_NAME     WORKBOOK,
    QS.QS_DOC_DETAILS  WORKSHEET,
    TRUNC(QS.QS_CREATED_DATE) DOC_DATE,
    *(LENGTH(TO_CHAR(EUL5_GET_ITEM_NAME(QS.QS_ID)))+1)/9 ITEMS,*
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),1,  6)) ITEM1,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),10, 6)) ITEM2,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),19, 6)) ITEM3,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),28, 6)) ITEM4,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),37, 6)) ITEM5,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),46, 6)) ITEM6,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),55, 6)) ITEM7,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),64, 6)) ITEM8,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),73, 6)) ITEM9,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),82, 6)) ITEM10,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),91, 6)) ITEM11,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),100,6)) ITEM12,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),109,6)) ITEM13,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),118,6)) ITEM14,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),127,6)) ITEM15,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),136,6)) ITEM16,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),145,6)) ITEM17,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),154,6)) ITEM18,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),163,6)) ITEM19,
    EUL5_GET_ITEM(SUBSTR(EUL5_GET_ITEM_NAME(QS.QS_ID),172,6)) ITEM20
    FROM
    EUL5_QPP_STATS QS
    WHERE
    *(LENGTH(TO_CHAR(EUL5_GET_ITEM_NAME(QS.QS_ID)))+1)/9 < 21*
    AND QS.QS_CREATED_DATE > '01-JAN-2010'
    AND  QS_NUM_ROWS = 0;
    To make this work you need to have executed the SQL called EUL5.SQL which you'll find here: C:\Oracle\BIToolsHome_1\discoverer\util on the machine where Administrator is installed. You'll need to run it as the owner of the EUL. If you have already installed the pre-confgured EUL statistics business areas from Oracle then this script will already have been run.
    Best wishes
    Michael

  • Finding objects that use certain colors in the palette

    My document has RGB colors imported from the Word document. I'd like to be able to find the objects that are colored with these imported colors. Is there a way to sort and find objects based on color?

    That's a little tricky. How do you prove a negative, as it were? You can do an object-based find/change, but only for for things you define, so for example you acan find all objects that DO have a certain color fill, but it won't find anything that doesn't match the criteria.
    It might be possible to script a solutuion that would step through all objects and compare them to a list of criteria, then list the ones that don't match.

  • Help! - JRE can't find classes that use inner classes!

    Whenever I try to launch an app using the JRE, if the class was built with an inner class definition, the JRE says it can't find the class.
    For instance:
    I created a class called GUI, which contains anonymous inner class definitions for the button handlers: addActionListener(new ActionListener()){, etc. 
    When I compile this class I get GUI.class and GUI$1.class
    When I try to launch this using the JRE:
    jre -cp c:\progra~1\myApps GUI
    The JRE spits out
    'Class not found: GUI'
    BUT if I go back and remove the action handlers so that the only compiled class file is GUI.class (not GUI$1.class) then the JRE can find the class no problem.
    What in the good Lord's name is going on here?

    Thanks for the response. Got the 1.2.2 version of the JRE, where I guess you no longer invoke jre.exe (no such file exists) but java.exe instead (not well documented).
    Also, the newer version of the JRE has no problems locating classes, so I guess I'm OK.

  • Find all symbols that use a class?

    Is there a way to search for symbols by the class they are using? I have a large project, and at times (specifically when refactoring) doing this would be very useful.
    Anyone know?

    Perhaps I should be a little more clear, im talking about from within the CS5 editor, not class reflection.
    Basically in the Symbol list, you can search by symbol name. You can also search by linkage name from the menu. I dont see a way to search by what classes are using what symbols, which is crazy useful when you want to refactor somthing.

  • Automatically finding folders that have been moved?

    (LR 1.3.1 on WinXP)
    I used to have My Pictures\yyyy-mm-dd-topic as my directory structure, and to aid in backups, added a new intermediate level diretory for the year, and moved all the folders for a given year into that year's folder. Using Explorer.
    The image folders are now one level lower although the folder names have not changed: My Pictures\yyyy\yyyy-mm-dd-topic. LR of course cannot find them which I expected.
    Is there a way to get LR to find the folders again, given a hint somehow?
    Adding a simple image at one of the new roots (My Pictures\2006\test.jpg) and importing that, did not result in the "2006-mm-dd-topic" subfolders being re-found.
    Thanks,
    Andy

    - Right-click the top-most level missing folder
    - Choose Locate Missing Folder
    - Navigate to the new location and select that folder
    - Click OK
    Lightroom will then go through the process of reconnecting to all the files and subfolders within that folder. Repeat for any remaining red folders not inside of that folder.

  • Is there a site to find printers that use a specific ink cartridge?

    I currently own a Canon MP640R printer that I LOVE, unfortunately, it is done for and I just purchased a ton of cartridges for it.  Is there a site where I can see what other printers take the same cartridges?  I have decided that of all the printers that I have had, I really like the durability of the canon and would like to purchase another one, but don't see letting all these cartridges go to waste.
    Thanks,
    Donna
    Donna L Spradlin

    Welcome andspradin!
    Another person had a very similar question to you a while back.  The trick I've found is that if you go to Canon's online store and look up the ink cartridge, it will list the compatible printers.
    Hope that helps!

  • Using a class or servlet that implements Serializable

    Hello everyone,
    Can someone please help me. I need to make a program that uses a class or servlet that implements Serializable and then use the values of the variables in servlets.
    The first is using it to validate login. then changing the color of the background, header and footer of each servlet.
    the variables in the Serialized file are all Strings for color, username, password, header text and footer text.
    I tried using the applet tag to run the class in the servlet but it is not working.

    It's not working because you seem to be making random guesses what servlets, serialization and files are

  • Can I find a theme that uses a color I choose?

    I can't figure out how I can find themes that use a color I have selected.  I would like to browse available themes based on a starting color I choose, is this possible?

    You can search for themes with certain colors using HEX value of color as search keyword. For e.g: Search for HEX:94090D will get you all themes using 94090D color.
    However, search with color as starting point is not possible.

  • Item Class removed during import of EEX

    I have amended the SQL for a custom folder and this custom folder has one item class and is joined to two other folders. In my export I have included the BA, the three folders and the item class. When I import this EEX to a support environment the item class is deleted. If then import the EEX a second time the item class is recreated.
    Has anyone seen this behaviour before? Is there any way to resolve/prevent this? I don't believe the export strategy is at fault as I have migrated 100's of objects in this manner. What is most strange is that the item class clearly exists in the EEX as it is creating it on the second import.
    I am using the Refresh object: preserve display related properties option and objects are being matched by identifier. These are the standard choices for all our migrations.
    Thanks,
    Nic

    Hello Nic
    I frequently need to import EEX files a second time and do it regularly. This is because of a round-robin scenario where item classes are shared between folders. So if folder A is imported before folder B and the item class is driven from folder B it will not be attached to the items in folder A. If I now do the import a second time then because the item class already exists when folder A is iimported the system sees that the LOV is there and hooks it back in.
    Hope this behind the scenes explanation and Rod's previous posting help.
    Best wishes
    Michael

  • Class using another class access

    I'm sure this is not difficult, but finding the answer has been quite elusive for me. I'd like to start simple. I have two classes, Place and Address that look like this:
    public class Address{
       private String street;
       private String town;
      ...some other address stuff
       public void setStreet(String streetname) {
         this.street = streetname;
    public String getStreet() {
         return this.street;
    ...same f or town and others
    }//end of Address class
    Now I have the Place class:
    public class Place {
       private String name;
       private Address address **here begins my questionsI currently have the private address declaration as:
       private Address address = new Address();1. Is this Address address declaration correct, or should it be different?
    2. Do I, create setAddress and getAddress methods in the Place class, and if so, so they just use the object 'address', i.e. 'return address;' ?
    After I understand how to do these two things, I need help in accessing the address parts, like street and town, from a third class, the PlaceTest class which has a 'main' method.
    Thanks in advance for your help.

    Check out this as a for-instance. Here is a sample Address class
        class Address
            private String street;
            private String town;
            private String state;
            private String zip;
            public Address(String street, String town, String state, String zip)
                this.street = street;
                this.town = town;
                this.state = state;
                this.zip = zip;
            public void setStreet(String street)
                this.street = street;
            public String getStreet()
                return street;
            @Override
            public String toString()
                return street + ", " + town + ", " + state + ", " + zip;
        }And here is a Place2 class that uses Address
    class Place2
        private Address address;
        public Place2() {}
        public Place2(Address address)  // <== **** here I'm passing an addresss param
            this.address = address;
        public void setAddress(Address address) // <== **** and here too
            this.address = address;
        @Override
        public String toString()
            return address.toString();
        public static void main(String[] args)
            Place2 myPlace = new Place2(
                new Place2().new Address("100 Main St", "AnyTown", "IL", "60022"));
            System.out.println("My address is: " + myPlace);
            // let's change the address:
            Address address2 = new Place2().new Address("123 First St", "Podunckville", "State of Confusion", "10101");
            // then pass this address to myPlace
            myPlace.setAddress(address2);
            // then show it
            System.out.println("My new address is: " + myPlace);
    }

  • Converting an application that uses COM to 64bit.

    I have a legacy application that uses COM classes for Direct Show.  I would like to find out if there are any differences between using COM for 32bit and 64bit applications as the plan is to convert this to a 64bit application.
    The main application is C#, and this uses P/Invoke on a C++ DLL. That C++ DLL then uses the COM classes.
    All of this is built in a VS2008 solution.

    Hi AcclaimedSoftware,
    Based on my knowledge, On 64-bit Windows, You can run Win32-based applications on 64-bit Windows due to emulation layer. And On 64-bit Windows, a 64-bit process cannot load a 32-bit dynamic-link library (DLL). Additionally, a 32-bit process cannot load
    a 64-bit DLL. More information read here: 
    Process Interoperability
    It seems that you need to work wiht a 64-bit windows and develop a 64-bit application, Please refer to these document for some tips:
    Getting Ready for 64-bit Windows
    Designing 64-bit-Compatible Interfaces
    Migration Tips
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using LabView class in multiple projects

    Hello,
    I have created a LabView class that I'd like to use in multiple projects while using source control (we use Serena for this) with the source files of the class in a centralized location (not seperately for each project as I don't want the code of the class to diverge in the different projects). Now I'm wondering what is the best way to accomplish this. I see a couple of different possibilities:
    - Have the class VIs at a certain location in the repository and link to all the files from the other projects in the repository. This will mean I will have all the files in all the project folders on disk but only one archive in the repository for them as they all link to the same location. Problem: Serena cannot create links to folders, so every VI has to be linked and if the structure of the class changes or VIs, the links have to be updated in each project -> not very nice
    - Have the class VIs at a certain location in the repository that will be checked out to a certain path on the local hard drive and add the class VIs to the projects from this fixed path. Problem: it's not guaranteed that the path will be the same on all computers. Some team members might check out to a different location -> bad solution
    - Use a .llb file that is also in the repository and create links to it from the different projects, i.e. the source files will only exist at one location on the hard drive but in every project folder there will be an .llb-file that will come from a single archive in the repository -> actually my favourite solution. Problem: I use the VI Server to call VIs by relative path inside the class and this works differently inside the .llb, since there seems to be no folder structure anymore. If there was a good workaround for this, this might be the best solution
    Does anybody have experiences on how to do something like this? Are there other possibilities to do it?
    Thanks,
    Tobias

    Hi,
    thanks for your reply.
    I think I have to make my question a little clearer. Say I have a class ClassA that uses some VIs that are in the same folder (or subfolders) as the class file. Now I put all of this in an SCC repository at the path /SCC/ClassA/. Now I have two projects that use this class and are located in the SCC repository at /SCC/Project1/ and /SCC/Project2/. Now some people might check out /SCC/ to c:/Projects, other people might check it out to d:/SCC so the absolute paths of the resulting files on the disks could be different. This makes it hard to add ClassA to both projects because on one computer the path to it would be c:/Projects/ClassA/<ClassName> on the other it would be d:/SCC/ClassA/<ClassName>. A common solution for this that we use for C++ projects is to create links inside the SCC, link the source files or a DLL inside the SCC to the /SCC/Project1/ and /SCC/Project2/ folders. This will create multiple copies of the DLL on the harddisk, one in the Project1 folder and one in the Project2 folder.
    Another solution might be the one you proposed, to have the sharde files inside the <LabVIEW> folder. However there are a couple of downsides to this, as far as I can see:
    - It won't work for people who don't have local admin rights (and actually having to change the files inside the "Program files" folder for development is not a good idea, imho)
    - It makes it quite hard to guarantee that both the projects and the shared files are always the same version (for example if I want to build an older version of Project1 I might need an older version of the ClassA, too. If I have it all inside one project in SCC, I can just get an older label to some folder and build it. If I have the shared files in the <LabVIEW> directory, I will have to replace this. There is no way to have multiple versions (older and newer) parallely on the disk in different folders. 
    Tobias

  • Detecting when exception was thrown using custom class loader

    Hello all,
    I would like to implement the solution described here - http://stackoverflow.com/questions/75218/how-can-i-detect-when-an-exceptions-been-thrown-globally-in-java - that uses custom class loader in order to detect when an Exeption thrown somewhere in the JVM hosting my app, please note that exceptions might be thrown from 3rd party jars the app is using. So, thanks to help I got from another post, I've managed to code the custom class loader. My question is how can the class loader wrap the original exception, as the methods in ClassLoader deals with classes, not instances. So where should I set the original exception?
    Thanks!
    Edited by: user9355666 on Sep 28, 2010 10:48 PM

    user9355666 wrote:
    I think I'm missing something fundumental, forgive me for being slow...
    This is what I did so far. For the exception wrapper I made a simple class extens Exception that recieve Exception in its ctor and store it. I also subclassed ClassLoader and override its loadClass(). I've registered it as the system classloader. My thinking was to check in that point that if the requested class is instance of Exception and if yes, returning my wrapper class wrapping this exception. But, since loadClass() return class, how can I set in the wrapper the original exception?
    In addition, let's say 2 different places in the code throws NPE, to my understanding the classloader will load NPE only once, so how throwing the NPE in the second time can be detected?you are missing a key point. you should creating a custom implementation of the NPE class which hooks into your detection code in its constructor. from that point forward, anytime any NPE (which is your custom class) is constructed, you can detect it.

  • Bonuses of EJB creating server that uses TCP/IP to read/write to hosts

    I have created just Java application(not EJB) that uses Socket classes to communicate(read/write) via TCP/IP with connected clients.
    I'm new in EJB technology. I have read about 150 pages of different EJB and AppServer manuals but haven't yet found any bonus of EJB for my task. What bonuses could I get if I will remake application as EJB? Please describe advantages in good explained examples.

    You can make an empty server only with tpsvrinit that starts your client
    listeners and a tpsrvdone that stops them. Be carefull with sharing ipcs
    between processes, or your clients may get puzzled!!!
    Another choice can be builting a custom WSL/WSH but I haven't done
    this yet and I don't know exactly the troubles related with making them.
    R.G.
    Travis Ward wrote:
    How would you interface a tuxedo app with another application that
    uses tcp/ip socket messaging? I have a vendor product that offers
    a tcp/ip message interface, and would like to know how best to
    integrate it into a tuxedo application. I could write a C application
    that listens and accepts incoming request from the vendors application,
    and then make a tuxedo client call to a service. But this doesn't
    allow me to control the listen thread through tuxedo. The C application
    would have to be started seperately and would not take advantage
    of the tuxedo restart facilities etc of a tuxedo service.

Maybe you are looking for

  • OAM search not working

    We are unable to search users from OAM. The search request just keep going on for ever. Searching directlly from OID or OVD works fine. We have OAM 10.1.4.3 -> OVD -> OID. Here is the log from OAM. 2011/03/14@14:44:10.714159 2806 2806 LDAP DEBUG3 0x0

  • Is the meta data in google search engine changeable?

    Hi there, I have made a website using iweb, published with mobile me and using web forwarding. The website when seen in google comes up with the following meta data to describe the site: GALLERY shapeimage10_link0. ABOUT shapeimage11_link0. HIRE shap

  • Amazon Prime on Apple TV

    I have a Prime account with Amazon.  I've been watching some shows the past week with no problem through my 4S running 7.1.  Last night the connection to Apple TV kept dropping.  It must have happened at least six to eight times for no reason at all.

  • How do I get a better dictionary to come up when I look up words?

    On my iPhone 4 when I look up a word it only shows a bare minimum definition.  Is there a way to get it to look up a more thorough defintion?  Is there some app that will link the look up to a better dictioary? Thanks

  • On a Mac-to-Mac network I can't see the other Mac in the finder

    Hi there! On a Mac-to-Mac network both Mac connect to the same network. However, after activating the file sharing both Mac's don't show in the Finder of the other. Can anybody help? Thanks. Tom