Skip to main content
Solved

Universal Reporter needs fixed for redirected documents


Forum|alt.badge.img+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.

Best answer by cbullas

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

View original
Did this help you find an answer to your question?

4 replies

cbullas
Forum|alt.badge.img+11
  • Retired Webrooter
  • 50 replies
  • October 8, 2019
Good find! Will add a story on this!

Thank you

cbullas
Forum|alt.badge.img+11
  • Retired Webrooter
  • 50 replies
  • October 23, 2019

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.


Forum|alt.badge.img+1
  • Author
  • Fresh Face
  • 1 reply
  • October 23, 2019

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!


cbullas
Forum|alt.badge.img+11
  • Retired Webrooter
  • 50 replies
  • Answer
  • January 28, 2020

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


Reply