How to search folder by folder path

As subject, how can I search a folder in content server using folder path?
Thanks

I agree, I don't believe it's possible out of the box.
However, I've leveraged a idocscript function that allows for this:
folderPath = m_service.getPageMerger().evaluateScript("<$getCollectionPathFromID(" + targetFolder + ")$>");
where targetFolder is the xCollectionID.
This still requires that you build a custom component, but the above is the easiest way to get the path from the id.
I understand that you want to do the opposite, but this should give you another option of where to look (i.e., idoc functions).
I would think that reverse engineering the standard search page would be a good place to start since the folder picker puts a folder path into the form. I would assume that somewhere in that process it gets rendered to an ID. I would try to find where that happens and leverage it as such.
Let me know if this helps at all!
-ryan

Similar Messages

  • How change C:\folder\path into C:/folder/path?

    How change C:\folder\path into C:/folder/path?
    I try to replace the \ to / using the split function but it useless...
    Then split not allow me to split...
    How can I change the format into the format I needed?
    Thanx.

    fsloke wrote:
    I try to replace the \ to / using the split function but it useless...It's not useless, you're just inable to carefuully read the API docs. Which would tell you that it takes a regex, and links to the Pattern docs that point out that the "\ \" needs to be escaped with another backslash escape ("\\\\").
    Then split not allow me to split...Even more so because you didn't find the replaceall method. For the regex argument, look above.
    How can I change the format into the format I needed?Don't. Use a File object like you'er supposed to.

  • How to read folder path using FileUpload.

    Hi,
    Is it possible to read the folder path in webDynpro.
    My requirement is: I have to read all the files in the given folder path.
    Please help me on this....
    Thanks,
    RPN.

    Hi,
    I don't think you can get the folder path.
    http://www.cs.tut.fi/~jkorpela/forms/file.html#value
    Can you give more info on why exactly do you need the folder path?
    Regards,
    Omri

  • Dreamweaver CS4 Search Folder Bug (?)

    Just curious if anyone else has this issue:
    When doing a search and wanting to only focus on a specific folder within the root, I have to go one folder deeper to have Dreamweaver select the folder I actually want.
    For example, if I want to search files within /root/main/ I have to actually select /root/main/subfolder/ to have Dreamweaver actually search the "main" folder.
    Is this a bug or just how the search folder works?
    Dreamweaver CS4 (10.0 build 4117) for Windows 7

    It's a well-known issue. See http://forums.adobe.com/thread/478327.

  • How to set the DVD Folder Path?

    Hello, had a quick question regarding the folder path
    variable when accessing DVD video files. When authoring, Director
    seems to automatically add a hardcoded file Name to the cast member
    properties, as well as a folder path to the DVD member properties.
    So I am wondering how to handle this - obviously during
    authoring the director DIR/projector is on the hard drive while the
    video_ts is on the DVD disc. When deployed, everything will be on
    the DVD of course.
    During my first test, the projector was authored with the DIR
    on the hard drive while the DVD was in the D: drive. When I swapped
    the DVD to my other optical drive ( E: ) and restarted the
    projector, it complained it could not find the video_ts folder. And
    on a Mac it looked for a /Volumes/ path which I could not even
    manually point the projector to.
    So should I copy the video_TS to the hard drive so the
    relative path between the projector and video_TS folder always
    stays the same? Or does Director ignore the filepath at runtime and
    always search the DVD drives on the host machine for a video_ts
    folder,regardless of where it was during authoring? The
    documetnation is a bit unclear on that part..and of course my goal
    is that the projector find the video_ts folder on the DVD disc,
    regardless of what drive letter/volume name it is on.
    BTW, this approach -
    http://www.adobe.com/go/tn_19277
    , does not seem to work

    Check these 2 links may help you
    http://www.rittmanmead.com/2010/07/obiee-11gr1-scaleout-clustering-and-high-availability/
    http://www.rittmanmead.com/files/collab11_borkur_clustering.pdf

  • How to write the folder path in standard webi report - Most Accessed Documents

    How to write the folder path in standard webi report - Most Accessed Documents
    All
       -> Public Folders
                      -> Auditor
                      -> ABCD
    I want to give path of folder 'ABCD' and all the reports/ subfolders under it?
    Prompt - 'Enter the Folder Path(Add % at the end to include Sub Folders)' ?
    Give me exact path syntax

    Hi Daniel,
    But when I give my URL as
    http://serverA:80/irj/portal??NavigationTarget=ROLES://portal_content/crm-practice/14-Feb/Test_Page
    I am able to access the iview but the thing is I am getting TLN,Toolarea,Masthead,etc.
    I will tell my requirement,
    ServerA (EP 7.0) has some iviews,pages...
    I need to access these iviews from serverB(EP 6.0)....
    In ServerB only the iviews has to be displayed in the content area but not TLN,Toolarea,etc.
    Kindly help me in this regard.
    Thanks and regards,
    Purushothaman.
    Message was edited by: Purushothaman Vyasarao

  • The folder path iTunes media contains an invalid character. How can I fix this so I can install itunes

    the folder path iTunes media contains an invalid character comes up when I try to install itunes does anyone know how to fix this an why it happened an stopped itunes working ?

    Try the following user tip:
    "not a valid short file name" and "invalid character" install errors

  • How do I delete a previously saved bookmark but I don't know what Bookmark Folder it is stored in and I didn't want to search folder by folder.

    How do I delete a previously saved (open) bookmark but I don't know what Bookmark Folder it is stored in and I didn't want to search folder by folder. I know there must be a way to delete it or find from the address (URL) window/bar but I can't seem to figure this one out.
    (Yosemite 10.10.1  Safari 8.0.2)

    Click "Bookmarks" in the Safari menu bar, then choose "Edit Bookmarks" from the drop-down.
    Go to the bottom right corner of the page that opens up.
    Enter the search terms in the search box.
    Location  of the bookmark will be shown.

  • How to get the system32 folder path in java?

    how to get the system32 folder path in windows using java code?

    Zstar Electronic Co.Ltd, Wholesaler of fire cards for DS/NDSL/NDSi, Provide R4, R4i, DStt, iEDGE, AK2i,M3,M3i,N5
    www.zstar.hk

  • When I am searching for any particular song or album from my shared ITUNES folder, the search is conducted  in the apple store and not on the shared library. How to search for the song in the shared library

    I am using IPAD Mini.When I am searching for any particular song or album from my shared ITUNES folder, the search is conducted  in the apple store and not on the shared library. How to search for the song in the shared library

    Search for shared library is impossible, as far as I know.  Searches supported - are local and internet.

  • How to get KD Folder path

    Hi,
    How to get the full path for a given folder ID in KD ?
    I am using Java IDK 5.3
    Looking for a method like this:
    String fullPath = getFolderPath(200);
    Thanks.

    Besides, the HTML input type="file" lets the client choose a file to upload and it only sends the file contents along the request body from the client to the server. I have reread your question over three times, but I really, really don't see any relation between that HTML code line and your actual problem. Aren't you confusing the client-server relation and the concepts behind it?
    At least I can tell you that you can't get the folder path in the server side (as asked in the topic subject), although some browsers (e.g. IE) will do this, but this is faulty and you shouldn't rely on this. Just obtain the file contents from the request body. There are parsers for this as well, such as Apache Commons FileUpload.

  • How to get crawler destination folder path through api

    with following code i am getting crawler folder source path
    com.plumtree.openfoundation.util.IXPPropertyBag propertyBag = oPTCrawler.GetStartLocation();
                   String oldFolder = propertyBag.ReadAsString("PTC_UNIQUE");
    how to get the destination folder path ?
    any help appreciated

    i would like to get the values from PT_TAX_DESTFOLDERS
    <A N="PT_TAX_DESTFOLDERS"><I N="DIMS">1</I><I N="MAX0">0</I><I N="0">1324</I></A>
    1324 being the folder id
    when trying
    com.plumtree.openfoundation.util.IXPPropertyBag propertyBag = oPTCrawler.GetStartLocation();
                   Object[][] propertyBags = (Object[][])propertyBag.ReadAsObject1DArray("PT_TAX_DESTFOLDERS");
    i am getting null

  • How to excute a power shell script to remote machine using power shell script folder path and script name

    Hi,
    Let say, I have 3 parameters.
    1. Script FolderPath (Remote path for e.g \\RD101\ScriptSharedFolder     Here RD101 is one server)
    2. Script Name(StopAllService.ps1)
    3. Server Name (RD45)
    I want to execute a powershell scritp in my local machine(Test1)  and in that script I want to pass the above three parameters.Now I want to excute the StopAllService.ps1 script into RD45 server. But the script is available in RD101 machine.
    So What I want to here How can we do this ? I have script name and script folder path and target execution server name.
    Pls giude me or give me the script.
    By
    A Path Finder..
    JoSwa 
    If a post answers your question, please click &quot;Mark As Answer&quot; on that post and &quot;Mark as Helpful&quot;
    Best Online Journal

    Hi,
    You got 2 solutions for your problem:
    1- If you have permission to run scripts in the remote computer without specifying your credential,
    then, the first reply solve your problem.
    2- If you have permission to run scripts in the remote computer
    having to specify your credential, l then,
    my solution solves your problem.
    If the remote computer requires signed scripts only, you need signed script. Period. Or are you trying to break remote computer security?
    If you need signed script, there's no psdrive that'll circumvent such requirement.
    The problem is that the execution policy is set to "RemoteSigned". Using the URL explicitly tags that script as being from a remote source, and the policy blocks it.  The PSDrive provides a local reference for the script.  It does not
    sign the script but the local drive reference may prevent it from being blocked for being from a remote source. I'll test that later.
    Script signing is not and should never be considered a security measure. It is easily circumvented by running the script using powershell.exe, and using the -ExecutionPolicy parameter to override whatever the local execution policy setting is. 
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How to get folder(directory path only not file path) from local file system

    Hi Firends,
    How to get folder(directory path only not file path) from local file system , whenevr i will click on browse button.
    Please give reply for this one , if anybody knows.
    Thanks,
    Anderson.

    Hi Anderson,
    if you're using flash.filesystem.FileReference - then it is run in black box - except of filename, size and creation data (and few other properties available after some operation succeeded). This is part of security features in Flash runtime (described in header section):
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference .html
    This for example implies that user can download a content to local machine - but that content cannot be loaded back into Flash runtime. For this you would need either Air runtime flash.filesystem.File:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.h tml
    (so you would created Air runtime based application: desktop or mobile but not web, even as standalone project) or you would need one of 3rd party tools that add file access/file information features to standard Flash runtime applications converted to standalone native applications.
    hth,
    kind regards,
    Peter

  • "The folder path 'Accessories/Quicktime' contains an invalid character."

    After countless attempts to install iTunes 9.2.1 for Windows 64-bit processors I keep getting this message: "The folder path 'Accessories/Quicktime' contains an invalid character."
    How do I correct this so I can install and finally use iTunes?

    It usually indicates trouble with one of the msi files for an existing program on the PC that is being updated by one of the installers in the iTunes64Setup.exe bundle ... but I'm not familiar with that particular Accessories/QuickTime folder path myself.
    Can you check something for me please?
    Do a search for an "Accessories" folder on the PC. Do any of them have a "QuickTime" subfolder inside them? If so, what is the full file to those directories?
    (Trying to work out which particular msi is causing the trouble ... or if there's a slightly different cause of the problem afoot.)

Maybe you are looking for

  • My CD/DVD Drive Only Works When I Jam the CD/DVD in hard..?

    My CD/DVD drive only works when I stuff the CD/DVD in the drive EXTRA hard. If I just try to put in with normal force (that at one time worked) it spins the disc around, makes a spinning noise, and then ejects it. I'm taking it to the Apple Store soo

  • What is the best display resolution setting for Macbook Pro retina display for photography?

    Display resolution settings are somewhat criptic. I want maximal resolution for editing photos. Which one should I choose?

  • Help with Profiler

    Hi, I have 3 tab navigators and in each tab navigator i have other 3 more tab navigators, in each tab i have MX advanced datagrids, i have an extra tab navigator with 3 advanced datagrids. So total I have 30 MX advanced datagrids. When I call the app

  • ASA5510 Restart Itself Every 24 Hours

    Hi All, Does anybody experience that case of my ASA5510 (7.2(1)24) reload itself every 24 hours? Thanks!! BR, Jeff

  • ICal Dock Icon Sync

    My iCal icon in my dock reads APR 26 (yesterday) yet, when I open the application the same dock icon switches to APR 27 (today). However, when I close the iCal application the dock icon reverts back to APR 26 (yesterday). To help matters, my iCal tim