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.
below is the sample what am trying > -SET &ECHO = ALL; DEFINE FILE CAR SUM_VAL1/D12 = DEALER_COST/10; SUM_VAL2/D12 = DEALER_COST/1.5 * 25; SUM_VAL3/D12 = DEALER_COST; END ENGINE INT CACHE SET ON -DEFAULTH &WF_STYLE_UNITS='PIXELS'; -DEFAULTH &WF_STYLE_HEIGHT='405.0'; -DEFAULTH &WF_STYLE_WIDTH='770.0'; -DEFAULTH &WF_TITLE='WebFOCUS Report'; GRAPH FILE CAR -* Created by Info Assist for Graph SUM SUM_VAL1 AS '' SUM_VAL2 AS '' SUM_VAL3 AS '' BY COUNTRY AS '' BY CAR NOPRINT ON GRAPH HOLD AS LEAD FORMAT GIF -*ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET VZERO OFF ON GRAPH SET HTMLENCODE ON ON GRAPH SET GRAPHDEFAULT OFF ON GRAPH SET GRWIDTH 1 ON GRAPH SET UNITS &WF_STYLE_UNITS ON GRAPH SET HAXIS &WF_STYLE_WIDTH ON GRAPH SET VAXIS &WF_STYLE_HEIGHT ON GRAPH SET GRMERGE ADVANCED ON GRAPH SET GRMULTIGRAPH 0 ON GRAPH SET GRLEGEND 0 ON GRAPH SET GRXAXIS 2 ON GRAPH SET LOOKGRAPH VLINE ON GRAPH SET STYLE * *GRAPH_SCRIPT setPieDepth(0); setPieTilt(0); setDepthRadius(0); setCurveFitEquationDisplay(false); setPlace(true); setUseSeriesShapes(true); setMarkerSizeDefault(50); *END INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$ TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $ *GRAPH_SCRIPT setReportParsingErrors(false); setSelectionEnableMove(false); setDisplay(getO1MajorGrid(),false); setFillColor(getFrame(),new Color(192,192,192)); setTransparentBorderColor(getChartBackground(),false); setSmoothLines(true); setLegendPosition(2); setLegendOrient(0); setBorderColor(getLegendArea(),new Color(0,0,0)); setTextString(getO1Title(),""); setFontName(getO1Label(),"ARIAL"); setFontSizeAbsolute(getO1Label(),true); setAutofit(getO1Label(),false); setFontSizeInPoints(getO1Label(),10); setPlaceResize(getO1Label(),0); setFontName(getY1Label(),"ARIAL"); setTextFormatPreset(getY1Label(),-2); setGridStyle(getY1MajorGrid(),2); setAltFmtFrameNumColors(getY1AltFmtFrame(),5); setTransparentBorderColor(getLegendArea(),false); *END ENDSTYLE END -RUN -*IA_GRAPH_FINISH DEFINE FILE CAR SPACE/A5=''; IMAGE1/A200= ''; END TABLE FILE CAR BY CAR NOPRINT HEADING “IMAGE1” END -EXIT
>This message has been edited. Last edited by: Dev,
Or you can put a folder called images in your \WebFOCUS\ibi\WebFOCUS81\ibi_html folder. Then access it directly using yourDom:8080/ibi_html/yourFolder/Yourfiles.jpg
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
I changed few thing and tried below URL its working in HTML but not in Excel format, Is there we need to change any server settings or in the Code level
Its working. below is the code. But this image is storing in the Data server. Am trying to HOLD this image in the content and have to retrieve. Please share if anyone know!
SET GRAPHSERVURL='' FILEDEF CHART DISK chart.gif END
GRAPH FILE CAR SUM SALES ACROSS COUNTRY ON TABLE HOLD AS CHART FORMAT GIF ON TABLE SET STYLE * ENDSTYLE END
DEFINE FILE GGSALES SHOWCAT/A100='chart.gif'; END TABLE FILE GGSALES SUM DOLLARS UNITS BUDDOLLARS BUDUNITS SHOWCAT NOPRINT BY REGION BY ST BY CATEGORY BY PRODUCT ON TABLE SET BYDISPLAY ON ON TABLE PCHOLD FORMAT EXL07 ON TABLE SET STYLE * FONT=ARIAL,SIZE=12,XLSXPAGESETS=ON,TOPMARGIN=1,BOTTOMMARGIN=1,ORIENTATION=LANDSCAPE,PAGESIZE=LETTER,$ TYPE=TITLE, COLOR=WHITE, BACKCOLOR=GREY,$ TYPE=DATA,COLUMN=DOLLARS,IMAGE=(SHOWCAT),POSITION=(+0.000000 +0.000000),SIZE=(.5 .5),$ ENDThis message has been edited. Last edited by: Dev,
The TYPE=DATA,COLUMN=SHOWCAT,IMAGE=(SHOWCAT),SIZE(n n),$ syntax is how you would present the image into the output when the contents of the SHOWCAT field is a BLOB.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004