How can I find orphaned files in the Vault?
Hi, I want to track the amount of Files that are not related to a Document or Change Processes anymore. I noticed that these unrelated files are somehow assigned to the SystemFileContainer Orphaned Files Container . SystemFielContainer is used as PolySource in FileContainerItems. But I have some trouble to find the right query, to detect all of my orphaned Files. Does somebody have an example query for finding orphaned files? Or maybe just some hints, how these different ItemTypes stick together? Thanks and best regards! Angela12KViews0likes9CommentsCall attachPhysicalFile in javascript from an itemtype
Hi, I have an ItemType "COCO_STUDY" with a relation "COCO_STUDY_FILE" pointing to a "File". On the form of this ItemType, I have a html/javascript widget to import a CSV file. The selection of the file is done with <input type="file">. I would like to implement an option (here: "Add imported file in documents"), to copy the selected and imported document into ARAS (as a File) and pointed by the current "COCO_STUDY" through a "COCO_STUDY_FILE". I understood that I need to use attachPhysicalFile but how ? If I well understood, for security reason, the browser doesn't fullpath of the selected file. So, I don't know how to pass it to attachPhysicalFile. I tried to hardcode the filename for a test but it doesn't work. I did this javascript code if(add_imported_file) { // Add imported file in ARAS let inn = top.aras.newIOMInnovator(); let link_study_file = inn.newItem("COCO_STUDY_FILE", "add"); let fileAras = inn.newItem("File", "add"); fileAras.setProperty("filename",fileInput.files[0].name); fileAras.setProperty("comments", "Imported"); //URL.createObjectURL(fileInput.files[0]) fileAras.attachPhysicalFile("C:\\Users\\to81591\\Documents\\Development\\cawb\\sample_csv_files\\CAD2BOM v0.1_UPDATED.csv") link_study_file.setRelatedItem(fileAras); document.thisItem.addRelationship(link_study_file); } So, in javascript, how to create a "File" from a file selected from an <input type="file"> ? Regards.Solved5.3KViews0likes3CommentsMove an existing Vault into a new instance
Hi all, I am attempting to create a test instance in order to try out new things in a safe non production environment, and I have created a new Aras instance from scratch and imported everything from the production successfully, the only problem is I am being given a OnShowFile error telling me that the vault location of the files are invalid. I had replaced the default vault with a copy of our default production vault and I am stuck on what the problem might be. Any help would be most appreciated!4.4KViews0likes1CommentAras 12.0 SP9 VaultServer config
how to config file url token in 12.0 SP9? In the previous version we can config like this: <enforce_user_credentials>0</enforce_user_credentials> But there is no such file "VaultServerConfig.xml" at 12.0 SP9. I only found the file "vault.config" ,but don't know the key name in the appsetting.4.1KViews0likes1CommentFile download error with message "user hasn't enough permissions for this file"
I upload a file to aras, when I want to open it, it show the "System.Web.Services.Protocols.SoapException: User hasn't enough permissions for this file " the detail as below, but I search the file in my vault path ,it really uploaded,does anyone could give me idea how to solve it.4KViews0likes2Comments