Strange question but I want to know if it is possible to give a database a different ext. so that when it is opened on local it will open in a browser window rather then the client.
Thanks
Strange question but I want to know if it is possible to give a database a different ext. so that when it is opened on local it will open in a browser window rather then the client.
Thanks
Subject: Why would you want to do that?
Subject: Getting a local database to open in browser
Just use the Database Script Initialize to handle this.
Subject: Getting a local database to open in browser
Depends where you’re doing this from, but you may find that the way to go is to have the database compute its own Domino URL, and then issue that somehow (perhaps as a Database postopen event).
HTH
–
Subject: RE: Getting a local database to open in browser
Problem is, if the database is local then where is the logic to calculate the HTML so that the web browser can display it? That’s not part of the Notes client.
Subject: RE: Getting a local database to open in browser
Well it’s do-able.
Obviously to open in a browser window locally, the local machine must have nhttp.exe and what have you.
I have some very basic code that fires up nhttp.exe and then opens the current page in the browser (a simple web content management system that allows publishers to do a local preview before replicating their changes).
With regards logic to generate the HTML, I don’t follow. The host is going to be “localhost” / 127.0.0.1. The port may be different, but that can be addressed. The database path can be computed, and the Domino URL can also be calculated so that a specific view is used, or whatever.
–
Subject: RE: Getting a local database to open in browser
And, in fact, this is pretty much what DOLS does anyway.