Can you programmatically retrieve the current location document being used by the desktop?
Subject: I’m not sure about the one currently in-use…
Section “Workarounds - Part B” Step 5 of the following TechNote shows how you can access them within a User’s PAB:
Title: Can policies be used to populate fields in Location documents or create Connection documents
Doc #: 1106153
URL: http://www.ibm.com/support/docview.wss?rs=899&uid=swg21106153
And a call to notesUIWorkspace.SetCurrentLocation( [ location$ ] can be used to set-it.
Subject: getting information from the current location
There is an undocumented (unsupported) @Function which can retrieve quite a bit of data from the current location. It is called @LocationGetInfo.
Here is are a couple of web pages with more information on that @function:
http://www-01.ibm.com/support/docview.wss?uid=swg21094302
http://www-10.lotus.com/ldd/bpmpblog.nsf/dx/on-undocumented-features?opendocument&comments)
Subject: The notes.ini setting “Location”…
…contains information you can use to locate the current one. However, I don’t know whether this is considered a supported way to retrieve this information.