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.
GRAPH FILE DATA_TABLE
SUM STD_COUNT AS '# of Students'
BY COMBO_NAME AS 'Map Title'
BY ZIP3 AS 'First Three Digits of ZIP Code'
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET LOOKGRAPH CHOROPLETH
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
TYPE=DATA, COLUMN=COMBO_NAME, BUCKET=page, $
TYPE=DATA, COLUMN=ZIP3, BUCKET=location, $
TYPE=DATA, COLUMN=STD_COUNT, BUCKET=color, $
*GRAPH_JS_FINAL
"title":{"visible": true, "text": "SHOULD HAVE VALUE OF COMBO_NAME HERE"},
"mapProperties": {
"leaflet": {
"initPos": {
"center": [35.3, -80.7],
"level": 6
},
"baselayers": [
{
"layerInfo": {
"maxZoom": 16,
"attribution": function() { return "&|copy; <a target='_blank' href='http://www.InformationBuilders.com'>Information Builders</a> | " + "Map Tiles: &|copy; Esri"; }
},
"title": "ArcGIS_World_Street_Map",
"url": function(){return "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}"; }
}
],
"overlayLayers": [
{
"dataLookup": "properties.zcta3",
"layerInfo": {
"type": "regions"
},
"type": "tdg",
"title": "Student Location by First Three Digits of ZIP Code",
"url": function() { return tdgchart.getScriptPath() + 'map/uszip3state.json' }
}
]
}
},
...
"agnosticSettings": {
"chartTypeFullName": "Choropleth"
}
*END
ENDSTYLE
END
The problem is that I need a different title above each map, but the same static title on each is all I've been able to do. I'm pretty sure that "SHOULD HAVE VALUE OF COMBO_NAME HERE" should be replaced with a callback function, but nothing I tried worked. Anyone have a suggestion?
STEVEThis message has been edited. Last edited by: FP Mod Chuck,
I don't see how that could work. The fex makes multiple maps. There is a separate map for each COMBO_NAME and COMBO_NAME is that map's title. I would need to set WF_TITLE's value before the fex starts, right? How could WF_TITLE's value change as the fex runs?
I did try to create a series of single maps by looping through the fex once for each value of COMBO_NAME. The problem is that it created each map in the same window, each one replacing the previous ones, so that I only wound up with one map. If there was some way to open a new browser window each time the fex ran or append each map at the bottom of the previous, that might work. Anyone know how to do that?
I was just shooting for HTML output, but I'm open to alternatives. A compound document would be OK I guess. I hadn't tried that. My portal options are limited as my portal is public.