Tag Archives: XPinc

Application Scope lesson learned today

I got an email a few days ago regarding my Document Locker openntf project. The question was why it didn’t work. I tested my application and it worked as expected. But then I thought perhaps the developer is using the code from XPinc because I added a Xpinc page in the project and I must confess I didn’t test that before releasing the project as much as I usually do.

And this was the case, they where using an XPinc application. And the lesson in this was.

application scope is only applicationScope if you run the code from an web browser and not if the XPage is runned as an XPinc application or if you run it using the new Domino 9 XPinc run on server option. 

Application Scope is private in XPinc applications, it is not an application scope that is shared between users.