I want to create an HTML page that will serve as a report, hopefully that pops up in a new window. For starters I'm trying to get a basic universal display file to display some simple HTML.
My display file and program compile correctly.
I added my entry to PROFOUNDUI/PUIMAPP:
URIMAP /bbc084
LIBRARY DEXPOBJ
PROGRAM BBC084
SIGNON
The URL for the designer is this:
http://tahoma:8130/profoundui/universal
So I assumed that the URL to load the program would be this:
http://tahoma:8130/profoundui/universal/bbc084
But when I load this URL into the browser it just brings up the universal designer with no file loaded. What could I be doing wrong?
Can't call universal display file
-
- Profound User
- Posts: 20
- Joined: Wed Aug 22, 2012 11:30 am
- First Name: Jeff
- Last Name: Wurst
- Company Name: BBCS
- State / Province: Washington
- Country: United States
- Contact:
- matt.denninghoff
- Profound Logic Staff Member
- Posts: 115
- Joined: Wed Feb 10, 2016 3:53 pm
- First Name: Matthew
- Last Name: Denninghoff
- Company Name: Profound Logic Software
- State / Province: Ohio
- Country: United States
- Contact:
Re: Can't call universal display file
Are there multiple instances of Profound UI on your system? If so, then there will be a different PUIMAPP file in each instance. The library associated with the instance running on your port 8130 should contain the PUIMAPP file. For example, if the instance on port 8130 is named PUITEST, then you'd need to edit the PUITEST/PUIMAPP file.
-
- Profound User
- Posts: 20
- Joined: Wed Aug 22, 2012 11:30 am
- First Name: Jeff
- Last Name: Wurst
- Company Name: BBCS
- State / Province: Washington
- Country: United States
- Contact:
Re: Can't call universal display file
There are multiple instances. I added the record to both of the libraries I thought it might be pointing at. Now, just to be sure I've located all copies of the file on the system (there are 11) and inserted the record into every one of them. It didn't help. I still just get the universal designer when I open that URL.
- matt.denninghoff
- Profound Logic Staff Member
- Posts: 115
- Joined: Wed Feb 10, 2016 3:53 pm
- First Name: Matthew
- Last Name: Denninghoff
- Company Name: Profound Logic Software
- State / Province: Ohio
- Country: United States
- Contact:
Re: Can't call universal display file
There might be something wrong with the HTTP Server Configuration. The default configuration of the PROFOUND1 instance, for example, would be in the IFS file /www/profound1/conf/httpd.conf . For Universal Display Files to function, there should be these lines in that configuration file (assuming the instance name is PROFOUND1):
The behavior you described would happen if the following line were missing:
By default, the HTTP configuration file for each instance are in /www/theInstanceName/conf/httpd.conf. To identify the correct file, you'd be looking for the file that runs port 8130, so you'd look for the one containing this line:
Can you find the HTTP Server configuration for your instance and confirm that the necessary lines exist.
Code: Select all
ScriptAliasMatch ^/profoundui/universal/(.*) /QSYS.LIB/PROFOUND1.LIB/PUI0006000.PGM
ScriptAliasMatch ^/profoundui/auth/universal/(.*) /QSYS.LIB/PROFOUND1.LIB/PUI0006000.PGM
SetEnv PUI_UNIVERSAL /profoundui/universal
SetEnv PUI_UNIVERSAL_AUTH /profoundui/auth/universal
Code: Select all
ScriptAliasMatch ^/profoundui/universal/(.*) /QSYS.LIB/PROFOUND1.LIB/PUI0006000.PGM
Code: Select all
Listen 8130
-
- Profound User
- Posts: 20
- Joined: Wed Aug 22, 2012 11:30 am
- First Name: Jeff
- Last Name: Wurst
- Company Name: BBCS
- State / Province: Washington
- Country: United States
- Contact:
Re: Can't call universal display file
Thank you, I'll look into this.
Who is online
Users browsing this forum: No registered users and 1 guest