Skip to main content link. Accesskey S
  • Help
  • IBM Logo
  • IBM Notes and Domino Application Development wiki
  • All Wikis
  • All Forums
  • THIS WIKI IS READ-ONLY. Learn more...
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
  • API Documentation
Search
Community Articles > Developing Applications > Developing XPage Applications > Tutorial: Introduction to XPages - Exercise 7
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Click to view profileDeanna Drschiwiski
Contribution Summary:
  • Articles authored: 76
  • Articles edited: 227
  • Comments Posted: 8

Recent articles by this author

Getting started with XPages

Need help getting started with XPages? This guide provides links to overview content, videos, tutorials, and other content that will get you up to speed quickly.

XPages Domino Object Map 8.5.2

This topic contains a map of the domino objects contained in XPages.

Best practice to develop a good Notes application from the globalization perspective

This presentation shows the best practice to develop a good Notes application from the globalization perspective

Introducing of Domino Global WorkBench 8.5

This presentation shows how to localize Domino templates with Domino Global WorkBench 8.5

XPages Extensibility API Developers Guide

Welcome to the XPages Extensibility API Developers Guide; the Official Resource for Development using the XPages Extensibility API.
Community articleTutorial: Introduction to XPages - Exercise 7
Added by Deanna Drschiwiski on January 17, 2017 | Version 1
  • Actions Show Menu▼
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: 8.5, app dev, controls, Domino Designer 8.5, getting started, new user, XPages
Previous | TOC | Next

1. What will you learn
You will learn how to provide data to the different controls on the xPage and how to enable type-ahead functionality in XPages.

2. Task Description
The profileForm custom control has combobox design elements. You will provide static and dynamic lookup for the possible values for this controls.
3. Detailed Steps
1. Create a Notes form named “keywords”
Add the following fields
Name (Text)
Values (Text, Allow Multiple Values)
Select “New Line” as the ONLY delimiter for both options below.

2. Create a Notes view called “keywordLookup”.
The selection formula will be;
SELECT Form=”keywords”
Change the first column to show the “Name” field.
Make it sorted Ascending.
3. Preview the form in your Notes client and call the document “TimeZones”, add the text from “codeSnippets/TimeZones.txt”. Escape out of the document and save it.
Preview the form again and call this document “Countries”, add the text from “codeSnippets/Countries.txt”. Escape out of the document and save it.
4. In the profileForm Custom Control select the Gender Combobox. In the “Values” tab specify:
- “Male”
- “Female”


5. Select the “Country” Editbox control. On the Type-ahead tab check the Enable type ahead box and make the Mode “Partial”.
6. Make the Suggestions a computed value and add the following formula:
@DbLookup(@DbName(), "keywordLookup", "Countries", "Values")
7. Uncheck the Case-sensitive checkbox.
8. Select the “TimeZones” Combobox control. On the Values tab click on “Add formula Item

and add this formula:
@DbLookup(@DbName(), "keywordLookup", "TimeZones", "Values")


4. The Result


5. Things To Explore

  • Change the Country Edit box to a combobox and make it work with the same data source as used for the type ahead.


  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (1)
collapsed Versions (1)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (1)Jan 17, 2017, 11:17:51 AMMichael Stewart  IBM contributor
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkThe Social Lounge
  • Wiki Help
  • Forgot user name/password
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use