Using View and Form builder, the input form by default have a simple validation if the field is empty.
I need to check if an input text field already exist in the database.
Let's say I have a text field call USERID. I need to check if there's a same USERID in
After more than 10 years coding, I still learn something new on Lotus.
I need to do some checking on certain value, so regex came into mind. So far I haven't actually used regex in LotusScript. A simple search give me result to use "Like" operator. It function similar with regex,
Instead of hardcoding values, we can store them in profile documents.
Using Lotus formula language, we can use @GetProfileField(profilename; fieldname; username) to retrieve field values from profile document.
In Xpages controls property, you can set computed value from profile document. Sample code is as below
[code]
var profileDoc:NotesDocument = database.getProfileDocument("ProfileDoc","");
return profileDoc.getItemValue("AppPath")[0];
[/code]
I've been working on YQL (Yahoo Query Language). Using jQuery to retrieve the JSON result, it managed to retrieve the response from Yahoo but would not execute the success function.
[code]
var url = "http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20html%20where%20url%3D'http%3A%2F%2Ffinance.yahoo.com%2Flookup%3Fs%3Dknm%20and%20xpath%3D'%2F%2Fdiv%5B%40id%3D%22yfi_sym_results%22%5D%2Ftable%2Ftbody%2Ftr'&format=json&env=http%3A%2F%2Fdatatables.org%2Falltables.env&callback=cbfunc";
$.getJSON( url, function(data){
alert(data.query.results);
})
[/code]
After some search, the issue is cause by the callback in the URL. Changing the url to
IBM published a new redbook wiki on Lotus Domino Development Best Practises.
Lotus and IBM® Redbooks® have partnered together to share best practices for developing Domino applications.
This wiki covers what is needed to build or enhance an application, regardless of client, and the general practices to make development easier, less time
I was working on a portlet that does a REST service call to Lotus Quickr ATOM feed. Initially I was having issue with the Single Sign On (SSO) from the portlet calling the Quickr ATOM. When signing into the portal, a LtpaToken cookie will be generated and I need to
IBM's services team posted a courseware for Introduction to IBM Lotus Domino 8.5 XPages (D8L55) on the IBM Lotus Greenhouse at no charge.
Registered on Lotus Greenhouse to access this training.
Link: Lotus Greenhouse: Introduction to IBM Lotus Domino 8.5 XPages OpenCourseWare
For application development, I normally use OpenLog from OpenNTF. What if an application logs directly into log.nsf file on the server.
Recently, I had to go through the Lotus Domino log.nsf to look for logs related to specific application. This is time consuming thus I've created an application to do the
I need to create some check box for a XPage application. By default, the Check Box control only show 1 option. Sames goes for the radio button.
If you need to have a multiple option for selection, the Check Box Group need to be selected.
It would be simpler if there is
I was browsing through some airline sites recently. Most of them are quite similar but one caught my attention. The interface is intuitive and have a user friendly process flow.
Since it's airline website, the most frequent action for user is select where to go.
On Tigerairways, the country selection box is