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.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 -> ViewKyle 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)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.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 PageEric 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.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 ServerElizabeth 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")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.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: ""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.