Customize the Vault Report

By Barbara Han

As you may already know, Vault can produce a search report (.RDLC file), which can be customized. If you are not familiar with this feature, I’d like to recommend this link first:

http://images.autodesk.com/adsk/files/report_template_authoring.pdf 

The report can be customized in a variety of ways.  Here is a simple sample illustrating how to do some customization upon the report template:

1. Ensure there is an existing UDP for the file. If no, create one through Vault Explorer UI before advancing to next step.

2. Use <Vault Professional 2013 installation path>\Explorer\ReportTemplateAuthoringUtility.exe tool to create a new .rdlc file (let’s say “myProp.rdlc”) with just one UDP property that I want to use.
3. Make a copy of an existing report template (e.g. File Details.rdlc) from Vault installation path. Let’s name it as "Copy of File Details.rdlc".
4. Open the myProp.rdlc file with notepad, and copy the <Field>…</Field>, use the notepad to open "Copy of File Details.rdlc", and pasted <Field>…</Field> into <Fields>…</Fields> node, save this file.
5. Use Visual Studio 2008 to open this new "Copy of File Details.rdlc", make some UI design, for example adding two textboxes from toolbox and dragging the UDP from the field list to the design form. Save the .rdlc file and quit VS 2008.
6. Use the result RDLC file template to generate file search report from Vault Explorer .

In my test, I found the .rdlc file won’t work as expected if I use Visual Studio 2010 to open it and convert it to RDLC 2008 format. Only Yes and No option are available when Visual Studio 2010 opens the .rdlc file. Yes means you agree to convert, No means VS 2010 uses XML Editor to open it. I have to choose Yes because I want to make some UI design and don’t know how I can make the RDLC design with XML Editor, so…The only way seems to use VS 2008 to do the UI design, or you will get a problematic .rdlc template.


Comments

10 responses to “Customize the Vault Report”

  1. Thanks for your post, Barbara!
    I confirm. I had the same problem, with VS 2010. So, at now I’m using the VS 2008 to edit RDLC files. Of course, it quite strange that the Vault 2013 still using MS Report Viewer 2008.

  2. I don’t know why it is not upgraded, but anyway I have passed your comment to my colleague in our engineering team for their attention. :)

  3. I did a virtual session on this topic for Autodesk University 2011: http://au.autodesk.com/?nd=class&session_id=9771
    -Ryan

  4. I heard from our engineering team that Visual Studio Express 2008 has support for RDLC editing, but this feature was removed from Visual Studio Express 2010. So we still stuck with the 2008 format so that people still have a free RDLC editor from Visual Studio Express 2008.

  5. Thank you for sharing this, Ryan! Nice one. I will recommend people to look at it when they ask similar question.

  6. Paul Coleman Avatar
    Paul Coleman

    Hi Barbara
    Is it possible to add new properties to an existing rdlc file?
    We have added new UDP’s in vault and want to update the rdlc file with these properties.
    Thanks Paul

  7. pacdraftingservices@gmail.com Avatar
    pacdraftingservices@gmail.com

    Hi Barbara
    Is it possible to add new properties to an existing rdlc file?
    We have added new UDP’s in vault and want to update the rdlc file with these properties.
    Thanks Paul

  8. I’ve worked it out via text files.
    Thanks for your reply.

  9. I’ve solved the same problem by Productstream PRo-Easy2010 with VISUAL WEB DEVELOPER 2008

  10. The url referenced is dead now.
    I wonder if it possible to set up report template in a form of rating?
    Let say … get which file extensions used most often and which are unique; who is most productive author (created by) etc…
    PS: Pie diagram is used as icon for Report button. Supposed it also could be set up to get some kind of diagram?

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading