Query Folders

Hi,
I am trying to retrieve a collection of folders and process any Query Folders that exist among them.
Right now, I am retrieving a folder named "Actions" that resides in the Cabinet folder, and then getting a list of subfolders under the "Actions" folder.
I am unable to cast the folder object in the getFolderListResponse object as QueryFolders. In addition, the Folder class seems to be missing a way to determine the type of each of the folders in the collection. (Oddly, there is are "type" and "folderType" members in the QueryFolder and SystemFolder classes, but if I have a QueryFolder or SystemFolder object, I already know the type, so they don't help...)
What's the best way to retrieve query folders and modify/process their query objects and targets?
Thanks.
--sk.

Sorry, I can't recreate the problem.
When you look at the folders using the GroupWise Client,
are the "Authored" and "Default Library" under the
"Documents Library" folder (as well as you normal folders)?
I'm able to see the query folders, plus the normal folders.
>>> On Monday, August 24, 2009 at 1:46 AM, Reji
s<[email protected]>
wrote:
> Good day,
>
> When I check the SOAP Trace everything is pretty normal but, query
> folders are just not retrieved, on the getFolderListRequest they are not
> even visible when I use groupwise 8, the SOAP trace looks normal it just
> looks like there are no queryFolders, it just skips them. this trace is
> the Document Folder and it is supposed to get two query folders that are
> "Authored" and "Default Library" and tow normal folders but it just
> displays the two normal folders I created.
>
> SOAP Trace for getFoldersRequest
>
> Request:
> ‑‑‑‑‑‑‑‑‑‑‑‑‑
>
> <SOAP‑ENV:Envelope
> xmlns:SOAP‑ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:SOAP‑ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:ns3="http://schemas.novell.com/2005/01/GroupWise/types"
>
xmlns:ns6="http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl/GroupW
> iseBinding"
> xmlns:ns4="http://schemas.novell.com/2005/01/GroupWise/methods"
>
xmlns:ns7="http://schemas.novell.com/2005/01/GroupWise/groupwise.wsdl/GroupW
> iseEventsBinding"
> xmlns:ns5="http://schemas.novell.com/2005/01/GroupWise/events">
> <SOAP‑ENV:Header>
> <ns3:session>
> hVz4V90BIehMhI_e
> </ns3:session>
>
> </SOAP‑ENV:Header>
> <SOAP‑ENV:Body>
> <ns4:getFolderListRequest>
> <ns4:parent>
> 10.NetCB.NetCBPO.100.0.1.0.1@23
> </ns4:parent>
> <ns4:recurse>
> true
> </ns4:recurse>
> <ns4:imap>
> false
> </ns4:imap>
> <ns4:nntp>
> false
> </ns4:nntp>
>
> </ns4:getFolderListRequest>
>
> </SOAP‑ENV:Body>
>
> </SOAP‑ENV:Envelope>
>
>
>
>
> Response:
>
> <gwm:getFolderListResponse
> xmlns:gwm="http://schemas.novell.com/2005/01/GroupWise/methods"
> xmlns:gwt="http://schemas.novell.com/2005/01/GroupWise/types"
> xmlns:gwe="http://schemas.novell.com/2005/01/GroupWise/events">
> <gwm:folders>
> <gwt:folder xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xsi:type="gwt:Folder">
> <gwt:id>
> 4A925D92.NetCB.NetCBPO.100.1686637.1.1396.1@13
> </gwt:id>
> <gwt:name>
> CSS
> </gwt:name>
> <gwt:modified>
> 2009‑08‑24T07:30:15Z
> </gwt:modified>
> <gwt:parent>
> 10.NetCB.NetCBPO.100.0.1.0.1@23
> </gwt:parent>
> <gwt:sequence>
> 0
> </gwt:sequence>
>
> </gwt:folder>
> <gwt:folder xmlns:xsi="http://www.w3.org/2001/XMLSchema‑instance"
> xsi:type="gwt:Folder">
> <gwt:id>
> 4A925D80.NetCB.NetCBPO.100.1686637.1.1395.1@13
> </gwt:id>
> <gwt:name>
> SysDMS
> </gwt:name>
> <gwt:modified>
> 2009‑08‑24T07:30:15Z
> </gwt:modified>
> <gwt:parent>
> 10.NetCB.NetCBPO.100.0.1.0.1@23
> </gwt:parent>
> <gwt:sequence>
> 1
> </gwt:sequence>
>
> </gwt:folder>
>
> </gwm:folders>
> <gwm:status>
> <gwt:code>
> 0
> </gwt:code>
>
> </gwm:status>
>
> </gwm:getFolderListResponse>
>
> </SOAP‑ENV:Body>
>
> </SOAP‑ENV:Envelope>
>
>
> Any help will be greatly appreciated,
>
> Reji.

Similar Messages

  • Query Folders in Browser Java Error

    my Query Folders do not work in browser interface, giving the following error message
    Content Server Request Failed
    Unable to execute service method 'getMaxCollectionDisplayRows'. (System Error: Runtime error: java.lang.NullPointerException
    at collections.CollectionUserHandler.getMaxCollection DisplayRows(CollectionUserHandler.java:5211)
    at sun.reflect.GeneratedMethodAccessor50.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(Class HelperUtils.java:466)
    at intradoc.common.ClassHelperUtils.executeMethodRepo rtStatus(ClassHelperUtils.java:142)
    at intradoc.server.ServiceHandler.executeAction(Servi ceHandler.java:77)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction (ServiceRequestImplementor.java:1353)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doAction s(ServiceRequestImplementor.java:1194)
    at intradoc.server.Service.doActions(Service.java:447 )
    at intradoc.server.ServiceRequestImplementor.executeA ctions(ServiceRequestImplementor.java:1114)
    at intradoc.server.Service.executeActions(Service.jav a:433)
    at intradoc.server.ServiceRequestImplementor.doReques t(ServiceRequestImplementor.java:635)
    at intradoc.server.Service.doRequest(Service.java:170 7)
    at intradoc.server.ServiceManager.processCommand(Serv iceManager.java:359)
    at intradoc.server.IdcServerThread.run(IdcServerThrea d.java:197))
    [ Details ]
    The service stack for this request is
    --COLLECTION_DISPLAY (**no captured values**)
    java.lang.NullPointerException
    at collections.CollectionUserHandler.getMaxCollection DisplayRows(CollectionUserHandler.java:5211)
    at sun.reflect.GeneratedMethodAccessor50.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(Class HelperUtils.java:466)
    at intradoc.common.ClassHelperUtils.executeMethodRepo rtStatus(ClassHelperUtils.java:142)
    at intradoc.server.ServiceHandler.executeAction(Servi ceHandler.java:77)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction (ServiceRequestImplementor.java:1353)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doAction s(ServiceRequestImplementor.java:1194)
    at intradoc.server.Service.doActions(Service.java:447 )
    at intradoc.server.ServiceRequestImplementor.executeA ctions(ServiceRequestImplementor.java:1114)
    at intradoc.server.Service.executeActions(Service.jav a:433)
    at intradoc.server.ServiceRequestImplementor.doReques t(ServiceRequestImplementor.java:635)
    at intradoc.server.Service.doRequest(Service.java:170 7)
    at intradoc.server.ServiceManager.processCommand(Serv iceManager.java:359)
    at intradoc.server.IdcServerThread.run(IdcServerThrea d.java:197)
    Do you have any idea, what could be the reason?
    In the Oracle Admin_folders_webdav10 guide the only mentioning of folders says: "Query folders are supported only for use with Check Out and OPern, and not for other purposes." So then I realised that they are acturally working from virtual folder interface (file system). I didn't find anywhere an answer so far, is that normal that they do not work on web interface.
    And another problem I had encountered, when setting the query folders was that those fields that are part of global rules do not appear on the query form at all ( when configuring the query folder).
    And one more unpleasant thing is in the query folder itself, the name of the file starts with "[dContentID]FileName" , do you know if there is a way to get rid of this [dContentID].
    Thank you a lot!

    Hi,
    I have the same problem, still no solution. Appeared since 10.5.8 update.
    Flavio

  • No reports are visible in ConfigMgr 2012 R2 console but in visible in SSRS report manager

    I'm installing ConfigMgr 2012 R2 with SQL server R2 SP2 in my lab environment. Everuthing went fine until i stumped upon a problem where the reports are not visible in Admin console but are visible in IE
    I've gone through all the pre requisites and everything looks good.
    The installation went fine and no errors in srsrpsetup.log and srsrpmsi.log
    Reports are returning values while i'm running through IE
    changed the AdminUIlog level to verbose and found the below error whenever i refresh the reporting node.
    [44, PID:10712][12/20/2013 04:16:39] :Console query 'AllReports' started
    [44, PID:10712][12/20/2013 04:16:39] :SRSQuery: Executing query [AllReports] - [/ConfigMgr_LAB]
    [44, PID:10712][12/20/2013 04:16:39] :[sccm.lab.local] : The request failed with HTTP status 503: Service Unavailable.
    [44, PID:10712][12/20/2013 04:16:39] :[sccm.lab.local] : The request failed with HTTP status 503: Service Unavailable.
    [12, PID:10712][12/20/2013 04:16:39] :Actions returned from cache for node 'msscnav://root/Windows/Wunderbar/ConsoleDisplay/MonitoringNode/MonitoringNodeOverview/ReportingRootNode/ReportsNode'.
    Any ideas ?
    Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. Delphin

    Thank you Garth, I can access the reports from other hosts as well.
    Yes ,Newly created admins can see all the reports
    I've gone through the event logs and nothing related to SSRS.
    I dont think it's a FQDN issue, bcoz ican see in the logs the that the admin console successfully connected to reporting service. Only while retreiving the reports it throws error
    [10, PID:3172][12/23/2013 06:13:23] :[ReportProxy] - Discovered reporting services point - 'sccm.lab.local'.
    [10, PID:3172][12/23/2013 06:13:23] :[ReportProxy] - Root folder name is 'ConfigMgr_LAB'.
    [12, PID:3172][12/23/2013 06:13:23] :[ReportProxy] - Connected to Reporting Services [MSSQLSERVER] - [http://sccm.lab.local/ReportServer], on machine [sccm.lab.local]
    [20, PID:3172][12/23/2013 06:13:23] :[ReportProxy] - Connected to Reporting Services [MSSQLSERVER] - [http://sccm.lab.local/ReportServer], on machine [sccm.lab.local]
    [20, PID:3172][12/23/2013 06:13:23] :SRSQuery: Executing query [Folders] - [/ConfigMgr_LAB]
    [12, PID:3172][12/23/2013 06:13:23] :SRSQuery: Executing query [Folders] - [/ConfigMgr_LAB]
    [12, PID:3172][12/23/2013 06:13:23] :SRSQuery: Retrieving folders in path [/ConfigMgr_LAB].
    [20, PID:3172][12/23/2013 06:13:23] :SRSQuery: Retrieving folders in path [/ConfigMgr_LAB].
    [10, PID:3172][12/23/2013 06:13:23] :[ReportProxy] - Connected to Reporting Services [MSSQLSERVER] - [http://sccm.lab.local/ReportServer], on machine [sccm.lab.local]
    [10, PID:3172][12/23/2013 06:13:23] :SRSQuery: Executing query [AllReports] - [/ConfigMgr_LAB]
    [10, PID:3172][12/23/2013 06:16:28] :[sccm.lab.local] : The request failed with HTTP status 401: Unauthorized.
    [12, PID:3172][12/23/2013 06:16:28] :[sccm.lab.local] : The request failed with HTTP status 401: Unauthorized.
    [20, PID:3172][12/23/2013 06:16:28] :[sccm.lab.local] : The request failed with HTTP status 401: Unauthorized.
    [10, PID:3172][12/23/2013 06:16:28] :[sccm.lab.local] : The request failed with HTTP status 401: Unauthorized.
    and as you can see, it gives me "HTTP status 401: Unauthorized." instead "HTTP status Unnavailable".
    Yes, i'm not a fan of accessing reports via console, but i dont want to leave an issue unresolved.
    Kindly mark as answer/Vote as helpful if a reply from anybody helped you in this forum. Delphin

  • Managing content expiration.

    Hi everybody!
    I am in charge of develop a solution that manages content expiration based on a sort of categories.
    I am thinking to do the tasks below:
    1- Creating a table in the configuration manager UCM applet and populate this table all category and expiration times.
    2- Creating a view that will look for the category table
    3- Define this view as a combobox in the check-in form. So, users can choose which category a content belongs to.
    4- After calculation, expiration date will be set in dOutDate CHECKIN optional parameter.
    Lately, some developers came up with the argument that I could use URM or IRM to manage content expiration.
    I'd like to know if my idea is appropriate or it's possible to use URM or IRM to accomplish the task.
    Thanks
    José.
    Edited by: José Márcio Teixeira Júnior on 27/03/2013 17:56

    First of all, I think you should approach your requirement from business, or compliance side, not from its technical implementation.
    If I read between lines correctly, you want to automate expiration of content (by setting expiration date) based on rules in a custom table (and most likely also the date of its ingestion). If you requirement is really that simple, you may go easily with the functionality of the new component Framework Folders, which introduced Folders Retention - see http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c08_folders.htm#BCFEHCDJ
    Note that retention folders are query folders, i.e. rather "assign" a folder to an item, you can create a query - an item can correspond to several queries at once. And retention rules are a bit more flexible (you may retain x last revisions rather than delete everything, it works with the concept of "fiscal year". etc.)
    Records Management (URM, I'd forget about IRM for this case) will be more formal and more complex to setup:
    a) it will ensure that content will not be deleted earlier
    b) it will keep audit
    c) disposition rules can be even more flexible
    d)it minds exceptions (so-called "freezes")
    etc.

  • Question on Dynamic Query Data Source and Form Folders in Oracle Forms 6i

    Hi there -
    I have one interesting requirement in Oracle Forms.
    This is what I wanted to do.
    1. Have a LOV and Go button on Form.
    2. From LOV, I will select a pre-defined custom table and click Go.
    3. Based on the selected custom table, I have to populate the Block (Tabular Format).
    4. User should be able to do update, delete, insert on this block.
    5. User should be able to use the Oracle Form folders functionality (select only necessary column and save views etc. Std folder functionality).
    6. If user selects a different custom table name in the LOV on top, I need to refresh the data from the block based on this new table. Remaining functionality should be as it is (steps 3 to 5).
    You can see here, I am going to have dynamic query data source (Table Name as well as column mapping) on the block. I do not know before hand how many columns the user selected table has!
    This is what I have planned for this so far but I have some major questions before I can move on with this design:
    1. I am going to create a table structure with fixed number of column in form (40 cols assuming that the custom table will not have more that 40 cols). (Kind of limitation but it's okay as of now).
    2. Dynamically populate the block based on the table name selected by the user from LOV. Dynamically change the table column names based on the table selected etc.
    3. Perform insert, update, delete using PL/SQL package.
    So far it looks okay.
    Now my real question is,
    Can user still be able to user "Folders" functionality here? I have never done this kind of development before and I doubt the dynamic column naming, dynamic column data source will really work for "folders"!
    Also, I am not really sure whether user will be able to save these "folder" queries?
    Okay so form experts, can you ppl suggest me if this is really going to work? Are there any better ways to do this?
    Initially I tried to do this in OA Framework but I got stuck at because as per OAF developer guide "I cannot user OAF personalization for dynamic items, regions etc".
    For more info on that thread see this link...
    Re: setUserCustomizable issue!
    Thanks in advance for the help.

    Any suggestion anyone?

  • SQL Query to get the # of files in folders in a library

    Anyone has the SQL query to list the number of files in each folders in a SharePoint library?

    Technically it's a grey area of support as MS don't mind you doing it but won't help you if you encounter problems, the script is much better though.
    Scratch that, the script isn't that good. It's using .items which won't work on large lists and is slow. The version below is untested but should be significantly faster and work on large lists.
    $starttime = Get-Date
    #Creating new site object
    $siteurl = Read-Host "Enter the name of your site and press enter"
    $site = New-Object Microsoft.SharePoint.SPSite($siteurl)
    #Assigning all webs (sites) to $webs
    $webs = $site.Allwebs
    #System Libraries defined so they won't be touched##
    $systemlibs =@("Converted Forms", "Customized Reports", "Documents", "Form Templates",
    "Images", "List Template Gallery", "Master Page Gallery", "Pages",
    "Reporting Templates", "Site Assets", "Site Collection Documents",
    "Site Collection Images", "Site Pages", "Solution Gallery",
    "Style Library", "Theme Gallery", "Web Part Gallery", "wfpub")
    Write-Host "Total number of webs that will be traversed: " $webs.count
    $DocLibsCount = 0
    $DocLibwItems = 0
    $totalitems = 0
    $subfolderitems = 0
    foreach($web in $webs)
    $listcoll = $web.lists
    foreach($list in $listcoll)
    if($list -eq $null)
    Write-Host
    else
    $base = $list.GetType()
    if($base.name -eq "SPDocumentLibrary")
    if ($systemlibs -contains $list)
    { continue}
    else
    $DocLibsCount += 1
    $totalitems += $List.itemcount
    $name = $list.Title
    $folders = $web.GetFolder($name).SubFolders
    for($etr = 0;$etr -lt $folders.count; $etr++)
    if($folders[$etr].Name -ne "Forms")
    Write-Host "Processing SubFolder ItemCount" -ForegroundColor Red
    $tempcount = $folders[$etr].ItemCount
    $subfolderitems += $tempcount
    Write-Host
    Write-Host
    Write-Host "Total # of Document Libraries: " $DocLibsCount -ForegroundColor Green
    Write-Host "Total # of Document Libraries that contain items: " $DocLibwItems -ForegroundColor Green
    Write-Host "Total # of items: " $totalitems -ForegroundColor Green
    Write-Host "Total # of items in DocLib\Subfolders: " $subfolderitems -ForegroundColor Green
    $finishtime = Get-Date
    Write-Host
    Write-Host “Script Duration” –ForegroundColor Yellow
    Write-Host “Started: “ $starttime –ForegroundColor Yellow
    Write-Host “Finished: “ $finishtime –ForegroundColor Yellow
    Stop-SPAssignment -Global

  • Query to get a listing of all folders and joins in EUL

    If anybody has a query that provides a listing of all folders and joins between those folders in a Discoverer EUL, can you please share it.
    Any help would be greatly appreciated.

    Hi
    As Rod commented you won't get an accurate listing going through XREFS. You need to look in the statistics table, EUL5_QPP_STATS where you will find a history of all worksheets that have been executed. Unfortunately the item columns in EUL5_QPP_STATS are encoded so you will need some special SQL to uncode them.
    First of all you will need to have installed the EUL extensions which can be found in the script called EUL5.SQL (located in the Discoverer\Util folder where Admin is installed) when logged in as the owner of the EUL. Theh try running this script, altering the data switch to a suitable date:
    SELECT
    QS.QS_DOC_OWNER    USER_NAME,
    QS.QS_DOC_NAME     WORKBOOK,
    QS.QS_DOC_DETAILS  WORKSHEET,
    TRUNC(QS.QS_CREATED_DATE) EXECUTION_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-2009'
    Best wishes
    Michael

  • Query Reports in Public Folders (No Favorites)

    Hello,
    trying to query all Reports in BOXI 3.1 (Webi and Crystals) in public folders and excluding all Reports in the Favorites area ..
    Will be Thankfull for any related tipps .. Thanks
    This is my Query without limitation for public folders ..
    SELECT  SI_NAME FROM CI_INFOOBJECTS WHERE SI_Instance = 'FALSE' and
    SI_KIND IN ('CrystalReport','Webi')
    order by SI_NAME

    hi,
    Try to find the CUID of MY Favourites folder in InfoView.
    Right Click 'My favourites' -> properties.
    Note down the CUID of that folder.
    For e.g. CUID is 'CQESAAAA9FZpPn7XfU2Ust.ltEwspg'
    In Query Builder, Type the following query
    SELECT  SI_NAME FROM CI_INFOOBJECTS WHERE SI_Instance = 'FALSE' and
    SI_KIND IN ('CrystalReport','Webi')
    and not(SI_PARENT_FOLDER_CUID ='CQESAAAA9FZpPn7XfU2Ust.ltEwspg')
    order by SI_NAME
    Now you will get Public folders but not My Favourites.
    Regards,
    Vamsee

  • Need sql query to find out Joins attached with folders in Discoverer

    Hi,
    Can anyone let me know the sql query which can be used to identify the joins which are attached to the folders.
    Actually we have to identify all the joins conditions from folders those are migrated from one instance to others.
    Thanks
    abhishek

    I recommend that you implement the admin EUL supplied by oracle, you can get there a lot of repository information (metalink note: 556932.1).
    Try to use this (maybe you will need some pkg's):
    SELECT
    DECODE(KEYS.FK_MANDATORY,
    1,
    'Always exist in master folder',
    'Might not exist in master folder') "Detail Item values",
    EUL10G_US.EUL5_GET_JOIN(EXP.EXP_ID, 'N') "Join Master --> Detail",
    KEYS.KEY_DESCRIPTION JOIN_DESCRIPTION,
    KEYS.KEY_DEVELOPER_KEY JOIN_IDENTIFIER,
    KEYS.KEY_NAME JOIN_NAME,
    DECODE(SUBSTR(KEYS.KEY_NAME, 1, 19),
    'AUTO_GENERATED_NAME',
    'Yes',
    'No') "AutoGen",
    DECODE(DECODE(SUBSTR(KEYS.KEY_NAME, 1, 19),
    'AUTO_GENERATED_NAME',
    'Yes',
    'No') ,
    'Yes',
    EUL10G_US.EUL5_GET_JOIN(EXP.EXP_ID),
    KEYS.KEY_NAME) "Actual Join Name",
    KEYS.KEY_UPDATED_DATE JOIN_LAST_UPDATE,
    DECODE(KEYS.FK_ONE_TO_ONE, 1, 'One to one join', NULL) "One to One join",
    DECODE(KEYS.FK_MSTR_NO_DETAIL,
    1,
    'Outer join on detail' || CHR(10),
    NULL) "Outer Join on Detail",
    DECODE(KEYS.FK_DTL_NO_MASTER,
    1,
    'Outer join on master' || CHR(10),
    NULL) "Outer Join on Master",
    DECODE(KEYS.FK_MSTR_NO_DETAIL,
    1,
    'Outer join on detail' || CHR(10),
    NULL) || DECODE(KEYS.FK_DTL_NO_MASTER,
    1,
    'Outer join on master' || CHR(10),
    NULL) ||
    DECODE(KEYS.FK_ONE_TO_ONE, 1, 'One to one join', NULL) "Optional Join Configurations",
    OBJ.OBJ_NAME "MASTER_FOLDER",
    OBJ_DETAIL.OBJ_NAME "DETAIL_FOLDER"
    FROM EUL10G_US.EUL5_OBJS OBJ,
    EUL10G_US.EUL5_EXPRESSIONS EXP,
    EUL10G_US.EUL5_KEY_CONS KEYS,
    EUL10G_US.EUL5_OBJS OBJ_DETAIL
    WHERE ((KEYS.KEY_ID = EXP.JP_KEY_ID) AND
    (OBJ.OBJ_ID = KEYS.FK_OBJ_ID_REMOTE) AND
    (OBJ_DETAIL.OBJ_ID = keys.KEY_OBJ_ID));

  • Need sql query to find out Joins attached with folders

    Hi,
    Can anyone let me know the sql query which can be used to identify the joins which are attached to the folders.
    We dont want to see those from front end(disc admin).
    Thanks
    abhishek

    abhishek - This is the Application Express forum. I have no idea what you are asking but it may need to be directed to a different forum.
    Scott

  • Query builder query to generate list folders for a group

    working on custom reporting application in Excel using SDK. have query for users and groups as follows:
    SELECT TOP 1000000 SI_EMAIL_ADDRESS, SI_FORCE_PASSWORD_CHANGE, SI_NAME, SI_ID, SI_USERGROUPS, SI_USERFULLNAME, SI_ALIASES, SI_DESCRIPTION, SI_LASTLOGONTIME, SI_CREATION_TIME, SI_PASSWORDEXPIRE FROM CI_SYSTEMOBJECTS Where SI_KIND='User'
    and then for each si_usergroups:
    SELECT SI_NAME FROM CI_SYSTEMOBJECTS Where SI_ID=" & GroupID
    For each group, we also need the corresponding folders that the group can access. What's this query?

    It's posted on my website:  [www.geocities.com/geekgurl7/sample_code.html].  Look at the BOEUserAudit application.  It contains code for getting the groups that have access to specific reports.  The technique is the same for folders.
    -Dell
    Edited by: Dell Stinnett on Dec 23, 2008 2:45 PM
    Edited by: Dell Stinnett on Dec 23, 2008 2:45 PM

  • Query to pull out Tables from Workbooks/Folders

    Hi,
    Do anybody have a query which helps to pull out tables which are used in the Workbook or folders, without opening the workbook or a folder ? Your earliest help is Appreciated.
    Thanks,
    Ashok

    Hi Farheen......
    Please try this........
    SELECT T0.HousBnkAct, T1.CardName, T0.PymCode, T0.DflAccount,
    T0.DflBranch, T0.BankCtlKey, T1.DocNum,T1.NumAtCard, T2.LineTotal, T2.Dscription,
    T3.Branch, T3.Street FROM OCRD T0 LEFT JOIN OPCH T1 ON T0.CardCode = T1.CardCode
    LEFT JOIN PCH1 T2 ON T1.DocEntry = T2.DocEntry LEFT JOIN DSC1 T3 ON
    T0.HousActKey = T3.AbsEntry WHERE T1.DocDate >='[%0]' AND T1.DocDate <='[%1]' AND T1.DocStatus = 'o' AND T0.PymCode = 'EFT'
    Regards,
    Rahul

  • Query For Retention Policy On All Folders

    I am looking for a way to query for the retention policy assigned to all user folders (per folder/per user). My client allows the user to set the folder retention policy per folder and would like to know how each user has that configured. This is for
    a 700 user environment. I know any CSV generated as output could have thousands of rows.
    thanks.
     

    You will have to use EWS for that. Here's an example (for 2013):
    $getRTResp=$exchangeService.GetUserRetentionPolicyTags()
    function GetTagName($tagGUID) {
    if (!$tagGUID) { return ($getRTResp.RetentionPolicyTags | ? {$_.Type -eq "All"}).DisplayName }
    foreach ($tag in $getRTResp.RetentionPolicyTags) {
    if ($tag.RetentionId -eq $tagGUID) { return $tag.DisplayName }
    $FpageSize =100
    $FOffset = 0
    $folderView = new-object Microsoft.Exchange.WebServices.Data.FolderView($FpageSize,$FOffset,[Microsoft.Exchange.WebServices.Data.OffsetBasePoint]::Beginning)
    $folderView.Traversal = [Microsoft.Exchange.WebServices.Data.FolderTraversal]::Deep
    $folderView.PropertySet = new-object Microsoft.Exchange.WebServices.Data.PropertySet(
    [Microsoft.Exchange.WebServices.Data.BasePropertySet]::IdOnly,
    [Microsoft.Exchange.WebServices.Data.FolderSchema]::DisplayName,
    [Microsoft.Exchange.WebServices.Data.FolderSchema]::ArchiveTag,
    [Microsoft.Exchange.WebServices.Data.FolderSchema]::PolicyTag,
    [Microsoft.Exchange.WebServices.Data.FolderSchema]::FolderClass);
    $oFindFolders = $exchangeService.FindFolders([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::MsgFolderRoot,$null,$folderView)
    foreach ($folder in $oFindFolders.Folders) {
    Write-host $folder.DisplayName "has Policy:" $(GetTagName $folder.ArchiveTag.RetentionId)
    Obviously, it needs some work, a loop for all 700 users, proper error handling, etc. But hopefully it illustrates the idea. For older versions, its a bit more work to get the Name of the tag, but you can also use Get-RetentionPolicyTag for that.
    Code adapted from:
    http://blogs.msdn.com/b/akashb/archive/2012/01/12/stamping-retention-policy-tag-on-items-using-ews-managed-api-1-1-from-powershell-exchange-2010-part-2.aspx
    http://blogs.msdn.com/b/mvpawardprogram/archive/2013/04/08/5-lesser-known-operations-in-exchange-web-services-on-exchange-2013.aspx

  • Query to derive number of children "folders/nodes" and children "line items" from a numbering sequence

    I am writing a query to determine some information from a work breakdown numbering structure (single column) and it is simple enough to describe, just not sure how to do it in code.  I am trying to determine for the parent items, how many children items
    that parent has and how many children folders are under that parent (think of something like a folder/file structure).  The numbering structure looks like this:
    1       
    1.1     
    1.2     
    1.2.1   
    1.2.2   
    1.2.3   
    1.2.3.1 
    1.2.3.2 
    1.2.3.3 
    1.2.4   
    1.2.5   
    1.2.5.1 
    1.2.5.2 
    1.3     
    I would like my query to return this information:
    WBS    ChildFolders ChildLineItems
    1.1               0                      0
    1.2               2                      8
    1.3               0                      0
    Hope that makes sense!  

    I almost have this working in the following query in at least I figure out a way to tell how which ones were the folders and which were the line items with this query (sorry I have different WBS numbers than my example above:
    declare @wbs table (wbs varchar(max))
    insert @wbs select
    '1.1'     as wbs union all select
    '1.2'     union all select
    '1.2.1'   union all select
    '1.2.2'   union all select
    '1.2.3'   union all select
    '1.3'     union all select
    '1.4'     union all select
    '1.4.1'   union all select
    '1.4.1.1' union all select
    '1.4.1.2' union all select
    '1.4.2'   union all select
    '1.5.1' 
    select 
    x.wbs
    , CASE count(x.wbs) WHEN 1 THEN 'LineItem' ELSE 'Folder/Has Children' END as Description
    from
    @wbs x
    ,(select
    from @wbs w) as data
    where
    data.wbs like x.wbs + '%'
    group by
    x.wbs
    This give me these results:
    WBS Description
    1.1 LineItem
    1.2 Folder/Has Children
    1.2.1 LineItem
    1.2.2 LineItem
    1.2.3 LineItem
    1.3 LineItem
    1.4 Folder/Has Children
    1.4.1 Folder/Has Children
    1.4.1.1 LineItem
    1.4.1.2 LineItem
    1.4.2 LineItem
    1.5.1 LineItem
    I would just like to add the columns with the counts of ChildFolders and ChildLineItems like my example above.
    For example the results for 1.4 would look like this:
    WBS Description
    ChildFolders ChildLineItems
    1.4 Folder/Has Children
    1 3

  • SQL query to find all the custom folders in Discoverer (query posted)

    I know its not a question I am posting..this is just to inform community users that this query makes life easier in case someone wants to find out all the custom folders in a particular EUL (folder name starting with XX)
    select b.ba_name,f.obj_name folder_name,f.obj_id,f.obj_ext_owner Owner
    from
    APPS.EUL5_objs f
    , APPS.EUL5_ba_obj_links l
    , APPS.EUL5_bas b
    where 1=1
    and f.obj_id= l.bol_obj_id
    and b.ba_id= l.bol_ba_id
    and b.ba_name like 'XX%'
    order by b.ba_name,f.obj_name;
    Hopefully it would be useful to others!

    Connect as sysdba and try..
    To list all objects >100M in size.
    SQL> select owner, segment_type, segment_name, sum(bytes)/(1024*1021) from dba_segments
    group by owner, segment_type, segment_name
    having sum(bytes)/(1024*1021) > 100
    For tablespaces ..
    select tablespace_name, sum(bytes) tablespace_size
    from dba_data_files
    group by tablespace_name
    union all
    select tablespace_name, sum(bytes) tablespace_size
    from dba_temp_files
    group by tablespace_name
    order by tablespace_name

Maybe you are looking for

  • How Would you add a Plug In?

    I want to add this into Edge and I want it to effect nearly all DIV's on the stage like 90% of them But I have no idea how I add it into edit I can easily get it working in Dreamweavther but in edge its hopless Heres the JS http://stephband.info/jpar

  • Collections.. Is this illegal??

    Hello everyone,  So I was checking my credit score and I noticed a big drop on it. I checked why and it shows that an old debt it reporting again.. What happened is that I sent a PFD to a collection agency and ever since that, they started to report

  • Customizing Oracle Logo in MDM 2.0.1

    In MDM 2.0.1, I'm trying to customize the Oracle logo, as per the instructions mentioned in the Installation Document : I. Place your <Custom_Logo_File>.gif in $SPLEBASE/etc/conf/root/cm II. Create an External Navigation Key : 1.Open the browser with

  • .swf file

    Hi All, I have uploaded a .swf file as a static file to one of our workspaces. I have added the code in the HTML region as "<a href="#WORKSPACE_IMAGES#new.swf" target="_blank">Viewlet </a>". When I click on the URL, I get a browser window, but the .s

  • Email flex list contents using php

    I have dragged 5 items from a datagrid to a drop-enabled list component. Now I want the user to be able to email himself the list. I am using PHP and have an HTTP service request and PHP mailer code but I do not know how to get the data that is in th