IBM Lotus Notes Domino 8.5 Application Development Update - C2040-951 Exam Practice Test

Chad has built a Photo Album XPage that allows people to select image files to transfer to their own computer. What Core control can Chad use in the XPage to accomplish this design feature?

Correct Answer: D Vote an answer
Tom added a button to an XPage and a Simple Action. Tom chose "Basic" as the category, so he can select "Execute Script" to execute a script. What are the options that Tom will find under the "Language" section?

Correct Answer: A Vote an answer
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?

Correct Answer: B Vote an answer
Lena is developing an XPage that is a shopping cart application, to allow the user to browse available corporate publications. The publications that the user selects are stored in a cookie that is named usrPubs. The username is stored in a cookie named shopperName. What code can Lena use in her XPage to retrieve the cookies?

Correct Answer: C Vote an answer
Fiona would like to create an XPage that would switch into edit mode. In order to allow users to edit the page she would like to add a button to do this. How should she set up the button to perform this action?

Correct Answer: C Vote an answer
Nick would like to use JavaScript to get the name of the current XPage. Which one of the following global objects and its corresponding method can he use to accomplish this?

Correct Answer: B Vote an answer
Christopher's Environment Monitoring XPage dashboard allows the user to enter the current time, temperature, and humidity. The Update core control button needs to update two different Domino databases with this data when clicked. What simple action can Christopher use to accomplish this task?

Correct Answer: B Vote an answer
Henry is using a requestScope scoped variable (rSa) in an XPage called XPageA to make it available in XPageB. John is testing XPageB, but rSa is still empty. Which of the following is causing this behavior?

Correct Answer: B Vote an answer
Lisa wants a confirmation before the document, which was edited in an XPage, is submitted and saved. How can she accomplish this task?

Correct Answer: C Vote an answer
Daniel has an XPage design element that shows a view. The view has hundreds of entries, ten of which display at one time. What core control can Daniel add to the XPage to allow the user to navigate through the view?

Correct Answer: B Vote an answer

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어