Question

Universal Reporter needs fixed for redirected documents

  • 7 October 2019
  • 4 replies
  • 65 views

Badge +1
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.

4 replies

Userlevel 3
Badge +9
Good find! Will add a story on this!

Thank you
Userlevel 3
Badge +9

Just to elaborate here, if you are encountering this issue you can try the following:

  1. Close the tool
  2. Go to: C:\Users\[username]\AppData\Local\Webroot Reporting\Templates\Common\Scripts\Modules 
  3. Find: CommonFunctionsModule.psm1 
  4. Copy the file as a backup, just in case your cat jumps on your keyboard 
  5. Open CommonFunctionsModule.psm1  with a text editor
  6. Search for text ‘trim’, there be 2 lines (beta release)
  7. Remove both .trim("\") 
  8. Save file

This will be fixed in the GA version.

 

Please let us know how you get on.

Badge +1

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!

Userlevel 3
Badge +9

Please note that this is now fixed in the ‘release version’. Thank you for your beta feedback!

Reply