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

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
nwhite1114
New User
Posts: 14
Joined: Tue Nov 10, 2009 5:43 pm
First Name: Natalie
Last Name: Kondratenko
Company Name: Dupre Logistics
Phone: 337-314-2304
Address 1: 201 Energy Parkway
Address 2: Suite 500
City: Lafayette
State / Province: Louisiana
Zip / Postal Code: 70508
Country: United States
Contact:

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

Post 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?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

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

Post 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests