An orphaned file is a File that is not related on any other item such as Document. There is a special container for these items called the Orphaned Files Container. This project contains a method that finds all Files in that container and returns the names and IDs of those files.
This project and the following release notes have been migrated from the old Aras Projects page.
Release | Notes |
---|---|
v1 | Initial Release |
Project | Aras |
---|---|
v1 | 11.0 SP12 |
Always back up your code tree and database before applying an import package or code tree patch!
- Aras Innovator installed
- Aras Package Import tool
- aras.labs.getOrphanFiles import package
- Backup your database and store the BAK file in a safe place.
- Open up the Aras Package Import tool.
- Enter your login credentials and click Login.
- Note: You must login as root for the package import to succeed!
- Enter the package name in the TargetRelease field.
- Optional: Enter a description in the Description field.
- Enter the path to your local
..\GetOrphanFiles\Imports\imports.mf
file in the Manifest File field. - Select aras.labs.getOrphanFiles in the Available for Import field.
- Select Type = Merge and Mode = Thorough Mode.
- Click Import in the top left corner.
- Close the Aras Package Import tool.
You can now run the Get Orphan Files method.
- Login as admin.
- Navigate to the Administration > Methods folder in the TOC.
- Search for the Method named Get Orphan Files.
- Run the Run Server Method action.
- The method should return the names and IDs of all orphaned files, if there are any.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
. - Commit your changes:
git commit -am 'Add some feature'
. - Push to the branch:
git push origin my-new-feature
. - Submit a pull request.
Created by Christopher Gillis for Aras Labs. @cgillis-aras
Published to Github under the MIT license. See the LICENSE file for license rights and limitations.