Universal Reporter needs fixed for redirected documents
Universal reporter doesn't currently work with redirected document folders without modifications. I had to update the CommonFunctionsModule.psm1 to trim the trailing slash only in the file path.
I recommend this be updated to work with UNC paths for document folders, as folder redirection is common in the workplace.
I recommend this be updated to work with UNC paths for document folders, as folder redirection is common in the workplace.
Just to elaborate here, if you are encountering this issue you can try the following:
- Close the tool
- Go to:
C:\Users\[username]\AppData\Local\Webroot Reporting\Templates\Common\Scripts\Modules
- Find:
CommonFunctionsModule.psm1
- Copy the file as a backup, just in case your cat jumps on your keyboard
- Open
CommonFunctionsModule.psm1
with a text editor - Search for text ‘
trim
’, there be 2 lines (beta release) - Remove both
.trim("\")
- Save file
This will be fixed in the GA version.
Please let us know how you get on.
![Posted 1 topic! Badge](https://uploads-us-west-2.insided.com/webroot-en/attachment/69ac9e92-f742-4b21-a517-37ab911d54f3_thumb.png)
I did something similar to fix mine, I just changed .trim to .trimend so it would only take off the trailing slash. Works great though!
Reply
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.