Solved

Universal Reporter needs fixed for redirected documents

  • 7 October 2019
  • 5 replies
  • 323 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.
icon

Best answer by cbullas 28 January 2020, 18:53

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

View original

5 replies

Userlevel 4
Badge +11
Good find! Will add a story on this!

Thank you
Userlevel 4
Badge +11

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 4
Badge +11

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

Reply