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.
I have a fex with output format in XML to serve an ESRI Map in HTML canvas. Is there any was i can do the &LINES checking similar to i do in HOLD or HTML format. For XML &LINES check is not working it seems. But i can see a LINES tag in XML output. Did anyone worked on branching in XML output fex?This message has been edited. Last edited by: FP Mod Chuck,
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017
That fex with output format XML serves the ESRI map. For some reason if i try to HOLD and then do other stuff ,Map is not refreshing after initial load.
I tried earlier the below scenario: HOLD AS HLD1 Then checked &LINE conditon -label print HLD1 as XML
But map is not refreshing after initial load.
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017
TABLE FILE CAR
PRINT COUNTRY
ON TABLE HOLD AS CHECK
END
-RUN
-IF &LINES EQ 0 THEN GOTO ::Zero:Recs;
TABLE FILE CAR or CHECK if it has all the columns
PRINT COUNTRY
ON TABLE PCHOLD FORMAT XML
END
-RUN
-GOTO ::End
-::Zero:Recs
-* Zero Recs Handler
.
.
.
-::End
I a doing similar to what you have shown. But the problem is map layer is not refreshing after initial load if i do branching like this. If i am not branching and have the only main fex,it will refresh.
Here is the code i use.I changed filed names/table names.
TABLE FILE FACT_DEMO_TABLE
PRINT
COMPUTE LATITUDE_LONGITUDE_POINT/A150 = GIS_POINT('4326', FACT_DEMO_TABLE.LONGITUDE, FACT_DEMO_TABLE.LATITUDE);
FACT_DEMO_TABLE.TYPE_DESCR
FACT_DEMO_TABLE.EVENT_NUM
FACT_DEMO_TABLE.LATITUDE
FACT_DEMO_TABLE.LONGITUDE
WHERE
( FACT_DEMO_TABLE.START_DATETIME GE '&START_DATE 00:00:00' )
AND ( FACT_DEMO_TABLE.START_DATETIME LE '&END_DATE 23:59:59')
AND FACT_DEMO_TABLE.DISTRICT_ID EQ &DISTRICT_ID
AND FACT_DEMO_TABLE.COUNTY_ID EQ &COUNTY_ID
AND FACT_DEMO_TABLE.CITY_ID EQ &CITY_ID
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE HOLD AS HOLDMAPPTS FORMAT FOCUS
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
END
-IF &LINES EQ 0 GOTO :DONE;
TABLE FILE HOLDMICRPTS
PRINT
*
ON TABLE PCHOLD FORMAT XML
END
-EXIT
-:DONE
TABLE FILE FACT_DEMO_TABLE
PRINT
COMPUTE LATITUDE_LONGITUDE_POINT/A150 = GIS_POINT('4326', FACT_DEMO_TABLE.LONGITUDE, FACT_DEMO_TABLE.LATITUDE);
COMPUTE TYPE_DESCR/A40V ='DUMMY VALUE';
COMPUTE EVENT_NUM/A40V ='DUMMY VALUE';
COMPUTE LATITUDE/A40V = '0';
COMPUTE LONGITUDE/A40V = '0';
WHERE RECORDLIMIT EQ 1
WHERE READLIMIT EQ 1
ON TABLE PCHOLD FORMAT XML
END
-EXIT
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017
Added -RUN but stll the map layer wont refresh after first run.Looks like the map will only accept fields in a particular way.If i branch or do some processing out side of the main fex and pass the fields then map layer is not refreshing.
I will be happy if the map layer gets created even though the initial load gives zero output so that i don't have to do any pre/post processing of map fields.
WF8206,Windows 7,8,10 HTM,PDF,EXCEL
Posts: 229 | Location: MI | Registered: September 13, 2017
I would suggest using your browsers developer tools to look at the response from the call to see what is happening, perhaps compare to a successful one