This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Mar 3, 2016, 2:55 PM
16 Posts

PostOpen of Databasescript not firing

  • Category: Application Development
  • Platform: All Platforms
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 2

I have in my postopen event of the database script, the following:

Set workspace = new Notesuiworkspace

call workspace.openpage("(Splash)")

 

this code works fine, until I open the designer client. Once I open the designer client, and then go to the client and open the database with that code in it, it doesn't run. I'm not getting an error, but the page is not opened.

 

If I run the debugger, I am not seeing it run as well.

 

If I close Lotus Notes (client and developer) and relaunch Lotus Notes client, open the database, the code in the postopen event of the database script runs and the page opens..

 

But as soon as I launch the designer, the code stops running.

 

Other developers have tried, and are not seeing the same results.

 

Not sure if anyone else has seen such behavior

 

Mar 3, 2016, 5:25 PM
100 Posts
Not in 8.5.3

Don't have a 9.0x client but in 8.5.3 I can have the designer open and the client loads the correct page.

I have seen other odd behaviors, usually related to the ACL, if I leave the designer client open and then run the app; if I modify the ACL so I can test as a different role, the role change isn't in force until I close the designer client. Other than that...sorry.

May 10, 2016, 12:52 PM
12 Posts
This is normal behavior
The Notes client, the designer client and the Admin client all work together.  If a DB is opened in one of them,  it is considered opened in all of them.  The PostOpen event is working correctly here and only firing the code the first time the DB is opened, regardless of which client it was opened in.  If you are wanting to debug code in the PostOpen or QueryOpen events of the DB,  you will need to close the DB in the designer, and open the DB in the Notes client with the debugger enabled.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal