How to search for files in a subfolder

Hello

I'm trying to get the files of WebCenter Content11.1.1.8 using RIDC (see the code example).

IdcClientManager Manager = new IdcClientManager();

IdcClient idcClient = manager.createClient ("idc://localhost:4444"); ")

UserContext IdcContext = new IdcContext (username, passwoord); fill the binder with the settings

DataBinder binding = idcClient.createBinder ();

binder.putLocal ("IdcService", "GET_SEARCH_RESULTS");

binder.putLocal ("QueryText", "dDocFullText < contains > < qsch >" + "blah" + "< /qsch >");

binder.putLocal ("SearchEngineName", "oracletextsearch");

binder.putLocal ("ResultCount", "20");

ServiceResponse response = idcClient.sendRequest (userContext, binder);

DataBinder serverBinder = response.getResponseAsBinder ();

binding = response.getResponseAsBinder ();

ResultSet DataResultSet = binder.getResultSet ("SearchResults"); loop through the results

System.out.println ("found documents:" + "\n" + "");

{for (DataObject dataObject: {resultSet.getRows ())}

System.out.println ("title:" + dataObject.get ("dDocTitle"))

+ "," + "Is:" "+ dataObject.get ("dDocAuthor").

+ "," + "Extension is: '" + dataObject.get ("venture"));

System.out.println("");

}

Documents found:

The title is: blah blah, author is: jcooper, Extension is: docx

The title is: search for text in the document, author is: jcooper, Extension is: txt

The title is: is a blah document, the author is: jcooper, Extension is: txt

Now that I get all the files in the WebCenter.  My question is how can I get the files in a subfolder. (by example/folders/my folder/Test1)?

Do you have any advice?

Kind regards
Rigassi

Hi Rigassi,

The text of the query should be changed and made like this:

binder.putLocal ("IdcService", "GET_SEARCH_RESULTS");

binder.putLocal ("QueryText', '(xParentFolders '074D286A703B4082DCC6CAF4C86D0853' ) (test)');

binder.putLocal ("SearchEngineName", "oracletextsearch");

binder.putLocal ("AdvSearch", "True");

binder.putLocal ("ResultCount", "20");

Try this, it will list the content items that are present in the parent folder and its subfolders.

Thank you

Srinath

Tags: Fusion Middleware

Similar Questions

  • How to search for files by their content?

    How can I perform a search in windows 7, where he seeks in fact the content of the files?  Let's say I had a text called "mytext.txt" document and in this file was the text 'Hello World '...  How to make windows 7 return "mytext.txt" so if I did a search for the word 'Hello '?

    Hi angry bananas.

    The default function of Windows 7 search is such that it searches the text in the file name and content; in the file properties, such as in tags and. Therefore, in your scenario once you start to type Hello, you should get mytext.txt into the search results.

    Please see these articles using Windows for more information on the search for Windows 7.

     

    Find what you're looking for

     

    Find a file or folder

     

    Searching in Windows: frequently asked questions

     

    Advanced Tips for searching in Windows

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to search for files containing one or more specific words?

    How to find file or files containing one or more words? Alan Cameron

    Yes, this solution works!

    1. Click on organize | Folder and search options
    2. 'Search' tab
    3. Always search file names and contents (NB: will be a slower search)

    Open a Windows Explorer window

    Otherwise, you could add the location to your indexed locations.

  • How to search for text in all of the PDF files on a mobile device?

    How to search for text in all of the PDF files on a mobile device?

    Not possible on mobile devices.

  • How can I search for files on the Web in CC?

    How can I search for files on the Web in CC? I can't find a field or research action.

    Thank you

    Search the site of property to https://assets.adobe.com is coming.

    For now if you have a "ton of files" you are probably also using the synchronization file that comes with the creative Cloud desktop application. You can search the creative Cloud Files folder on your local computer using the Mac OS X Finder or Windows Explorer.

  • Please, give me an advise how to search for a number in a file xml (as3.0)

    Hello! Sorry for the troubling.

    Please, give me an advice how to search for a number in a file xml (as3.0)

    Thank you!

    My answer was based on your question to find numbers anywhere in the data to an xml file.  If you know that the data is digital data and the names of the nodes that contains this data, you do not have to check the characters and can only check numerical data using string values...

    function searchXMLFile(Event:MouseEvent):void
    {
    searchDisplay.text = "";
    var pageList:XMLList = xmlFileToSearch.receipt.number;
    searchDisplay.text = "false";
       
    for (var i: int = 0; i< pagelist.length();="">
    {

    If (pageList [i] == searchInput.text) {}
    searchDisplay.text = "true";
    }

    }
    }

    Even if you are looking for individual digital characters in the previous code that you would have always done by a false exit due having the line 'false' always cancel the real line...

    If (t.toString () .indexOf (m_sSearchTerm)! = - 1).

    {

    searchDisplay.text = "true";

    }

    searchDisplay.text = "false";  This will always overwrite the textfield

  • How we can search for files in the Webcenter 11.1.1.6 content?

    Hello

    I have a requirement for a client where they want to use the advanced search of the AAU to search for files (not articles).

    Version: Webcenter content 11.1.1.6

    Contribution using folder_g files

    I founded a model pre-built for searching for files. The name is COLLECTION_GET_SEARCH_FORM


    Here is an example of this model and it works

    http://euedocs.emersonprocess.co.UK/idcplg?IdcService=COLLECTION_GET_SEARCH_FORM

    When I try this service on my own content instance Webcenter, the model is loaded. But when I click on search, nothing happens.

    The drop-down lists containing ' Contains/pairing /...» "they are also not responsible.

    I did some research on the Support of Oracle and I created this article:

    Limits for fast searching of the Collaboration of records(1071778.1)

    https://support.Oracle.com/epmos/faces/UI/km/SearchDocDisplay.JSPX?returnToSrId= & srnum = & _afrLoop = 418199051953706 & type = c...

    I'm still stuck on this issue. What configurations are absent?

    Is someone can help me?

    Thank you very much.

    I contacted support. Here's the answer:

    Hello

    The feature you're looking for is something that is not currently present out-of-box.

    He used to work in the classic configuration only, the way back.

    And 11 g, classic layout no longer exists.

    This is a request for development with our development team.

    Bug 6488476 - INCLUDE "SEARCH FOLDER of HIERARCHY" AS SEARCH OPTION

    Thank you

    Fatima zahra

    Thank you SrinathMenon for your reply also.

  • How can I search for files with more than one keyword?

    I ve created a few keywords, and some files in my folder are marked by two, three or more keywords.

    Is it possible to search for files by using more than one keyword in the search field?

    Thank you!

    Use the command find (Edit menu) and in the criteria on the side right is a plus sign to add another criterion and set it to your personal wishes.

    Choose from the results and you should be OK

  • GetFirstFile and GetNextFile while searching for files

    In LabWindows 7.0 "C" I use a wild-card building to search for files in a folder called "PAT_DISKS" below as shown:

    strcpy (work, "c:\\DEVELOPMENT\\PAT_DISKS\\? MS? _DSK_PAT");
    is = GetFirstFile (work, 0, 0, 0, 0, 0, 1, name);
    is = GetNextFile (name);

    There are at least three folders corresponding to the criteria of 'PAT_DISKS', but "GetNextFile" are not.

    Is this a bug in LabWindows CVI 7.0?

    Thank you, your answer helped me to find the problem.   As usual, it's between the keyboard and the Chair.  Without realizing it, I was pointing to another folder that I created earlier for debugging purposes.  There was actually only a subfolder so "GetNextFile" function work properly.

    Rob

  • search for file names with tilde character

    trying to locate all the file name containing the tilde (~) character. It is obviously special for the search as a search looking for files with this character corresponds to each file. I can't find the mechanism to quote the tilde so that Windows will search for files containing the tildes in name literally.

    You expect to be easy to find the answer, but then I found others asking the question. I can't find the answer.

    See the following article on research in Vista: http://www.vistax64.com/tutorials/75447-search-options.html.  I ' ts faily basic and probably does not cover what you need to know to make the research you are tyring to do.

    Here is an article on research options in Vista: http://www.vistax64.com/tutorials/75451-advanced-search.html.

    Here is an article on the use of advanced query options to improve searches in Vista (I think yuu might find your answer in this one): http://www.vistax64.com/tutorials/158288-advanced-searches.html.

    Here is an article with a number of advanced search options and how format the queries that may be helpful: http://windowsteamblog.com/windows/archive/b/windowsvista/archive/2007/05/09/advanced-search-techniques.aspx.

    I hope this helps.  If not go back and I'll try to find more resources or attempting to do myself to see if I can understand how do.  It seems that Mr. Wizard answered the question before I coulld end my post. The anwer to the 'why' is probably contained in the above items.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to search for work in one particular my external hard drive?

    I'm looking for a specific design on my external hard drive.  How can I do a search on this drive

    OK guess I wasn't too clear.  How to do a search on my external hard drive?  Or any search also.  I went to the lower left of the screen and in the box "search" I typed 'redwork.  I got was a Web site.  So, how I'm looking just my disk hard ex.?  I hope that is more clear.

    Thanks, Fredda

    You can search for files, types of files, folders, programs, text contaiined in the folders or files, but not for designs - there is no way to enter a design search.

    I'm sorry.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Search for files hidden in files

    Option to search for files and folders hidden in folders in advance.

    Hello

    These should help:

    How to view hidden files in Windows Vista
    http://www.bleepingcomputer.com/tutorials/tutorial130.html

    Search and find all files including system files and hidden
    http://www.mydigitallife.info/2006/05/07/search-and-find-all-files-including-hidden-and-system-files/
    ---------------------------------------------------------------------

    Tips for finding files
    http://Windows.Microsoft.com/en-us/Windows-Vista/tips-for-finding-files

    How to use advanced search in Vista Options
    http://www.Vistax64.com/tutorials/75451-advanced-search.html

    How to restore the page button on the Start Menu after installing Vista SP1
    http://www.Vistax64.com/tutorials/145787-Search-start-menu-button-restore-after-SP1.html

    How to restore the context Menu item search after installing Vista SP1
    http://www.Vistax64.com/tutorials/134065-search-context-menu-item-restore-after-Vista-SP1.html

    How to create a shortcut on the desktop search in Vista
    http://www.Vistax64.com/tutorials/126499-search-desktop-shortcut.html

    ----------------------------------------------------------

    Win Key F opens advanced search

    Searching in Windows Vista, part 1
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-1-secrets-of-the-search-box

    Part 2
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-2-Start-menu-and-control-panel-search-tips

    Part 3
    http://Windows.Microsoft.com/en-us/Windows-Vista/searching-in-Windows-Vista-part-3-using-advanced-search-for-those-hard-to-find-files

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How to search for a Word document in Windows 8?

    I'm stumbling around Windows 8 that came pre-loaded on my new laptop.  I ordered Windows and Excel to be included in the package.  I saved a number of documents in Word, and now I need to get these documents for a particular.  I looked on the Internet and found a lot of no-help, that is to say, 'go in search of a file'.  Excuse me, but if I could find searching a file, I could probably find out how to search for the file, Huh?  Thus,.

    Could someone please help me with: how to find a Word document (1) and (2) where is the infamous "search"?

    I did the thing 'sweep to the right side of the screen"to get those things shadow to appear, and click on the magnifying glass (which I think the engineers forgot to change when they changed everything!) and if I wanted to search for apps, I'd be in great shape.  But his files I'm looking for, Word documents.  The designers of this 'new' version improved - well, new, in all cases seem to have forgotten those of use who use computers for productive work and not socialize or play games.

    Sorry for the hike and whining, but I'm very frustrated that the tasks that were once very simple are now extremely difficult to fill.

    It's pretty easy, at the beginning screen just type the name of your document and right it will bring the search screen and you select files (files, settings, Apps). Take a look at:

    http://Windows.Microsoft.com/en-us/Windows-8/search-apps-files-settings

  • Search for files in a folder of some

    Hello

    I want to create a smart collection (or search) with files, which are located in the folder with a given name. I have hundreds of files called 'Selected' and only photos within these folders should be found. But the only search option, I can find is "Filename" - How do I search for files with a certain string in their directory string?

    Thank you

    Konrad

    This script should select the documents in the selected files. Make sure that the top-level folder is selected before running the script.

    #target bridge
       if( BridgeTalk.appName == "bridge" ) {
    selectedFind = MenuElement.create("command", "Find in Selected Folders", "at the end of Thumbnail");
    }
    selectedFind.onSelect = function () {
       findInSelectedFolders();
       }
    function findInSelectedFolders(){
    var win = new Window('dialog',"Find in Selected Folder");
    win.orientation = "column";
    win.pnl1 = win.add('panel', undefined, undefined, {borderStyle:"black"});
    win.g1 = win.pnl1.add('group');
    win.title = win.g1.add('statictext',undefined,'Custom Find');
    win.title.alignment="fill";
    var g = win.title.graphics;
    g.font = ScriptUI.newFont("Georgia","BOLDITALIC",22);
    win.g5 = win.pnl1.add('group');
    win.g5.orientation = "row";
    win.g5.alignment="left";
    win.g5.st1 = win.g5.add('statictext',undefined,'Folder Name');
    win.g5.et1 = win.g5.add('edittext',undefined,'Selected');
    win.g5.et1.preferredSize=[150,20];
    win.g10 = win.pnl1.add('group');
    win.g10.orientation = "row";
    win.g10.alignment="left";
    win.g10.st1 = win.g10.add('statictext',undefined,'Find ...');
    win.g10.et1 = win.g10.add('edittext');
    win.g10.et1.preferredSize=[200,20];
    win.g100 = win.add('group');
    win.g100.orientation = "row";
    win.g100.alignment="center";
    win.find = win.g100.add('button',undefined,'Find');
    win.find.preferredSize=[100,30];
    win.cancel= win.g100.add('button',undefined,'Cancel');
    win.cancel.preferredSize=[100,30];
    win.find.onClick=function(){
      if(win.g10.et1.text == ''){
          alert("You haven't entered anything to find!");
          return;
          }
      win.close(1);
    var folderList = [];
    var fileList = [];
    var CollectionFiles = [];
    var Path =Folder(app.document.presentationPath);
    var REX = new RegExp(win.g10.et1.text,"gi");
    folderList = FindAllFiles(Path,folderList,new RegExp(win.g5.et1.text.toString(), "i"));
    for(var a in folderList){
        fileList = folderList[a].getFiles();
        for (var f in fileList){
            if(fileList[f] instanceof File){
                 if(fileList[f].name.match(REX)) CollectionFiles.push(fileList[f]);
                }
            }
    
    }
     if(!CollectionFiles.length){
         alert("No match found");
         return;
         }
     var Name = "Found in " + win.g5.et1.text.toString();
     var foundFiles = app.createCollection(Name);
     for(var c in CollectionFiles){
         app.addCollectionMember(foundFiles,new Thumbnail(CollectionFiles[c]));
         }
     app.document.thumbnail = foundFiles;
    }
    win.center();
    win.show();
    }
    function FindAllFiles( srcFolderStr, destArray, regEX ) {
     var fileFolderArray = Folder( srcFolderStr ).getFiles();
     for ( var i = 0; i < fileFolderArray.length; i++ ) {
      var fileFoldObj = fileFolderArray[i];
      if ( fileFoldObj instanceof File ) {
      } else {
                try{
               if(fileFoldObj.name.match(regEX)) destArray.push( Folder(fileFoldObj) );
               }catch(e){$.writeln(fileFoldObj);}
       FindAllFiles( fileFoldObj.toString(), destArray, regEX );
      }
     }
     return destArray;
    }
    
  • A folder of bookmarks disappeared, but when I search in the sidebar for some sites, they appear, then how to search for the folder?

    The folder has disappeared from the sidebar and I get each of the other folders, but not luck. Yet when I do a search of bookmarks for entries individually, they appear. But it is essential that find the folder to my work because I don't remember all items [300 or more] and their URLs. The search function does not search for files, which is a real problem.

    Hi, you could have a look at your profile. Or, have you tried to restore from backup - open bookmarks > show all bookmarks > import and backup > restore.

Maybe you are looking for