Hi,
This may be a strange/simple/silly question, but how do you get the current database when working with Server Side Javascript?
I am currently getting the database using :
//var database = session.getDatabase(session.getServerName(), “glaapp\TLRS.nsf”)
var database = session.getDatabase(session.getServerName(), “Dev\TLRS.nsf”)
As you can see, I have had to comment out the live database when working in dev and when i make the db live, i need to remember to change this back or distaster strikes!
Really appreciate some guidance. I have tried the 8.5.1 help, but i find it quite poor compared to 6.5 etc (not as many examples etc)
Thanks
Jamie