Solved

CSV Output From Documentum

Posted on 2009-04-09
7
710 Views
Last Modified: 2013-11-15
We are working with a vendor to spec out a Documentum-based solution.
Among the needs are a data file that reports on the state of active workflows daily.
Apparently this is standard functionality for Documentum.  Problem is, one particular
field may contain multiple delimited values, in particular file names.  According to
the vendor, Documentum delimits multiple items with commas.  That's fine.  The
vendor says, however, that if we use the CSV file extension, the editor, Excel or
whatever, will interpret the item-delimiting commas as column delimiters, so
they have advised us to use a TXT extension and delimit columns with tabs.
Well that's fine too, but it seems odd.  The official CSV specification says that
values that contain commas should be contained in quotes, and quotes should
be doubled.  Is Documentum CSV-unaware, or is our vendor not understanding
Documentum properly?

Mike
0
Comment
Question by:shacho
  • 3
  • 2
7 Comments
 
LVL 4

Expert Comment

by:omoralesm
ID: 24132765
Hi Shacho,

Your vendor's recommendation is right, let me show you why with the following example, among the different attributes of a running workflow's activity are the creation date and the list of performers that had to repeat the activity, the list of performers could be one or more different persons depending on the way it was defined on the previous activities. Lets say that you want a report on the execution of the activity Approve in your running  workflows, it will look like this:

Creation Date                    List of Performers that had to repeat this activity
01/01/2009                       John                                  
01/01/2009                       Susan, Joe
01/02/2009                       Susan, Joe, Helen

If you use the CSV format to store this information you'll have something like this:

Creation Date,List of Performers that had to repeat this activity
01/01/2009,John                                  
01/01/2009,Susan, Joe
01/02/2009,Susan, Joe, Helen

If you import this information each value will appear in a different column, so in the last row Joe and Helen will not appear as part of the List of Performers that had to repeat this activity.


0
 

Author Comment

by:shacho
ID: 24134220
Have you tested it?
0
 
LVL 4

Expert Comment

by:omoralesm
ID: 24138938
Yes, for sure, and it does not have nothing to do with Documentum, it is the way the values are separated. Lets say that instead of separating them with commas you do it with tabs, your file will look like this:

Creation Date    List of Performers that had to repeat this activity
01/01/2009       John                                  
01/01/2009       Susan, Joe
01/02/2009       Susan, Joe, Helen

If you save it in a text file with the TXT extension you can import that information into Excel and tell it to separate data using tabs instead of commas. However, if you are trying to get more sophisticated reports I would recommend you to use a report specific tool like Crystal reports to connect to the repositories database and generate your reports, they will look better and it will be easy to share them; or even better, use Documentum Reporting Services with Crystal Reports to get your reports done.
0
 

Accepted Solution

by:
shacho earned 0 total points
ID: 24144012
I finally got through to the vendor and got a chance to set up a CSV output file from Documentum to test.  As I suspected, Documentum is perfectly capable of generating data files that are compliant with the CSV specification, if you specify CSV with comma delimiters.  It puts all fields in quotes and escapes quotes with quotes.  There is no need to use Excel's text parsing functions.  So the vendor was wrong.  Thanks anyway for your comments.

Mike



0
 
LVL 4

Expert Comment

by:omoralesm
ID: 24150111
You are welcome
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question