I am getting an error when making an ajax call, I get CPF9812 on the display file. It has to be related to the library list that I have when I call my pui rich display program. For really simple universal displays I take the launch preview option.
My question is how does a universal display program get started the first time? If I create a universal display file and a program that reads and writes to it, is there a way to manually launch and call it from a browser to make sure that everything is working ok before trying to call it via ajax javascript?
Universal display file/program development
-
- New User
- Posts: 17
- Joined: Thu Mar 12, 2015 6:33 pm
- First Name: Jim
- Last Name: Murtha
- Company Name: Dealertrack
- Contact:
- David
- Profound Logic Staff Member
- Posts: 690
- Joined: Fri Jan 04, 2008 12:11 pm
- First Name: David
- Last Name: Russo
- Company Name: Profound Logic Software
- Contact:
Re: Universal display file/program development
When the UDF programs are called by Ajax using the Profound UI / Genie Designer properties, the user session id is passed along on the request and the UDF web connector has some internal processing that sets up the library list to match the user session.
When they are called independently of a Profound UI / Genie session, the library list will include only those specified in the system values QSYSLIBL and QUSRLIBL or the job description QHTTPSVR/QZHBHTTP.
A quick/easy way to get libraries onto the list for development testing is to just run the ADDLIBLE or CHGLIBL from the program and then USROPN files in the RPG.
When they are called independently of a Profound UI / Genie session, the library list will include only those specified in the system values QSYSLIBL and QUSRLIBL or the job description QHTTPSVR/QZHBHTTP.
A quick/easy way to get libraries onto the list for development testing is to just run the ADDLIBLE or CHGLIBL from the program and then USROPN files in the RPG.
Who is online
Users browsing this forum: No registered users and 7 guests