While going through sample database for Extension Library I found a function @FullUrl. I wasn’t able to find this in the help documentation but it works something like this. If I put a statement like @FullUrl("myXPage.xsp") then it outputs /path/mydatabase.nsf/myXPage.xsp.
Searching the web returned this link from XPages cheat sheet which mentions its usage same as I described above. What is the support of IBM on this function? Is the absence of its documentation from help just a mistake or it is not intended to be used in production applications?
NOTE: I am using Lotus Notes 8.5.3
There are mor undocumented functions
I’ve blogged about this a year ago http://www.eknori.de/2011-11-22/extension-library-8-5-3-undocumented-functions/
You can find them in the NotesFunctionsEx.java file in the ExtensionLibraryOpenNTF-853.20121022-1354\srcOpenNTF\eclipse\plugins\com.ibm.xsp.extlib.domino\src\com\ibm\xsp\extlib\javascript dir ( unpack srcOpenNTF.zip first )
You can use the code as a reference on how to build your own SSJS extension ( http://www.openntf.org/Internal/home.nsf/project.xsp?databaseName=CN=NotesOSS2/O=NotesOSS!!Projects\pmt.nsf&documentId=6159D09FC2EA663C862579F30028803E&action=openDocument )
So, if you are unsecure if the functions will not be part of the extLib in future releases, you can include the into your own extension …