We are migrating our Lawson instance to a new AIX server. No application upgrade, environment upgrade from 10.0.4 to 10.0.9. We tried to keep change to a minimum. I've migrated the custom DS forms to the new server and they render, but I noticed that the custom buttons located on the right end "Action Bar" where Add, Change, etc. buttons are displayed are not showing. In the current environment, the buttons display to the right of the drop-down action list.
I have run the Rebuild Forms Index successfully, cleared IOS Cache and verified that the source XML is identical between the systems and everything on the form renders except these custom buttons on the header action line. Other custom buttons in the form itself do render.
Has anyone experienced this issue before? I tried the Set Custom Form Data Area (even though our DA didn't change) and it won't run because it gives an error that the DA can't be the same.
Thanks in advance for any light that can be shed here!
-Greg
function FORM_OnAfterFrameworkInit() { parent.lawsonPortal.toolbar.createButton("Add Activity",AddActivity,"Add Activity"); parent.lawsonPortal.toolbar.createButton("Change Estimate",ChangeEstimate,"Change Estimate"); }
I added the buttons to the form and am calling the correct functions, but the form is not processing as it should. I can see that it gets to the function because there is a display to the notification line at the bottom indicating the add function is in process. I can't tell where it's hanging. On a different note, I noticed that the NEW environment has a 'Print' button displaying on the form toolbar right where the buttons that are not displaying would be displayed. Do you know what controls that Print button displaying? All of the DS forms are showing this Print button on the toolbar in the new environment. I wonder if that is interfering with the display of the buttons from the createButton function? My next thought is to put alert displays in the code to see where the process is failing if possible. I'm such a noob with javascript and web development that I don't know how to run a debugger session in the script. I'm going to google and see what I can find. Perhaps if you know a link to a good article explaining that? All your input is much appreciated!!
I attached a screen shot of the toolbar showing the print button.
toolbar.createButton("Add Activity",AddActivity,"Add Activity");