Skip to main content link. Accesskey S

XPages Wiki

Submit Search

YouAtNotes XPages Wiki


Page1234

Recent Page Edits

Welcome

Julian Buss | April 6, 2009 11:38:08 AM | Tags:

==Welcome to the YouAtNotes XPages Wiki== [[http://www.youatnotes.de|YouAtNotes] ] uses this Wiki to document numerous tips and tricks about XPages development. We use this Wiki in our development, but we decided to publish our findings so everyone can participate. The target audience are ...

Work with documents and fields on the XPage

Julian Buss | April 6, 2009 1:12:07 PM | Tags:

==Get and set a field on the XPage== ===Server JS=== {code:} getComponent("elementName").getValue(); getComponent("elementName").setValue("something"); {code} Note: you cannot access or set fields with visible=false. If you want to work with a field, but don't want to display it, give the field a ...

Work with URLs

Julian Buss | April 10, 2009 6:06:10 PM | Tags:

Here is a list of useful URLs for XPages and Domino web development. ==XPages URLs== $$OpenDominoDocument.xsp?id=<UNID> Opens the document with the given UNID. Tries to find a suitable XPage for opening by using these rules: - Check if the document's form has the "open in XPage property" - Check ...

Work with URLs

Julian Buss | April 10, 2009 6:06:10 PM | Tags:

Here is a list of useful URLs for XPages and Domino web development. ==XPages URLs== $$OpenDominoDocument.xsp?id=<UNID> Opens the document with the given UNID. Tries to find a suitable XPage for opening by using these rules: - Check if the document's form has the "open in XPage property" - Check ...

Browser compatibility

Julian Buss | May 18, 2009 8:48:44 PM | Tags:

==Internet Explorer 8== IE 8 is supported since Domino 8.5.1. You can force IE8 to act like IE7 by using this code in beforeRenderResponse event: {code:} // first option uses compatibility mode, second option too but stronger // X-UA-Compatible: IE=7 // X-UA-Compatible: IE=EmulateIE7 if ...

Memory Usage and Performance

Julian Buss | July 9, 2009 1:08:16 PM | Tags:

A collection of tipps for optimizing memory usage and performance for a XPage application. Most of them taken from Steve Castledine . ==Increasing the possible workload of the server== XPages are using Java in the background, and the amount of memory Java can consume in the Domino server is ...

Developing for an iPhone

Julian Buss | July 8, 2009 8:30:16 AM | Tags:

==Tell the iPhone to use a fixed screen size== Found by Mark Hughes. <pre> <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> </pre> == iPhone example == By Mark Hughes, see ...

Work with views

Julian Buss | April 6, 2009 12:12:05 PM | Tags:

==DbColumn and DbLookup with result as guaranteed array and with a cache== @DbLookup has the issue that it returns a string when it found exactly one result, and an array when it found multiple results. That means after each @DbLookup you have to check if your result is a string or an array if you ...

Work with strings

Julian Buss | May 7, 2010 9:55:15 AM | Tags:

==Simple encryption/decryption== [[http://dontpanic82.blogspot.com/2010/05/xpages-simple-string-encrypterdecrypter.html|Found by Tommy Valand] {code:} function StringEncrypter( encryptionScheme:String, encryptionKey:String ){ try{ encryptionScheme = encryptionScheme || ...

Work with agents

Anonymous | April 23, 2009 2:09:34 PM | Tags:

==Running an agent== You can run any LotusScript or Java agent using this: {code:} var agent=database.getAgent("myagent"); agent.run(currentDocument.getNoteID()); {code} In the agent you get the noteID (not the UniversalID) and get a handle to the current document as follows: {code:} Dim session ...

Page1234
Use  searchlotus.com  for news in the Web related to Lotus Notes and Domino,
and to search those sites.
Check  youatnotes.com  for great Lotus Notes, Domino and XPages software.
Did this wiki help you?
Did this saved you time? Express your gratitude by making a donation:
PayPal - The safer, easier way to pay online!