Script Library & Action

I recently made some changes to an script library on my dev server that works fine. When I had the changes moved to Production, one button on a form quit working.

There are 4 buttons on the form that do slightly different things, but they all use the same process. When a button is pressed, the WebQuerySave agent begins the processing. My log shows comments from the WQS. In the middle of the WQS agent, a Script Library runs some code & makes comments to the log. Then a couple more comments from the WQS agent ends processing.

On 3 of the 4 buttons, this works fine in Production. On one of the buttons, I never see any comments from the Script Library, but all the comments from the WQS are there. And, as I said, it works fine on the Development server. I even made a new copy on the Dev server in a test subdirectory and everything works fine.

The security level of the WQS agent is set to 2.

I’m at a loss as to what is happening here. I can’t really troubleshoot because it works fine in development. I’ve asked the admins to change a few things, but they’re getting tired of shooting in the dark, too.

Anyone have any ideas?

Subject: Script Library & Action

The button is not calling the script library so you may want to go from there. Maybe -1. Put in a test button and check if it calls the script library

  1. Copy an existing button in prodn which works (calls the script lib) and make any changes

etc

Hope this helps !

Subject: RE: Script Library & Action

I recompiled and no luck.

I can’t make changes to Production. I copied the working form out of a copy that works and had the admin replace the design on the whole database. Still no luck.

I may try to add a button to dev & see if I can convince everyone to let me push it up to production.

Any more suggestions?

Subject: Recompile?

Did you recompile all your LotusScript in the template?

Subject: RE: Recompile?

Don’t forget to manually edit and save your agent after you hit “recompile all”. There’s a bug with Recompile All, agents, and design inheiritance.

You may need to manually edit and save your form after the Recompile All as well.