Focal Point
[SOLVED] HTML Page is blank when run

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3707066096

August 06, 2018, 10:18 AM
ccollier
[SOLVED] HTML Page is blank when run
I'm using the Google Charts API to create a word tree. I've created a blank fex file and put HTML inside it, and it doesn't work, instead it gives me a blank page. I've run the exact same HTML file from my C: drive and it works perfectly fine.

The funny thing is, while the HTML doesn't work when calling the Google API for the word tree, when calling the Google API for something like a bar chart, it works perfectly fine.

This is a pretty big inconsistency and I'm wondering if anyone else has had this problem before.

This message has been edited. Last edited by: ccollier,


WebFOCUS 8.2.01M on Windows 10
August 06, 2018, 10:45 AM
TobyMills
Hi there,

You'll need to get us a bit more information to try to answer your question.

You said you copied in your HTMLfrom a .html into a .fex I think?

A common error is to forget to wrap your HTML code up like this:

-HTMLFORM BEGIN

-HTMLFORM END

A quick search of techsupport reveals no problems from our outside view that we can see.

Please tell us what version of WebFOCUS you're running.

As a test, make sure you can do a simple Hello World first and that the page comes back to you okay.

Remember, since it's a Focexec, you'll need to use the -HTMLFORM to let Webfocus know how to interpret the HTML bits.

If it's not simple, I think I'd recommend opening a case. If you're a premium customer, call your designated Account Support Manager and see if they have any ideas.

Toby
August 06, 2018, 01:07 PM
ccollier
After submitting a report to IBI, I've learned that it doesn't seem to work on IE. IE is the default browser that is used when I run the code. I'm wondering if it's because it's a Google API and only works on Chrome. I'm not sure if it works on Firefox, but it does at least work on Chrome


WebFOCUS 8.2.01M on Windows 10