Focal Point
[SOLVED]8007 Document Composer

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6777043576

March 29, 2015, 07:33 PM
Michele Brooks
[SOLVED]8007 Document Composer
I created a compound report using Document Composer. It has about 4 pages that consists of graphs and reports. I created separate fexes for each component and inserted them one after another in document composer. The report ran successfully originally. I had to make changes to some of the fexes and change the graphs from 3-D bar to regular bar graphs. I reimported each component in the correct order. The data displayed in document composer after I reimported each report and graph. After I ran the report and it came up, only the first report displayed data. All other reports and graphs did not display the data. I do not get any errors. When I run each fex interactively, they run successfully.

Can anyone tell me why that happens and what to do. Pasted below is the document composer code. Thanks.



*-HOLD_SOURCE
-* File std_0597_turnaround_time_averages
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=LANDSCAPE, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, ORIENTATION=LANDSCAPE, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,ORIENTATION=LANDSCAPE,', $
OBJECT=IMAGE, NAME='image1', IMAGE=genex_logo_transp11_pdf.gif, ALT='', POSITION=(0.521 0.521), DIMENSION=(1.667 0.583), METADATA='HEIGHT: 0.583in; WIDTH: 1.667in; POSITION: absolute; LEFT: 0.521in; Z-INDEX: 1; TOP: 0.521in rtFileName=genex_logo_transp11_pdf.gif', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.522 1.458), DIMENSION=(4.684 3.225),  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 3.225in; WIDTH: 4.684in; POSITION: absolute; LEFT: 0.522in; Z-INDEX: 9; TOP: 1.458in', $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(0.522 4.791), DIMENSION=(4.789 2.705),  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 2.705in; WIDTH: 4.789in; POSITION: absolute; LEFT: 0.522in; Z-INDEX: 10; TOP: 4.791in', $
COMPONENT='graph1', TEXT='graph1', TOC-LEVEL=2, POSITION=(5.288 2.088), DIMENSION=(5.207 3.330), COMPONENT-TYPE=GRAPH,  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 3.33in; WIDTH: 5.207in; POSITION: absolute; LEFT: 5.288in; Z-INDEX: 19; TOP: 2.088in', $
OBJECT=STRING, NAME='text10', TEXT='<font face="TREBUCHET MS" size=8>[b]Lag Time[/b] = Days from Customer Received to GENEX Received Bill<BR>[b]GENEX Time [/b]= Days from GENEX Received to Post minus Adjuster Time<BR>[b]Overall TAT [/b]= Lag Time + GENEX Time + Adjuster Time<BR>[b]TAT Category Complex [/b]= Manually processed, Nurse Consultant, Inpatient, or Special Handling<BR>bill that did not go to a bridge network or was not repriced by a network</font>', POSITION=(5.500 6.094), MARKUP=ON, WRAP=ON, DIMENSION=(5.719 1.438),  METADATA='WORD-WRAP: break-word; FONT-SIZE: 8pt; HEIGHT: 1.438in; FONT-FAMILY: TREBUCHET MS; WIDTH: 5.719in; POSITION: absolute; LEFT: 5.5in; Z-INDEX: 581; TOP: 6.094in', $
PAGELAYOUT=2, NAME='Page layout 2', text='Page layout 2', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, ORIENTATION=LANDSCAPE, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,ORIENTATION=LANDSCAPE,', $
COMPONENT='report4', TEXT='report4', TOC-LEVEL=2, POSITION=(0.521 0.875), DIMENSION=(4.375 3.010),  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 3.01in; WIDTH: 4.375in; POSITION: absolute; LEFT: 0.521in; Z-INDEX: 13; TOP: 0.875in', $
COMPONENT='report5', TEXT='report5', TOC-LEVEL=2, POSITION=(0.521 4.208), DIMENSION=(4.375 3.010),  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 3.01in; WIDTH: 4.375in; POSITION: absolute; LEFT: 0.521in; Z-INDEX: 14; TOP: 4.208in', $
COMPONENT='graph2', TEXT='graph2', TOC-LEVEL=2, POSITION=(5.416 2.957), DIMENSION=(4.583 4.369), COMPONENT-TYPE=GRAPH,  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 4.369in; WIDTH: 4.583in; POSITION: absolute; LEFT: 5.416in; Z-INDEX: 105; TOP: 2.957in', $
PAGELAYOUT=3, NAME='Page layout 3', text='Page layout 3', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, ORIENTATION=LANDSCAPE, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,ORIENTATION=LANDSCAPE,', $
COMPONENT='report9', TEXT='report9', TOC-LEVEL=2, POSITION=(0.498 0.916), DIMENSION=(4.375 7.081),  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 7.081in; WIDTH: 4.375in; POSITION: absolute; LEFT: 0.498in; Z-INDEX: 293; TOP: 0.916in', $
COMPONENT='graph5', TEXT='graph5', TOC-LEVEL=2, POSITION=(4.978 1.016), DIMENSION=(5.521 3.200), COMPONENT-TYPE=GRAPH,  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 3.2in; WIDTH: 5.521in; POSITION: absolute; LEFT: 4.978in; Z-INDEX: 579; TOP: 1.016in', $
COMPONENT='graph4', TEXT='graph4', TOC-LEVEL=2, POSITION=(4.978 4.500), DIMENSION=(5.521 3.200), COMPONENT-TYPE=GRAPH,  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 3.2in; WIDTH: 5.521in; POSITION: absolute; LEFT: 4.978in; Z-INDEX: 580; TOP: 4.5in', $
PAGELAYOUT=4, NAME='Page layout 4', text='Page layout 4', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, ORIENTATION=LANDSCAPE, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,ORIENTATION=LANDSCAPE,', $
COMPONENT='report10', TEXT='report6', TOC-LEVEL=2, POSITION=(0.524 0.664), DIMENSION=(4.375 7.333),  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 7.333in; WIDTH: 4.375in; POSITION: absolute; LEFT: 0.524in; Z-INDEX: 294; TOP: 0.664in', $
PAGELAYOUT=5, NAME='Page layout 5', text='Page layout 5', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report8', TEXT='report7', TOC-LEVEL=2, POSITION=(0.521 0.792), DIMENSION=(6.771 6.844),  ARREPORTSIZE=DIMENSION, METADATA='HEIGHT: 6.844in; WIDTH: 6.771in; POSITION: absolute; LEFT: 0.521in; Z-INDEX: 297; TOP: 0.792in', $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE std_0597_turnaround_time_averages_report1.fex
SET COMPONENT='report3'
-*component_type report
-INCLUDE std_0597_turnaround_time_averages_report2.fex
SET COMPONENT='graph1'
-*component_type graph
-INCLUDE std_0597_turnaround_time_averages_graph1.fex
SET COMPONENT='report4'
-*component_type report
-INCLUDE std_0597_turnaround_time_averages_report3.fex
SET COMPONENT='report5'
-*component_type report
-INCLUDE std_0597_turnaround_time_averages_report4.fex
SET COMPONENT='graph2'
-*component_type graph
-INCLUDE std_0597_turnaround_time_averages_graph2.fex
SET COMPONENT='report9'
-*component_type report
-INCLUDE std_0597_turnaround_time_averages_report5.fex
SET COMPONENT='graph5'
-*component_type graph
-INCLUDE std_0597_turnaround_time_averages_report5_top10l.fex
SET COMPONENT='graph4'
-*component_type graph
-INCLUDE std_0597_turnaround_time_averages_report5_top10h.fex
SET COMPONENT='report10'
-*component_type report
-INCLUDE std_0597_turnaround_time_averages_report6.fex
SET COMPONENT='report8'
-*component_type report
-INCLUDE std_0597_turnaround_time_averages_report7.fex
COMPOUND END




Latest Operating System: Windows 7, Latest Developer Studio: 8007

This message has been edited. Last edited by: Michele Brooks,


WF 8205, Windows 10
Oracle DBMS
EXL07/PDF Output
March 30, 2015, 03:02 AM
atturhari
From my experience, its hard to nail down the issue and even replicating the same with GUI.

Remove the -INCLUDEs from each component and embed the code instead. First begin with few components you may get a clue.
If this doesn't work then i would try recreating it from scratch rather the spending time to debug it.
March 30, 2015, 08:27 AM
pradhan_dp
Most of the times I've faced this issue is because:
1) the reports overlap each other causing one of them to overshadow others - In this case, adjust the position and dimension(relative or absolute)
2) the reports which are invisible are out of bounds for the paper size - In this case, adjust the format of the report.

Quickest way to debug was to comment out the includes and the corresponding component in the layout designer on the top. Uncomment them one at a time and see the output.


WebFOCUS 7.6.1
Windows, HTML,PDF,EXCEL2000
March 30, 2015, 12:59 PM
kmarshba
Hi Michele,

We get the same behavior when there is an error in the compound document. No error displays on the report but only the first section renders.

If you run the document from AppStudio, hit the little drop-down to the right of the "Run" button and click "Message Viewer ON" and then run the report. This should give you visibility to the error that is causing the other reports to not render.


Server: 8009; Client: 8009 Refresh; OS: Windows Server 2008 R2 64-bit; Web Server: Tomcat; Output Formats: All
April 08, 2015, 12:12 PM
Michele Brooks
Sorry for the delayed response, but I had to put out a few other fires and was finally able to get back to this one. Thank you so much for this suggestion because this is the one that worked. The includes had dialogue manager labels in it. This meant that each of the report components were using the same label names so I did not get any data for any of the other reports and graphs except the first report. I followed your suggestion by including in composer only the portion of the includes that I needed. I then gave each dialogue manager label a unique name. Everything ran smoothly. It would have helped if I had gotten a WF error indicating duplicate labels. Special thanks to you, and thanks to all who took the time to respond to this post.

quote:
Originally posted by atturhari:
From my experience, its hard to nail down the issue and even replicating the same with GUI.

Remove the -INCLUDEs from each component and embed the code instead. First begin with few components you may get a clue.
If this doesn't work then i would try recreating it from scratch rather the spending time to debug it.



WF 8205, Windows 10
Oracle DBMS
EXL07/PDF Output