Setting document Path in file system document store

hi,
Is it possible to have the basic path defined in
ctx_ddl.set_attribute, and all the subfolders in the
basic path defined in along with the document name
in the database.
for eg:
begin
ctx_ddl.create_preference('docname','FILE_DATASTORE');
ctx_ddl.set_attribute('docname','PATH','c:\temp\');
end;
In the table (mydocs)
mydocid doc_name
1 loc1\test.doc
2 loc2\recs.Pdf
3 loc1\oracle9i.doc
It should now take the path as
c:\temp\loc1\test.doc
Also is it possbile to just give the path in ctx_ddl.set_attribute as c:\temp\
and all the sub folders under it are searched.
Database: ORacle 9i windows.
thanx.
cheers
sam

As far as I know, you either have to specify all of the paths using ctx_ddl.set_attribute with only the file names in your mydocs.doc_name or don't use the ctx_ddl.set_attribute and provide the full paths in your mydocs.doc_name.

Similar Messages

  • Storing Documents on the File System

    Can anyone tell me how to store the documents on the files system?
    Probably, I need some kind of pointer records on the SharePoint content DB that point to the document locations on that file system.
    I need the detailed info on how to implement this approach to reduce the size of the contentDB on SQL.
    The goal is to reduce the size of the content DB and we know the option of splitting it into the multiple site collections/content DBs but wanted to know the different options.

    if you're storing the files on the SQL servers' file system, you're not reducing the disk capacity requirements, just moving them from the MDF's to standalone files.
    Additionally, backups become more complicated since you need to grab not just the database, but the files.
    what you're talking about is remote blob storage. There are also lots of settings that control when RBS is used and when it is not, which, combined with SP2013's file sharding, can be confusing to configure for the results you desire.
    Given what you've stated, I would strongly recommend looking at alternatives.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Issues with setting appropriate ownership for file system

    Hi All,
    We are using ACFS File system. For some of the mount point we have set to change ownership according to requirement in rc.local file So that all permissions remain intact when the server restarts. But the permissions are not taking into account. Only after the rc.local is executed ASM disks are mounted I guess. Is there any where else can we write scripts to change ownership of mount points for ACFS so that when the disks are mounted proper Unix permissions are setup.
    Thanks & Regards,
    Vikas Krishna

    To configure raw devices if you are using Red Hat Enterprise Linux 4.0:
    To confirm that raw devices are enabled, enter the following command:
    # chkconfig --list
    Scan the output for raw devices. If you do not find raw devices, then use the following command to enable the raw device service:
    # chkconfig --level 345 rawdevices on
    After you confirm that the raw devices service is running, you should change the default ownership of raw devices. When you restart a Red Hat Enterprise Linux 4.0 system, ownership and permissions on raw devices revert by default to the root user. If you are using raw devices with this operating system for your Oracle Clusterware files, then you need to override this default.
    To ensure correct ownership of these devices when the operating system is restarted, create a new file in the /etc/udev/permissions.d directory, called oracle.permissions, and enter the raw device permissions information. Using the example device names discussed in step 5 of the previous section, the following is an example of the contents of /etc/udev/permissions.d/oracle.permissions:
    # OCR
    raw/raw[12]:root:oinstall:0640
    # Voting Disks
    raw/raw[3-5]:oracle:oinstall:0640
    # ASM
    raw/raw[67]:oracle:dba:0660
    After creating the oracle.permissions file, the permissions on the raw devices are set automatically the next time the system is restarted. To set permissions to take effect immediately, without restarting the system, use the chown and chmod commands:
    chown root:oinstall /dev/raw/raw[12]
    chmod 640 /dev/raw/raw[12]
    chown oracle:oinstall /dev/raw/raw[3-5]
    chmod 640 /dev/raw/raw[3-5]
    chown oracle:dba /dev/raw/raw[67]
    chmod 660 /dev/raw/raw[67]
    http://download.oracle.com/docs/cd/B19306_01/rac.102/b28759/preparing.htm#CHDGEEDC
    Edited by: Babu Baskar on Apr 18, 2010 1:33 PM

  • Set up the best file system partioning for a solaris machine

    I have a ultra 10 running solaris 8. Its a small machine but good enough to get me started. i want to use this machine as a sole web application server. I am newly installing the Solaris enviroment and want the best possible file system.
    I have 256 ram, 9 gig hard drive.
    I am currently thinking to set the swap to 768. I'm thinking I may need it. I will run java apps on this server, and as a mail server. Soon I have an extra NT box where I will install nt server and run an oracle 8i database on it. This is then my question: What is the best way to set this machine up, considering its power limitations and its all I got?
    I would greatly appreacite your assistance ASAP.
    I could use some serious advice.
    Thank you.
    I could use some serious advice.

    Welcome to the Discussions.
    I am not exactly sure what it is that you seek to do. However, I believe you could give this a try, when you call up the info window for a folder and make it available to 'everyone' then there is a small gear like icon at the bottom, click on it, and select 'Apply to enclosed items' if this is greyed out look on the right of the window and if there is a lock in locked state, then click on it to unlock, enter your admin password and you can now make the change. Hope this helps and I hope this is what you are looking to do. Try it and post back here if it solves your problem.

  • Use file system to store CAPK

    Want to know the Java APIs to store the CAPK certificates on the file system and also if sample code or reference program is provided that will highly thankful.

    Yeah , Right. I want to store the CA certificates on the JCOP file system. We are working on JCOP22 series card and not much familiar with the java card APIs. Thanks in advance

  • Issues setting up a DDX file in Document Builder in Livecycle ES2

    I am currently trying to create a DDX document in ES2's document builder, according to the tutorial at this URL:
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=003662.html#15553 09
    I'm basically trying to render an XDP("myForm") by inserting fragments that I have specified("Fragment1") into the form.
    Now, the example I mentioned above tells me to specify a source for my XDP content(which I assume is the folder where my fragments are kept), an insertion point for the fragment(which I again assume that it means the name of the subform of "myForm" where the fragment is to be inserted, which I have named "subForm1").
    Then there is the fragment name, which I have specified as "Fragment1".
    The DDX file validates fine, but when I try to preview the result, it firstly throws an 'xfa error' when I try to view it in the browser, and when I save the file and open it in designer it doesnt have the fragment inserted into it; just the base XDP form.
    I am seriously struggling to find any help on this subject, so if anyone knows how to help, please do....
    Regards
    Ross Malan

    OK, found the solution.
    I was missing the insertion point on the base document. All you do is specify a subform on the document inside designer as an insertion point, under the object tab, and then give it a name. Then you use that name again when specifying the insertion point for the XDP content in the document builder in workbench.
    After that, the PDF should be generated with the fragments you specify.

  • You cannot save the document on the file system (WIS 30903)

    Hi Experts,
    I just would like to inquire if anyone of you is familiar with this error?
    I've tried to search for WIS 30903, but the results were very limited.
    Just thought that someone here might have experienced this and know
    the cause and solution for this error.
    Kind Regards and Many Thanks,
    Mark

    Hello Mark,
    Are you trying to save Webi report from Webi Rich client?
    What is your BO version?
    If you are using BI 4.1 SP02  and trying to save the report from rich client..we can get this error..to resolve this you may need to have Admin rights..
    Please note that report will get save even if you get the above error..
    Regards,
    Naveen D

  • Dynamic Configuration - Set Directory Path for File Receiver Adapter

    Hi Experts,
    I have a question regarding the dynamic configuration for the file adapter. Is it possible to set a directory path without a message mapping for the file receiver adapter? the problem is that I want to import a pdf document. this pdf document I want to store in a dynamic directory (depending on the filename). so I have to read the filename out of the dynamic configuration and generate (depending on the filename) a directory for this file. Is that possible without a message mapping? I cannot make a message mapping because the file has the pdf format and should not get changed.
    best regards
    Christopher Kühn

    Hi Gaurav,
    I use the ASMA (respectively the filename) for the sender adapter. After the pdf was imported into XI this filename is in the ASMA.
    But what then??? How can I get this filename with the help of the variable substitution? and if I have this filename I have to change this filename a bit to generate the name / path of the directory.
    Please explain it to me detailled
    Thanks and regards
    christopher

  • How to set default path for file open in SQL Developer

    Hi,
    I am new to Oracle SQL Developer. Everytime when I open a file, it will default to the install directory. It is hurtingmy hand because I have to click back to the folder where I put my sql statements.
    Is there any way to set the Home or Work button to point to the location I like? or add anther button to point to my folder? I just don't want to click 5 to 10 times to open a file.

    There are a few things. One is that you can set a working directory for any files you run in the SQL Worksheet i.e. @myfile.sql will pick up this directory.
    You can also set a preference for exporting files.
    Also if you use File -> Open, it should remember where you were the last time, so you hunt the first time, then it remembers for the next time. There is a bug for ctrl-O that always goes back to the original directory, but that has been fixed for the next patch release, so ctrl -O will also remember where you were last.
    The differences here are because we are dependent on the IDE from JDeveloper, and so we don't have full control over the Save and Open dialogs. We are aware of this frustration and are planning to change this for a future release.
    Regards
    Sue

  • Store documents in local machine of file system not in sap dms

    Hi,
    Can i store documents in local machine not in sap Database . Client  will not use content server for storing document.
    so how to store document in local file system n how to configure ?
    please help.
    Dipak.

    Hello Sir,
    When I try to check in in storage as 'VAULT' it send error 'Attempt to set up connection to  failed'
    attaching screen shot of error
    I customize in DC20 for Vault:
    For: "Define data carrier type "vault""
    Data carr. type = ZD
    For: "Define vault"
    Data carr.name = ZDC_TEST
    Data carr. type= ZD
    Desprition = Test
    Vault path = \\10.181.210.10\_SAP Practice\SAP DMS\DMS_Data_carrier      -> this is the network path.
    For: "Define data carrier type "server, front end"
    Type (data carr. type) = DC
    Description = Frontend test
    Path = c:\temp\
    For: "Define mount ponts/logical drive"
    Data carr. = Default/ZDC
    Prefix for access path = c:\temp\
    Please tell me if have configured any wrong configuration or need to add any additional configuration
    Thanks.
    Dipak.

  • JS CS4 splitting the document path

    I'm trying to split the document file path so I may navigate up one or two folders and then into a specific subfolder.
    When I try to split the "myDoc.filePath" it errors. If I split "myDoc.name" it works correctly.
    var myDoc = app.activeDocument;
    var myDocPath = myDoc.filePath;
    var mySplit = myDoc.name.indexOf ("_");
    var myFileName = myDoc.name.slice (0,mySplit);
    var myPdfFolder = myFileName + "pdf";
    var mySavePath = myDocPath
    var mySplit2 = myDoc.filePath.indexOf (myFileName);
    var myFinalPath = myDoc.filePath.slice (0,mySplit2) + myFileName + "/" + myPdfFolder;
    alert(myFinalPath);
    Can someone shed light on how to split the document path?
    Thanks,
    John
    Document path: ~desktop/N123456/working/N123456_01
    Note: the last folder name does not always exist. Often the "working" folder is the last folder. Working folder and N123456pdf reside on the same level.
    Goal is to change the save to document path: ~desktop/N123456/N123456pdf

    Here's some code I wrote recently to find a folder named "Snippets" starting from the location of a document. It first looks in the same folder and then its parent and on up until it reaches the top of the file hierarchy:
    //DESCRIPTION: Search for Snippets folder from Document location
    (function() {
        if (app.documents.length > 0) {
            var myFolder = locateRelatedFolder(app.documents[0].filePath, "Snippets");
            if (myFolder == null) {
                alert("Unable to locate Snippets folder");
                return;
            } else {
                alert("Snippets folder is: " + myFolder);
        function locateRelatedFolder(folder, name) {
            while (folder != null) {
                var relatedFolder = Folder(folder + "/" + name);
                if (relatedFolder.exists) return relatedFolder;
                folder = folder.parent;
        } // end locateRelatedFolder
    I've enclosed the code in an anonymous function. Don't let that put you off. You could just delete the first line after the description and the last line.
    Dave

  • What is system document?

    Hi Sir/Madam,
    What does "System Document" mean? It is said "In the procedure recommended by SAP, always store the original documents under the number of the system document?
    What is the system document and what is original document?
    Thanks
    Satya

    Dear,
    For e.g.
    You have recieved an invoice from your vendor. So physical invoice is the Original Document.
    When you post the invoice through MIRO or F-43 system will save the document and give you the document number is call System document
    So SAP recommends that you write this System document number on the phisical invoice (original document) so that it can be identified that this has been posted and in any point of time in future it can be analyzed easily.....Because all commercial documents and invoices are filed and thrown on to the racks.
    Regards,
    Chintan Joshi

  • Store large volume of Image files, what is better ?  File System or Oracle

    I am working on a IM (Image Management) software that need to store and manage over 8.000.000 images.
    I am not sure if I have to use File System to store images or database (blob or clob).
    Until now I only used File System.
    Could someone that already have any experience with store large volume of images tell me what is the advantages and disadvantages to use File System or to use Oracle Database ?
    My initial database will have 8.000.000 images and it will grow 3.000.000 at year.
    Each image will have sizes between 200 KB and 8 MB, but the mean is 300 KB.
    I am using Oracle 10g I. I read in others forums about postgresql and firebird, that isn't good store images on database because always database crashes.
    I need to know if with Oracle is the same and why. Can I trust in Oracle for this large service ? There are tips to store files on database ?
    Thank's for help.
    Best Regards,
    Eduardo
    Brazil.

    1) Assuming I'm doing my math correctly, you're talking about an initial load of 2.4 TB of images with roughly 0.9 TB added per year, right? That sort of data volume certainly isn't going to cause Oracle to crash, but it does put you into the realm of a rather large database, so you have to be rather careful with the architecture.
    2) CLOBs store Character Large OBjects, so you would not use a CLOB to store binary data. You can use a BLOB. And that may be fine if you just want the database to be a bit-bucket for images. Given the volume of images you are going to have, though, I'm going to wager that you'll want the database to be a bit more sophisticated about how the images are handled, so you probably want to use [Oracle interMedia|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14302/ch_intr.htm#IMURG1000] and store the data in OrdImage columns which provides a number of interfaces to better manage the data.
    3) Storing the data in a database would generally strike me as preferrable if only because of the recoverability implications. If you store data on a file system, you are inevitably going to have cases where an application writes a file and the transaction to insert the row into the database fails or a the transaction to delete a row from the database succeeds before the file is deleted, which can make things inconsistent (images with nothing in the database and database rows with no corresponding images). If something fails, you also can't restore the file system and the database to the same point in time.
    4) Given the volume of data you're dealing with, you may want to look closely at moving to 11g. There are substantial benefits to storing large objects in 11g with Advanced Compression (allowing you to compress the data in LOBs automatically and to automatically de-dupe data if you have similar images). SecureFile LOBs can also be used to substantially reduce the amount of REDO that gets generated when inserting data into a LOB column.
    Justin

  • Best practices for ZFS file systems when using live upgrade?

    I would like feedback on how to layout the ZFS file system to deal with files that are constantly changing during the Live Upgrade process. For the rest of this post, lets assume I am building a very active FreeRadius server with log files that are constantly updating and must be preserved in any boot environment during the LU process.
    Here is the ZFS layout I have come up with (swap, home, etc omitted):
    NAME                                USED  AVAIL  REFER  MOUNTPOINT
    rpool                              11.0G  52.0G    94K  /rpool
    rpool/ROOT                         4.80G  52.0G    18K  legacy
    rpool/ROOT/boot1                   4.80G  52.0G  4.28G  /
    rpool/ROOT/boot1/zones-root         534M  52.0G    20K  /zones-root
    rpool/ROOT/boot1/zones-root/zone1   534M  52.0G   534M  /zones-root/zone1
    rpool/zone-data                      37K  52.0G    19K  /zones-data
    rpool/zone-data/zone1-runtime        18K  52.0G    18K  /zones-data/zone1-runtimeThere are 2 key components here:
    1) The ROOT file system - This stores the / file systems of the local and global zones.
    2) The zone-data file system - This stores the data that will be changing within the local zones.
    Here is the configuration for the zone itself:
    <zone name="zone1" zonepath="/zones-root/zone1" autoboot="true" bootargs="-m verbose">
      <inherited-pkg-dir directory="/lib"/>
      <inherited-pkg-dir directory="/platform"/>
      <inherited-pkg-dir directory="/sbin"/>
      <inherited-pkg-dir directory="/usr"/>
      <filesystem special="/zones-data/zone1-runtime" directory="/runtime" type="lofs"/>
      <network address="192.168.0.1" physical="e1000g0"/>
    </zone>The key components here are:
    1) The local zone / is shared in the same file system as global zone /
    2) The /runtime file system in the local zone is stored outside of the global rpool/ROOT file system in order to maintain data that changes across the live upgrade boot environments.
    The system (local and global zone) will operate like this:
    The global zone is used to manage zones only.
    Application software that has constantly changing data will be installed in the /runtime directory within the local zone. For example, FreeRadius will be installed in: /runtime/freeradius
    During a live upgrade the / file system in both the local and global zones will get updated, while /runtime is mounted untouched in whatever boot environment that is loaded.
    Does this make sense? Is there a better way to accomplish what I am looking for? This this setup going to cause any problems?
    What I would really like is to not have to worry about any of this and just install the application software where ever the software supplier sets it defaults to. It would be great if this system somehow magically knows to leave my changing data alone across boot environments.
    Thanks in advance for your feedback!
    --Jason                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hello "jemurray".
    Have you read this document? (page 198)
    http://docs.sun.com/app/docs/doc/820-7013?l=en
    Then the solution is:
    01.- Create an alternate boot enviroment
    a.- In a new rpool
    b.- In the same rpool
    02.- Upgrade this new enviroment
    03.- Then I've seen that you have the "radious-zone" in a sparse zone (it's that right??) so, when you update the alternate boot enviroment you will (at the same time) upgrading the "radious-zone".
    This maybe sound easy but you should be carefull, please try this in a development enviroment
    Good luck

  • URM Adapter for File System issue.

    Hi, I am just starting out on using the URM Adapter for File System and I have a few questions about issues I am facing.
    1.     When I try to create multiple searches and map them to Folders/Retention Categories in URM, it does not work. I am able to map one search via one URM source to one Folder/Retention Category (without my custom attribute from question 1). However in Adapter’s Search Preview I am able to perform a search on the documents successfully. Would different searches require different URM sources in Adapter?
    2.     Does the adapter work with other Custom Attributes? I have added an attribute in addition and in the same way as "URMCrawlTimeGMT" is added in Oracle Secure Enterprise Search (I created a custom Document Service and Pipeline to add a metadata value) and in the URM Adapter’s config.properties file and when I create a search in Adapter based on the custom attribute, it does not map the documents into URM. I am however able to search the documents in Adapter’s Search Preview window with the custom attribute displaying correctly.
    Any help with this topic would be really appreciated. Thank you.
    Regards,
    Amar

    Hi Srinath,
    Thanks for the response, as to your questions,
    1. I am not sure how to enable Records Manager in adapter mode. But I am able to login to the Records Manager web page after starting it up through StartManagedWebLogic.cmd URM_server1.
    2. The contents of the file system should be searchable in Records Manager, and should be able to apply retention policies to the documents in the file system, I do not need to have SES, but apparently the adapter needs to have SES as a pre requisite.
    Upon further investigation I found that in the AGENT_DATA table the values being inserted were "User ID"(UA_KEY) and NULL(UA_VALUE), so I just made the UA_VALUE column nullable and I was able to pass that step. Is this the wrong approach to fix the issue.
    Could you please let me know about enabling Records Manager in adapter mode, I am not able to find documentation online, I have been through the Adapter installation and administration guides. Thank you once again.
    Regards,
    Amar

Maybe you are looking for

  • S_ALR_87011964_asset balance report_performance issue

    Hello, When I run S_ALR_87011964 asset balance report with report date - 12/31 then program gets finished quickly but when I execute for the report date any other date say 03/31 or 04/30 then performance(time to finish) is very bad. Any idea why is t

  • Costing variant and production version

    We have two costing variants "C" (used to create current cost estimates) and "F" (Used to create Future cost estimate). All of the production versions in the system have a validity date of 9999. Is there a way to tell the system to use one production

  • I think I get a malware in my iMac and Ipad

    When I look for a website in Safari and then I clic to get in another link in the same website, safari get me into this website http://dca14d4e.megaline.co/url/http://www.unav.edu/web/facultad-de-filosofia-y- letras The same thing happens with my Ipa

  • Lumia 720 (mint used) or 532 (new)??

    OK I need to finally upgrade from my old C5-00 as the maps aren't really working any more and would like Wifi & skype. I have the choice of a 720 in mint used condition or a new dual SIM 532 for the same price. I don't game on my phone - am looking f

  • Connecting TV to iPod HiFi

    Simple question, but can I find an answer? I'm going to use my iPod HiFi as additional speakers for my Samsung flat screen TV. The TV has a 3.5mm headphone socket and standard RCA phono outputs. Is it better to get a 3.5mm-3.5mm cable and connect the