(Resolved) COORDINATED COMPOUND PDF with bookmarks fails
We have WF v8008. I can create a COMPUND PDF Report with a Master (page numbers are needed). I can create a COORDINATED PDF. But the combination of a COMPOUND COORDINATED PDF with a Master Page errors out every time.
The error is that pesky Visual Studio error. If you continue, the "Error code is: 32027Could not get error message" results. Has anyone else created a COORDINATED COMPOUND PDF report with bookmarks successfully?
*-HOLD_SOURCE
-*
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
OBJECT=bookmarks ,$
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=ON, ORIENTATION=LANDSCAPE, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=ALL, NAME='Page Master', $
OBJECT=STRING, NAME='text1', TEXT='<font face="TREBUCHET MS" size=10>This is my footing</font>', POSITION=(0.624 7.185), MARKUP=ON, WRAP=ON, DIMENSION=(9.873 0.500), METADATA='Z-INDEX: 1; POSITION: absolute; WIDTH: 9.873in; FONT-FAMILY: TREBUCHET MS; WORD-WRAP: break-word; HEIGHT: 0.5in; FONT-SIZE: 10pt; TOP: 7.185in; LEFT: 0.624in', $
COMPONENT='DfltCmpt1', POSITION=(0 0), DIMENSION=(0 0), $
PAGELAYOUT=1, NAME='cover page', text='cover page', 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='cover', TEXT='cover', TOC-LEVEL=1, POSITION=(0.500 0.500), DIMENSION=(10.000 7.500), ARREPORTSIZE=DIMENSION, METADATA='Z-INDEX: 2; POSITION: absolute; WIDTH: 10in; HEIGHT: 7.5in; TOP: 0.5in; LEFT: 0.5in', $
END
SET COMPONENT='DfltCmpt1'
TABLE FILE SYSCOLUM
" "
SUM TBNAME NOPRINT
IF READLIMIT EQ 1
ON TABLE SET PREVIEW ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
END
SET COMPONENT='cover'
-*component_type report
-INCLUDE rwbtg_cover_report.fex
COMPOUND END
This message has been edited. Last edited by: mpbMDE,
WebFOCUS 8.1.05 Windows 7, all output
December 13, 2015, 01:43 AM
Rifaz
quote:
TABLE FILE SYSCOLUM " " SUM TBNAME NOPRINT IF READLIMIT EQ 1 ON TABLE SET PREVIEW ON ON TABLE SET PAGE-NUM NOLEAD ON TABLE PCHOLD FORMAT PDF ON TABLE SET STYLE * END
CO-ORDNINATED COMPOUND reports requires a common sort field and I don't see any in your first report. Also, from your code, I don't see the page layout 2 either.
-Rifaz
WebFOCUS 7.7.x and 8.x
December 14, 2015, 11:33 AM
mpbMDE
Thank you for your response. There are actually 8 fexes '-INCLUDED' in the report. The 'cover' component is only the first. "rwbtg_cover_report.fex". All of these do have a common first sort field. I am not able to post the code from these 8 reports. It's confidential. Thanks! Marilyn
WebFOCUS 8.1.05 Windows 7, all output
December 14, 2015, 12:51 PM
Rifaz
If that's the case, I have tested with CAR reports and it's fine for me.
Can you try with CAR then?
-Rifaz
WebFOCUS 7.7.x and 8.x
December 15, 2015, 08:42 AM
Msondra
Hi mpdMDE,
This is Margaret O.
You might have to with start fresh document with the master page inserted and set up before you add anything else. Then added your components one by one and test with coordinated and bookmarks turned on. I've had to tweak the internal query that gets built for the coordination. Sometimes the sort gets messed up.
A working example there at MDE is the application packet for grants. I can't remember exactly what it is called, but it puts together a cover page with a table of contents, bookmarks and I believe coordination.
Good Luck -Margaret
WebFOCUS 8.1.05 Windows, All Outputs
December 15, 2015, 01:19 PM
mpbMDE
Hi Margaret! Merry Christmas to you!! The report is no longer going to be a coordinated report, so the issue has magically disappeared for now. I will keep the info for the future, though! Thanks!