Hi everyone, I want to share/confirm the following issue with ARIS Reporting Mechanism. Business Server: version 7.1.0.42xxx Server Operating System: Windows 2003 64 bit Client Operating System: Windows XP + MS Office 2007 Suite Installed Recently I was trying to integrate ARIS with a Document Management System (DMS) so that reports generated from ARIS will be uploaded to DMS. I wrote scripts and code on both sides (ARIS and DMS) to allow this kind of integration. I then ran a simple report to show model and it's graphics on a WORD file. Our client environment is purely MS Office Productivity suite so it does not make sense to upload documents in PDF format. With WORD file you have other benefits like EDIT ONLINE feature supported by most DMS throught webdav or other virtual file management protocol. I choose to run report Standard Report --> Model Information and evaluate the report.
12 Replies
-
My apology for multiple edit of the article. It was due to the wrong format appearing but now I fixed the format problem.
-
Hi Adnan,
I think the way it is done now allows editing the ARIS image directly in the Word document. So it is probably a vector format.
-
@Stein,
What kind of Image Editing are you talking about in word file? Can I move around the symbols on model graphics in word File? MS Word will not perform any image processing to convert model graphics into squares and boxes to be edited on word file. Imagine if I ran the same report on 10 models with 100% zoom size (to make picture visible). The size of file become huge.
Imagine 47 MB just for 10 model graphics vs. 2MB file which I get when I use MS WORD to convert ARIS Report DOC file to regular MS DOC file (used SAVE AS in MS WORD Software).
Instead of inserting image in jpg or other format, the code behind ARIS Reporting Component dump the raw image vector data which is of no use other than making document size huge. Imagine this is only one model graphic file inserted on word document.
Binary vs Raw Image Data
-
Well, I don't know how it works exactly, but it is definetely not a good idea to insert an image as JPG, but instead a vector format must be used. This ensures good printing quality on all zoom levels. But let's wait if some of the devs clarify this.
-
I wrote this article to stress on two points:
- Just because you change a file extension for example you create a text document (myreport.txt) and insert the text inside it and then you rename it to (myreport.doc) will not mean that you have created a valid MS WORD DOC file. But if you have open the text file in word and use Save As option then you will have a valid MS WORD DOC File.
- Secondly ARIS Business Server does not need to have MS OFFICE Installed on same machine for WORD Document Reporting. ARIS Business Server is not making any use of it. It just create RTF type document and rename this to <.DOC>. In my opinion, ARIS Business Server should call MS Office Suite to convert the DOC file and then send to the client. It's not very difficult to code.
-
Hi Adnan,
I talked to the devs and now I remember again what causes this. At the moment, it can't be solved, but creating real Word (doc) files is on the roadmap for ARIS 7.2 (don't ask me for a release date). You can try to get around this problem by disabling the gradient in the objects. In that case, the generated file should be far smaller.
-
-
"creating real Word (doc) files is on the roadmap for ARIS 7.2"
Unfortunately this is not the case. ARIS 7.2 still produces only RTF-Word files. So we still have to install and use OpenOffice and a Java converter libray to produce real binary DOC-Word files with ARIS reports.
-
I just learned that it's now possible (using ARIS build 7.2.0.546073) to generate real Word binary documents.
To use it in a script do the following:
Add the line
Context.setProperty("use-new-output", true)This line should be inserted before the output object is created (with 'Context.createOutputObject').
If you use Word as output, I recommend to use this new feature. It reduces the output files considerably.
-
Hi,
I tried to use the syntax:
Context.setProperty("use-new-output", true)
but somehow now my Table of Contents is missing.
Is it only me who is facing this problem? Or is it a known bug with that new syntax?
Cause I tried with the standard report 'Output Model Information' also produce the same result; Table of Contents is missing.Thanks.
-
Hello
I also face troubles with 'Context.createOutputObject' with 7.1.0 SR 2010_09.
Despite using the format Constants.OUTWORD and the .doc extension, the reports produced are not real .doc, but .rtf, as proven when MSWord (2010) tries to "save as" always in rtf format by default.
I tried using Context.setProperty("use-new-output", true), but it had no effect at all.
Thanks for any suggestion
-
Hello,
I am facing the same issue of missing TOC with the usage of Context.setProperty("use-new-output", true) in ARIS 7.2.
Is there is solution to this problem ?
Regards.