Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Anyone used D3.json, d3.xml, d3.csv

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Anyone used D3.json, d3.xml, d3.csv
 Login/Join
 
Silver Member
posted
Hello

Has anyone used D3.JSON, D3.XML or D3.CSV to integrate WebFOCUS data with D3. Please help.

I understand that we don't have JSON format in WebFOCUS. But Is there a solution to this.

Please post a sample code.

Thank you,

This message has been edited. Last edited by: <Kathryn Henning>,


7.7, Windows, HTML
 
Posts: 38 | Registered: December 30, 2011Report This Post
<Kathryn Henning>
posted
Hi Gun,

We currently have a Project in programming to integrate the D3 library into WebFOCUS.

Cheers!

Kathryn
 
Report This Post
<FreSte>
posted
Gun,

I'm using JSON-format quite a lot.

For the time being you could use a technique like this:
... and I use jQuery (AJAX to WebFOCUS) to retrieve the data (see fex below)


  
DEFINE FILE CAR
  X1_DEALER_COST/P12.2 = DEALER_COST;
  X2_DEALER_COST/A12   = FPRINT(X1_DEALER_COST, 'P12' , 'A12');
  X1_SEATS/A3          = FPRINT(SEATS, 'I3' , 'A3');
 
  FLD/A200    = '{country: "' || COUNTRY        || '",' ||	
                ' car: "'     || CAR            || '",' ||	
                ' model: "'   || MODEL          || '",' ||	
                ' dcost: "'   || X2_DEALER_COST || '",' ||	
                ' seats: "'   || X1_SEATS       || '"} ,';
END

TABLE FILE CAR
  PRINT 
    FLD
  ON TABLE PCHOLD FORMAT ALPHA
END
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Anyone used D3.json, d3.xml, d3.csv

Copyright © 1996-2020 Information Builders