Universal display file/program development

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
jpmurtha
New User
Posts: 17
Joined: Thu Mar 12, 2015 6:33 pm
First Name: Jim
Last Name: Murtha
Company Name: Dealertrack
Contact:

Universal display file/program development

Post by jpmurtha »

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?
User avatar
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

Post by David »

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

Who is online

Users browsing this forum: No registered users and 7 guests