View Full Version: Portal Csv Output Not Working

LawsonTalk > Coding, Program Errors and Bugs > Portal Csv Output Not Working


Title: Portal Csv Output Not Working
Description: Custom code doesn't always work


DavidF - September 15, 2006 02:45 PM (GMT)
Greetings all! I'm running on an iSeries with Lawson 8.0.3 Currently, the option to create CSV output from Lawson portal does not work for some of my custom programs. Has anyone encountered this issue? Any "gotchas" that I'm missing.

One other tidbit. In one instance, the custom code will create the CSV on the test box but not the production box. Supposedly we are at the same PTF levels (Lawson and IBM) on both systems.

Any help / suggestions / etc. would be greatly appreciated.

David

DavidF - September 18, 2006 03:06 PM (GMT)
More info on this: Looking at the XML output from the report I see a <Group Name Not Found Level ="1" gid="0"> Line. A report that does work properly shows <Rgrpr1h1 level ="1"... line.

David

DavidF - September 19, 2006 03:57 PM (GMT)
I think I’ve got the answer to the custom code not creating CSV files properly. It all revolves around the XML report. For those reports who’s CSV was not being created correctly, it also exhibited the no XML report error. To correct this I believe we need to do the following:


-Make sure the $GROUP entries on the PRNT member are prefixed with R@GRP@
-Go to the /LAW8x/ios/Lawson/xtra/properties/lawapp8 directory and delete the .XML file that references the rpg pgm (Ex: GLX33.XML)
-Run the form with a different job name than before



Hosted for free by InvisionFree