Quick Tip: @LocationGetInfo - undocumented, but useful

by Thomas Bahn,
assono GmbH, Standort Kiel,


Recently I stumbled across an undocumented, but in some cases quite useful formula language function: @LocationGetInfo.

You can access some items of the current location document, but only some.  sad.gif

These calls work:
@LocationGetInfo([AreaCode])
@LocationGetInfo([BookmarksFilename])
@LocationGetInfo([CatalogServer])
@LocationGetInfo([Country])
@LocationGetInfo([HomeServer])
@LocationGetInfo([InternationalPrefix])
@LocationGetInfo([InternetMailAddress])
@LocationGetInfo([LongDistancePrefix])
@LocationGetInfo([MailProtocol])
@LocationGetInfo([NamePreference])
@LocationGetInfo([SametimeServer])
@LocationGetInfo([WebRetriever])

The following two are most interesting of all:
@LocationGetInfo([FullName])
@LocationGetInfo([UNID])

[Fullname] returns the name of the current location, [UNID] is its unique ID.


Using [Fullname] you can easily access all other fields, e.g.
@Prompt([OK]; "MailFile"; @DbLookup("Notes" : "Cache"; "" : "Names.nsf"; "Locations"; @LocationGetInfo([FullName]); "MailFile"))

Sources
Information on the undocumented @LocationGetInfo function,
http://www-01.ibm.com/support/docview.wss?rs=0&uid=swg21094302

Technote update -- Undocumented function @LocationGetInfo,
http://www.thenorth.com/apblog4.nsf/Threaded/C595A9D896C79E26852571CE00470D84

Undokumentierte @Formeln/LotusScript im Lotus Notes Client/Server (in German),
http://news4notes.com/web/dokumente/notes_undocumented_formula.html

Technical article IBM Notes IBM Notes Traveler Development

Sie haben Fragen zu diesem Artikel? Kontaktieren Sie uns gerne: blog@assono.de

Do you want an individual solution? Contact us

More interesting entries

Any questions? Contact us.

If you want to know more about our offers, you can contact us at any time. There are several ways to contact us for a non-binding first consultation.

We don’t sell your data. 100% guaranteed. See: Privacy Policy
assono GmbH

Location Kiel (headquarters)
assono GmbH
Lise-Meitner-Straße 1–7
24223 Schwentinental

Location Hamburg
assono GmbH
Bornkampsweg 58
22761 Hamburg

Phone numbers:
Human resources department: +49 4307 900 407
Marketing department: +49 4307 900 402

E-Mail adresses:
contact@assono.de
bewerbung@assono.de