As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Can anyone help me in displaying data with images in 4X4 matrix per page in pdf.
For example: Below cell is (1X1)cell of 4x4 matrix, Output should be like below for each cell of matrix:
Image1 ImageId:21 Imagename:xx ImageSize=10px
Please help me out to get the solution for above.Its urgent? Thanks in advance for all the suggestions and responses.This message has been edited. Last edited by: <Kathryn Henning>,
I need to know, will this PAGEMATRIX work for 30000 records as well.
because while i m running my code it shows an error message as "style reports is limited to 128 columns.
SET ONLINE-FMT = PDF
ENGINE SQLMSS SET DEFAULT_CONNECTION CON01
SQL SQLMSS PREPARE SQLOUT FOR
SELECT 'IMAGENAME: '+NORTHWND.DBO.TBLIMAGE.IMNAME AS IMAGENAME,'IMAGE_ID: '+CONVERT(VARCHAR(50),NORTHWND.DBO.TBLIMAGE.IMAGEID) AS IMAGEID FROM NORTHWND.DBO.TBLIMAGE
END
;
DEFINE FILE SQLOUT
AA/A500V='<IMG SRC="HTTP://LOCALHOST:8080/APPROOT/SHWETA/'||LOCASE(100,SQLOUT.SQLOUT.IMAGENAME,IMAGENAME)||'.JPEG" WIDTH=80PX HEIGHT=30PX/>';
END
TABLE FILE SQLOUT
BY IMAGENAME
BY IMAGEID
ON IMAGENAME PAGE-BREAK
HEADING
"<AA"
"<IMAGENAME"
"<IMAGEID"
-*ON TABLE SET PAGE-NUM NOPAGE
ON TABLE SET STYLE *
UNITS=IN,ORIENTATION=LANDSCAPE,
PAGEMATRIX=(4 4), PAGESIZE=A1, LEFTMARGIN=1.256, TOPMARGIN=2.5,
ELEMENT=(2.3 1), GUTTER=(0.188 0), $
ENDSTYLE
END
please suggest me what changes i need to do in my above code.
Thanking you in advance.
regards, Shweta SharmaThis message has been edited. Last edited by: Shweta Sharma,
IIRC, the HTML IMG tag is not honored for PDF output; you need to use STYLE code, with IMAGE=(column). So I suspect it is trying to render your AA/A500 field literally, and the target area is too narrow for that.
Did you verify that this works when limited to one incoming record? Does it work when targeted to the whole sheet (by omitting pagematrix, element and gutter from the style)?This message has been edited. Last edited by: j.gross,
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
TABLE FILE SQLOUT PRINT ITEMNUMBER STATUS PRODUCTNAME WASHIGHESTRETAIL BUYER SHRT DEPT_CODE PERCENTOFPAGE SURCHARGE UNITSPLANNEDTOSELL EXCLUSIVE FEATURE ON TABLE HOLD AS ITEMID_LIST FORMAT ALPHA END
-*USING DEFINE TAG TO READ IMAGES FROM THE STORED LOCATION THEN TO DISPLAY IN OUTPUT
DEFINE FILE SQLOUT -SET &CIMAGE='D:\ibi\apps\image_extract\image\img37144.jpg'; END
TABLE FILE SQLOUT BY PRODUCTNAME NOPRINT BY ITEMNUMBER NOPRINT ON PRODUCTNAME PAGE-BREAK HEADING """"""-*ON ITEMNUMBER PAGE-BREAK ON TABLE SET NODATA ' ' ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * IMAGE=&CIMAGE.EVAL, POSITION=(1-0), SIZE=(.3 .3),JUSTIFY=LEFT, UNITS=IN, PAGEMATRIX=(4 4), PAGESIZE='Legal', ELEMENT=(1.000000 1.000000), GUTTER=(0.291667 0.000000), LABELPROMPT=OFF, TOPMARGIN=0.083333, BOTTOMMARGIN=0.083333, $ TYPE=REPORT, GRID=ON, FONT='ARIAL', SIZE=9, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $ TYPE=DATA, COLUMN=N1, SIZE=9, $ TYPE=TITLE, STYLE=BOLD, $ TYPE=TABHEADING, SIZE=8, STYLE=BOLD, $