C2040-951 Exam Details

  • Exam Code
    :C2040-951
  • Exam Name
    :IBM Lotus Notes Domino 8.5 Application Development Update
  • Certification
    :IBM Certifications
  • Vendor
    :IBM
  • Total Questions
    :94 Q&As
  • Last Updated
    :Jul 11, 2026

IBM C2040-951 Online Questions & Answers

  • Question 1:

    Renee is developing the Product Support Contact XPage. When a product manager enters the name of a support technician, the page is submitted and a lookup is done to try and populate the technician's e-mail address and phone number on the XPage. If there is no e-mail or phone number found, then messages should display to inform the product manager that the E-mail and Phone fields must be entered. On the XPages tab in the Application properties, the Client Validation check box is unchecked.

    What steps can Renee take to provide the needed validation messages on the XPage?

    A. Drag a Display Errors control from the core controls palette onto the XPage.
    B. Drag a Server Validation control from the core controls palette onto the XPage and select the names of the fields needing validation.
    C. On the XPages tab in the Application properties, click to select Client Validation. Drag a Display Errors control from the core controls paletteonto the XPage.
    D. On the XPages tab in the Application properties, click to select Server-side Validation. Drag a Display Errors control from the core controlspalette onto the XPage.

  • Question 2:

    Jane has a view that she will display on several XPages using a custom control. How can she add the view to the custom control?

    A. From the Create Menu, select Core Controls -> View
    B. Drag a view container from the Data Palette to her custom control
    C. Drag a view container from the Controls Palette to her custom control
    D. Define a view data source based on the view and drag it from the Data Palette to the XPage

  • Question 3:

    Kyle has been asked to add a agent in his Customer Management application that will create a contact file for the current user in the vCard format. The information for the vCard is contained in the Domino directory. Kyle writes the following agent: Dim session As New NotesSession Dim dbThis As NotesDatabase Dim dbNAB As NotesDatabase Dim docThis As NotesDocument Dim docNAB As NotesDocument Dim dcThis As NotesDocumentCollection Dim viewNAB As NotesView Set dbThis = session.CurrentDatabase Set dbNAB = session.GetDatabase("SVR01/ ACME", "names.nsf", False) Set viewNAB = dbNAB.GetView("($Users)") Set dcThis = dbThis.UnprocessedDocuments() Set docNAB = viewNAB.GetDocumentByKey(session.CommonUserName, True) Set docThis = dcThis.GetFirstDocument Do While Not (docThis Is Nothing) *** Missing Line Of Code *** Call docThis.Save(True, False) Set docThis = dcThis.GetNextDocument(docThis) Loop What missing line of code accomplishes this task?

    A. Call dbNAB.AttachVCard(docNAB)
    B. Call docThis.AttachVCard(dbNAB)
    C. Call docThis.AttachVCard(docNAB)
    D. Call docNAB.AttachVCard(docThis)

  • Question 4:

    Arthur wants to change the look of his entire XPages application. What can he do to accomplish this task?

    A. Create a theme and apply appropriate style information, then change the Application's Default theme on the Basics tab of the Applicationproperties.
    B. Create a theme and apply appropriate style information, then change the Application's Default theme on the XPages tab of the Applicationproperties.Click here to input option.
    C. Create a Style Sheet resource and apply appropriate style information, then change the Application's Default style sheet on the XPages tabof the Application properties.Click here to input option.
    D. Create a Style Sheet resource and apply appropriate style information, then change the Application's Default style sheet on the Basics tab ofthe Application properties.Click here to input option.

  • Question 5:

    Michael has created an XPage that will be used to create Lotus Notes documents. In the button he wants to use to create the document, he also wants to redirect the user to another XPage. Which two Simple Actions can Michael use to do this?

    A. Save Document and Open Page
    B. Create Document and Open Page
    C. Save Document and Redirect to XPage
    D. Create Document and Redirect to XPage

  • Question 6:

    Eric is using Peter's Lotus Domino Designer. He is developing an XPage component. When launching the Lotus Domino Designer help through Help/Help - Contents, anything he is searching on XPages is not found by the Eclipse help system.

    Which option has Peter set that does not find any XPage help information?

    A. XPage help is available only from the main topic or directly from an XPage element.
    B. Peter search scope is limited to the LotusScript languagePeter? search scope is limited to the LotusScript language
    C. The HTTP proxy parameters that Peter has defined are incorrectly set; Eric needs to correct them.
    D. For XPage help Eric needs to open an XPage component directly in Lotus Domino Designer. If not, the option will not be available.

  • Question 7:

    Aidan has a number of databases listed in the Application navigator. He wants to sort his applications based on the server where they reside. How can Aidan accomplish this?

    A. Click on Window > Application navigator > Sort > By Server
    B. Click on the Menu icon in the Application navigator and click Sort > By Server
    C. Right click in the Application view and select Sort > By Server
    D. IT can not be done. Once you add a database to the Application navigator that is the orderit appears.

  • Question 8:

    Elizabeth is modifying the Customers composite application. She needs to add code to determine if the RecentOrders component can be repositioned. What is a function she could use for this purpose?

    A. @IsMoveable("RecentOrders")
    B. @GetComponentProperty(MOVEABLE)
    C. @ComponentProperty("RecentOrders"; MOVEABLE)
    D. @GetComponentViewPreference(com.ibm.rcp.moveable)

  • Question 9:

    Joanne is working with two other developers on a company-wide intranet project built in XPages. Each developer has taken responsibility for different aspects of the site, but some of these occur in multiple places within the intranet. How should they manage these tasks?

    A. Create SubForms within the XPages to separate and reuse the code.
    B. Create Sections on each XPage to incorporate the shared functionality.
    C. Create custom controls for each aspect of the site that is repeated in multiple places.
    D. Create separate XPages for each primary area, then use the Source tab of the Editor view to copy the XML representing each subset offunctionality and paste it onto the necessary XPages.

  • Question 10:

    Kumar is building the XPage that serves as the home page for the Corporate Happenings site. The home page needs to include an image at the top right of the page, and this image changes weekly. How can Kumar design his XPage to do a look up to the vConfig view to determine the location of the image, rather than hard-coding an image URL?

    A. Drag a computed field control onto the XSP editor. Select Formula language for the Data Binding. Enter this code in the script pane: ""
    B. Drag a computed field control onto the XSP editor. Select Formula language for the Data Binding. Enter this code in the script pane: ""
    C. Drag an image control onto the XPage. Select Use an image placeholder. For the Image source property, select the Computed propertybutton. Enter this code for the script: @DbLookup("","vConfig","spotlightImage",1)
    D. Drag an image control onto the XPage. Select Use an image placeholder. For the Image source property, select the Computed propertybutton. Enter this code for the script: @DbLookup("";"vConfig";"spotlightImage";1)

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C2040-951 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.