Nov 9, 2023 |
Get agents schedule information using DXL |
Java |
Java code if you programmatically need to get the schedule for agents. it uses DXL to export and XML |
Thomas Adrian |
Sep 8, 2023 |
Log.nsf Viewer |
Java |
simple log.nsf viewer that output all rows from log.nsf containing the phrase "Start executing agent |
Thomas Adrian |
Mar 31, 2023 |
Pretty print JSON in LotusScript |
LotusScript |
You can use this code to format a JSON string, it does not add any colors, it only add indentation. |
Thomas Adrian |
Jan 26, 2023 |
Sorts a NotesDocumentCollection by DateTime item in reversed order - latest at top |
JavaScript (Server) |
This is a modified version of Ulrich Krause snippet that can be found here
https://openntf.org/XSnip |
Thomas Adrian |
Oct 27, 2022 |
Fast view column reader |
LotusScript |
The code is part of a class. It reads view data into a cache. That cache can of course be used multi |
Sjef Bosman |
Oct 20, 2022 |
Create a Connection Document in the user's NAB |
LotusScript |
This is the code of the agent used in the Collabsphere Session INF107 - Useful Hacks for Domino Admi |
Marianna Tomasatti |
Apr 7, 2022 |
Create a Group based on a field (Company Name) in a Person Document |
LotusScript |
This script was started by me, messed up by me, and fixed by the great Bruce Lill.
My customer has |
Keith Brooks |
Feb 21, 2022 |
Magic Button by Tim Tripcony |
Formula |
Source: Tim Tripcony, 2008 - https://web.archive.org/web/20160121234622/http://avatar.red-pill.mobi/ |
Serdar Basegmez |
Feb 13, 2022 |
Simple (and limited) Xpages export to Excel with no external dependencies |
Java |
This snippet is useful when your excel export is as simple as just 1 sheet with data tha can be hand |
Javier Sanchez |
Dec 13, 2021 |
Log to Domino using JSON |
XPages |
This XPAGE read json from a POST request and create a log entry in the database. This is useful if y |
Thomas Adrian |
Oct 9, 2021 |
Script to fix a Mail File Location in a Person Document |
Admin Scripts |
This is a simple thing, but one that is very valuable, especially when doing server folder or drive |
Keith Brooks |
Apr 12, 2021 |
An alternative way to include the newest version of CKEditor 4 |
XPages |
CKeditor is developing rapidly, however the implementation in XPages is staying behind.
Pasting con |
René vd Weide |
Jan 18, 2021 |
Converting Regular Common Name Lists into Notes Hierarchical Names |
Admin Scripts |
I prefer to have people in Notes format in groups because no one knows the future, although the name |
Keith Brooks |
Jan 17, 2021 |
Looking up and Converting a List of Notes Names into their Email Address |
Admin Scripts |
When asked to pull the email names for a list of Notes names so marketing could export them to an ou |
Keith Brooks |
Dec 15, 2020 |
Create a Forwarding Address in a Person Doc based on Email Address |
Admin Scripts |
This is a simple thing, but one that is very valuable, especially when doing domain changes, email m |
Keith Brooks |
Jul 12, 2020 |
Volt Audit Trail |
JavaScript (Volt) |
This can be used to add an audit to a Multi-line entry field, as HTML. To do so:
1. Add a Multi-Line |
Paul S Withers |
May 13, 2020 |
Get list of groups user belongs to |
Java |
Utils.getSession().getUserGroupNameList() will return the groups the user in context belongs to. I u |
Patrick Kwintensson |
Jan 23, 2020 |
Change OSGI_HTTP_DYNAMIC_BUNDLES in Notes.ini from LotusScript |
LotusScript |
Call this agent with Agent.RunOnServer to change the value of OSGI_HTTP_DYNAMIC_BUNDLES on a Domino |
Karsten Lehmann |
Apr 25, 2019 |
Set/reset LogStatusBar environment variable when needed |
LotusScript |
When you want to start logging to log.nsf, just put
Dim h As New LogHelper
and delete the object |
Sjef Bosman |
Apr 1, 2019 |
Convert NotesJSONElement.Type value to String |
LotusScript |
NotesJSONElement.Type returns an integer. This converts it to meaningful text |
Paul S Withers |
Mar 29, 2019 |
Changing Input to Select in Profiles |
JavaScript (Connections Customizer) |
This changes the "Building" label and field to be for "Department", giving a comboBox of selections. |
Paul S Withers |
Mar 15, 2019 |
Client-side radio-button validation |
JavaScript (Client) |
Could also be done by hijacking XSP.getFieldValue and checking the type 'fieldset' before calling th |
Sjef Bosman |
Feb 25, 2019 |
Base Href for XPages Applications |
XPages |
Thanks to Jesse Gallagher for pointing me in the direction of this one.
If you use Bootstrap themes |
Paul S Withers |
Feb 12, 2019 |
Add branding to application layout control with Bootstrap theme |
JavaScript (Client) |
an item with the navbar-brand class is not part of the control. here is a way to add it onload via j |
Patrick Kwintensson |
Feb 11, 2019 |
Type Ahead search from Active Directory |
Java |
Simple typeahead in XPages that looks up people from Active directory as you type. you need to custo |
Thomas Adrian |
Jan 28, 2019 |
Simple client side validation using jQuery |
JavaScript (Client) |
use this snippet as a starting point for a simple validation using jQuery, customize it using your |
Thomas Adrian |
Sep 7, 2018 |
Programmatic access to IDVAULT ( incl. new V10 methods ) |
LotusScript |
The code allows programmatic access to the IDVAULT. It uses the NotesIdVault class ( new with 901 F |
Ulrich Krause |
Feb 7, 2018 |
Serialized partial refresh calls V1.0.1 |
JavaScript (Client) |
This is an attempt to serialize all partial refresh calls. The advantages are: code that's easier to |
Sjef Bosman |
Sep 12, 2017 |
Persistence Service Utility Class |
Java |
This class is a collection of methods that can be useful when trying to work with the XPages Persist |
Cameron Gregor |
Aug 16, 2017 |
Revamp Java Web Service code after WSDL creation |
Java |
Use this information to troubleshoot instances where your Web Services, similarly to the following: |
Köll S Cherizard |
Jun 1, 2017 |
rendererInfo |
XML |
Displays pertinent information about a given control's active renderer/theme settings. |
Jesse Gallagher |
May 31, 2017 |
Send Embedded Object as File attachment to 3rd party Web Service |
Java |
This Snippet allows you to easily send an attached file in a NotesDocument to a 3rd party Web Servic |
John V Jardin |
Jan 4, 2017 |
Smart Tool to export mail files size to an Excel file |
LotusScript |
Exporting mail files size of all the databases under Domino\data\mail folder to an Excel file.
Note |
Sudhakar K Reddy |
Dec 10, 2016 |
Display markdown from a file resource on an xpage |
XPages |
This code uses the showdown.js library to display Markdown code contained within a file resource. It |
sean cull |
Oct 24, 2016 |
Slack integration |
JavaScript (Server) |
Sample how to provide a button that can send message with attachment in a Slack channel via incoming |
Patrick Kwintensson |
Oct 17, 2016 |
Server/User Info Page |
XML |
This is a variant of a Page (as in, the old-style design element) I keep around for some troubleshoo |
Jesse Gallagher |
Sep 28, 2016 |
Bootstrap Switch Custom Control |
XPages |
This custom control uses the bootstrap switch at http://www.bootstrap-switch.org/examples.html
You |
Howard Greenberg |
Sep 27, 2016 |
Bootstrap Slider Control |
XPages |
Bootstrap Sliders are a neat way to allow users to enter data by sliding a slider rather than typing |
Howard Greenberg |
Sep 26, 2016 |
Build JSON from NotesView with support of multi-value fields |
Formula |
Inspired by this XSnippet: https://openntf.org/XSnippets.nsf/snippet.xsp?id=use-transform-to-build-j |
Patrick Kwintensson |
Sep 22, 2016 |
Smart Tool to Configure and Switch additional user in Notes Client |
LotusScript |
This tool creates the location document by fetching the current user details based on the ID he is l |
Sudhakar K Reddy |
Aug 9, 2016 |
Edit box number input restriction / auto-insert commas |
JavaScript (Client) |
This script might be useful if you want to restrict an edit box to numbers only or automatically ins |
Ryan Buening |
Mar 11, 2016 |
DateUtils |
Java |
With this DateUtils class can help to do common and some uncommon Date and Calendar manipulation. Se |
F van der Linden |
Mar 8, 2016 |
Inspect RendererType, Component Family and StyleKitFamily for a Component |
XPages |
If you don't have access to the Source Code of a component, or don't know where to look, you can use |
Cameron Gregor |
Mar 2, 2016 |
Compute ouput text for event dates |
Java |
This snippet computes a simple string for events depending on the start and end date. Change the loc |
Oliver Busse |
Jan 5, 2016 |
Common String functions Left, Right, Leftback, Rightback |
Java |
Some common string function in Java that I use in SSJS and Lotusscript all the time.
feel free to i |
Fredrik Norling |
Dec 17, 2015 |
Pivottable.js |
XPages |
This is a pretty cool tool to give your users a drill-down/investigate data functionality in your XP |
John Dalsgaard |
Dec 8, 2015 |
Bootstrap Standby Dialog |
XPages |
This version is tested and works with Domino 10
The continues work of the Original control
http:// |
Fredrik Norling |
Nov 6, 2015 |
How to access CGI variables in XPages |
XPages |
This snippet was written by Thomas Gumz in 2008, as part of the following wiki article: http://www-1 |
B Gleeson |
Oct 25, 2015 |
Editor Template for UIControl Properties that use Value Binding |
XML |
This is an Editor Template named 'vbgettersetter' that can be imported into Domino Designer for quic |
Cameron Gregor |
Oct 20, 2015 |
Servlet class for JAX-RS REST Servlet Plugin to allow use OpenNTF Domino API |
Java |
Requires ODA 2.0.0 or higher
Remember to include com.ibm.domino.das, org.openntf.domino and org.open |
Paul S Withers |
Sep 16, 2015 |
DominoRunner: Provides a temporary Notes Session for your Java code... |
Java |
Detailed information is at the start of the code. Use at your own risk. |
Serdar Basegmez |
Aug 30, 2015 |
DAOBean for XSP on Bluemix |
Java |
Data source access bean to compute the data source dynamically for local development and Bluemix.
|
Oliver Busse |
Aug 21, 2015 |
Get URL of first image file embedded in specific Rich Text field |
JavaScript (Server) |
xpages, rich text field, embedded image |
Kazunori Tatsuki |
Jul 13, 2015 |
Smart Tool to customize and export data from multiple NABs |
LotusScript |
This tool exports the user details from all person documents of the Domino Directory to an excel fil |
Sudhakar K Reddy |
Jul 13, 2015 |
Accessing separate data database (same server, non-ODA-dependent) |
Java |
Code to access a separate database on the same server for data, as defined in xsp.properties. |
Paul S Withers |
Jul 4, 2015 |
Custom Error XPage w/ Syntax Highlighting of Code Blocks |
XPages |
Based on the XSnippet by Tony McGuckin, this version adds some styling and formats the code blocks ( |
Eric McCormick |
Jun 25, 2015 |
Scheduled XAgent -SSL Encrypted |
Java |
Java Agent Code for hitting an XPage via SSL encrypted connection.
Hitting the XPage from a schedul |
Devin Olson |
Jun 25, 2015 |
Scheduled XAgent - NON SSL |
Java |
Java Agent Code for hitting an XPage via NON-SSL encryption.
Hitting the XPage from a scheduled age |
Devin Olson |
Jun 12, 2015 |
Redirect to *XPages* Login Page |
Java |
Preventing access via ACL redirects to a login page. That can be customised, but only as a Notes For |
Paul S Withers |
Jun 3, 2015 |
Hack to use jQuery AMD widgets and Dojo together |
XPages |
The Dojo AMD loader in Xpages is causing issues with newer jQuery widgets. Examples with issues are |
F. Kranenburg |
May 24, 2015 |
Twitter Bootstrap Pager Template Stylesheet |
Cascaded Style Sheets |
This stylesheet allows the XPages Pager control to look similar to Twitter Bootstrap's Pagination co |
John V Jardin |
May 24, 2015 |
Twitter Bootstrap Pager Template |
XPages |
Use this XSP code to add a Pager control that has a similar look and feel as the Twitter Bootstrap P |
John V Jardin |
May 20, 2015 |
Validate Rich Text Field |
JavaScript (Client) |
This client side javascript will validate a Rich Text Field if data entry is required. |
Ken Behrens |
May 19, 2015 |
Send Notes document as PDF attachment |
LotusScript |
This script is ideally placed on a form and allows the user to mail entire document as a PDF. The lo |
Ben Menesi |
May 2, 2015 |
Translate an ArrayList to a Vector in Java |
Java |
Scoped Variables often return an ArrayList Object, which is a problem when you want to store the val |
John V Jardin |
Apr 12, 2015 |
Export ACLList to an Excel file. |
LotusScript |
Exporting ACL details of all the databases under Domino\data folder to an Excel file.
Note : This |
Sudhakar K Reddy |
Jan 6, 2015 |
Simple custom control to add inifinite scrolling to repeat or views |
XPages |
This custom control requires jQuery.
Create a custom control and add a property named "repeatId". A |
F. Kranenburg |
Jan 3, 2015 |
Allow only one open browser window/tab per user/application |
XPages |
This snippet was developed for an answer to question "How to stop a user from opening a new browser |
Knut Herrmann |
Oct 22, 2014 |
Consuming RESTful Data in Java with Authentication |
Java |
This is an example class for consuming data from a RESTful API with authentication, via java.net.URL |
Eric McCormick |
Oct 22, 2014 |
Example JSON Data Provider Using GSON and an XAgent |
Java |
This is a demonstration Java class with single method to generate an application/json data response. |
Eric McCormick |
Oct 21, 2014 |
Consistent SSJS Multi-Value Formatting |
JavaScript (Server) |
The Notes/Domino API will return either an individual element (e.g.- String) or java.util.Vector for |
Eric McCormick |
Sep 20, 2014 |
Optimized partial refresh with support for server-side actions |
XPages |
Here's an example of using the optimized partial refresh for an eventhandler:
<xp:button id="butto |
Per Henrik Lausten |
Sep 8, 2014 |
Keyword Caching Bean |
Java |
This is the Evolved Keyword bean with caching http://www.xpagedeveloper.com/2014/evolving-the-easy- |
Fredrik Norling |
Sep 7, 2014 |
Easy Keyword Bean |
Java |
a easy keyword bean explained in this blog post http://www.xpagedeveloper.com/2014/creating-an-easy- |
Fredrik Norling |
Sep 6, 2014 |
Convert 'compositeData' to a 'json object' in client javascript |
JavaScript (Client) |
Previously I always used Google's 'GSON' to convert the compositeData object (=all properties in yo |
F. Kranenburg |
Aug 31, 2014 |
Solving problems with CKEditor in 9.0.1FP1 and/or FP2 |
Java |
How it works
The bean stores some values in a config map. The map value of "toolbartype" stores whe |
Oliver Busse |
Aug 24, 2014 |
Trigger for the CKEditor Save Button |
XPages |
Place this custom control in your page where you use the Richtext control (aka CKEditor). It enables |
Oliver Busse |
Aug 20, 2014 |
Google Drive Spreadsheet Data JavaAgent (Messages Box) |
Java |
Use this XSnippet to connect to Google and grab Spreadsheets data into NSF for viewing... See tutor |
Köll S Cherizard |
Jul 4, 2014 |
Custom XPage file upload handler |
Java |
Use this code if you want to implement a custom file upload solution like PLUpload or jQuery File Up |
Mark Leusink |
Jul 3, 2014 |
Wrap lotus.domino.Document as a DominoDocument, including MIME and RichText |
Java |
Use this function to 'wrap' a document as a DominoDocument, allowing you to easily access the HTML f |
Mark Leusink |
Jun 13, 2014 |
SysInfo/User ACL Info Custom Control & Java bean |
XPages |
I wanted this in every of my applications but always forgot about it. Now here it is. Create the Jav |
Oliver Busse |
Jun 8, 2014 |
NotesName - Basic Java Implementation |
Java |
This initial version is a very basic implementation for Notes Names in Java, of course without Sessi |
Serdar Basegmez |
May 27, 2014 |
Get URL Parameter Using Java |
Java |
This code returns the value for the designated parameter |
Michael McGarel |
May 27, 2014 |
Get QueryString Value in Java |
Java |
This code returns the entire query string, including the question mark. |
Michael McGarel |
May 24, 2014 |
Google Drive Spreadsheet Data Xpages |
XPages |
Copy and Paste this XSnippet in your software, with JAR configuration in place, and connect to Googl |
Köll S Cherizard |
May 24, 2014 |
Google Drive Spreadsheet Data JavaAgent |
Java |
Grab this XSnippet to work with the JavaBean added earlier and submit row(s) of data to Google Works |
Köll S Cherizard |
May 24, 2014 |
Google Drive Spreadsheet Data JavaBean |
Java |
Use this XSnippet, with the JavaAgent and Xpages form being added in a moment, to add row(s) to Spre |
Köll S Cherizard |
May 8, 2014 |
Identifying the current JSF lifecycle phase as Integer |
Java |
After I wrote this code, I found this XSnippet that allows you to check for a specific phase http:// |
Paul S Withers |
May 2, 2014 |
Create random numbers in a range |
Java |
A simple Randomizer to create random numbers between min and max |
Ulrich Krause |
May 1, 2014 |
Date Converter |
Java |
Converter to convert single or multi-value dates to a standard format.
If a column has a single dat |
Paul S Withers |
Apr 29, 2014 |
Dojo AJAX Request to Retrieve REST Service Data and Display the Results on the Page |
JavaScript (Client) |
This snippet demonstrates how to use a Dojo AJAX call to retrieve data from a REST service and displ |
Brad Balassaitis |
Mar 21, 2014 |
Enhanced validation of dojo form controls in context of partial execution events |
JavaScript (Client) |
This JS-Code limits the XPages validation of partial execution events to the specified exexId for al |
Adrian Osterwalder |
Mar 18, 2014 |
Edit Xpages Form Based on Cookie Value (xpsubscriptionedit.xsp) |
XPages |
Complete this application with the Edit Xpage form, plug BackingBean seen in URL below into facesCon |
Köll S Cherizard |
Mar 18, 2014 |
Xpages Form to Submit Record and Cookie (xpsubscription.xsp) |
XPages |
Use excerpts of this Xpages code to create a new one, items plucked out to limit confusion, and to g |
Köll S Cherizard |
Mar 18, 2014 |
JavaBean to Submit Values and Record Cookie (SendSubscriptionJavaBean.java) |
Java |
Use this XSnippet in conjuction with the BackingBean added earlier to add records to back-end that a |
Köll S Cherizard |
Mar 18, 2014 |
BackingBean DataSource for Xpages Edit (SubscriptionPageBean.java) |
Java |
Should you need to use Java code as pageCode (DataSource) for your Xpages, similarly to, as one exam |
Köll S Cherizard |
Mar 8, 2014 |
Xpages form to Create Basic HTML Navigation Links |
XPages |
Run this XSnippet with Java code added earlier 'CreateHtmlJavaBean.java' to populate your side navig |
Köll S Cherizard |
Mar 8, 2014 |
Create Basic HTML Navigation Links Bean |
Java |
Use this XSnippet as an alternative to dataTable controls, make available links to be used as naviga |
Köll S Cherizard |
Mar 7, 2014 |
Extend Partial Refresh Timeout |
XPages |
Extends the timeout to 20 x 1000 milliseconds, using XSP.submitLatency(). Useful for reports or site |
Paul S Withers |
Mar 7, 2014 |
CSS Tweak for CKEditor used with Bootstrap |
Cascaded Style Sheets |
This resolves the issue of the toolbar's comboboxes not displayed correctly if you use Twitter Boots |
Oliver Busse |