Page 1 of 1

Chart built in Profound UI, called in RPGsp, doesn't render

Posted: Tue Feb 26, 2013 4:49 pm
by nwhite1114
I have built a Multiple series line chart in Profound UI and create a string of XML data in my RPG program and binded it to the CHART XML property. If I call it using Atrium, everything works beautifully.

I have created a link in a menu coded in RPGsp that will call an RPGsp program that OnLoad will open a window with the Profound UI chart program. See code below:

<BODY bgColor=#ffffff leftMargin=0 topMargin=0 onload="window.open('https://home.duprelogistics.com/profoun ... /FGLDEDEMP')";
MARGINHEIGHT="0" MARGINWIDTH="0">

I have done this with other Profound UI programs before and it has worked perfectly. The only difference this time is that I have a chart and not a subfile being displayed.

The window opens and everything renders on the page except for the chart. It has the text "Database file not specified for chart." What am I missing?

Re: Chart built in Profound UI, called in RPGsp, doesn't render

Posted: Tue Feb 26, 2013 5:19 pm
by Scott Klement
It looks like you are running your PUI program in an anonymous session? That means that the userid QTMHHTP1 needs to have authority to the files, etc. Is that the case?

You also will want to make sure your library list is set up properly in the PUI session, because another possible problem might be that the database file isn't found in the libl.

You could also make it use basic authentication to give you a "real' session by adding /auth/ into the URL, like this:
https://home.duprelogistics.com/profoun ... /FGLDEDEMP

Does that help?