Forum Discussion
Former_Member
8 years agoAccelerator III
Hi Chris,
I writing a general utility for work to correct issues where business users have foobar'd document numbers and file names. We have document standards and at times business users wittingly or unwittingly insert bad characters or make up non-standard names for documents and files. The utility will scan for these documents, update the "item_number" and grind through related files to also correct the filenames. This of course entails updating database entries as well as physical filenames in the vault directories.
The utility currently works by opening the VaultServerConfig.xml file using XMLDocument object and reading the LocalPath node to find the vault path, but that requires someone setting the Innovator physical code tree path to find VaultServerConfig.xml. Ideally I would like to make the tool more resilient/flexible to insure it adapts to any Innovator instance by reading the vault path (and any config values) dynamically from the running instance. The only setting the tool should need is the URL to the Innovator instance.
Hope I explained myself without too much detail.
Thanks in advance for any advice.
Peter Iannacchione
LORD Corporation