Ashley is writing a server-side script to process the request parameters that are passed in her Registration XPage.
What global object should she use to access the parameters that she's interested in?
Show answer and explanation
Correct answer: A
C2040-951 Real Exam Questions
94 questions available · Page 1 of 10
Updated Exam DumpsVerified AnswersPass Guarantee
Ashley is writing a server-side script to process the request parameters that are passed in her Registration XPage.
What global object should she use to access the parameters that she's interested in?
Correct answer: A
Michael is creating an XPage for his company's satellite tracking application. The XPage is bound to the satinfo form as a data source that contains basic information about the requested satellite. There is also a
custom control on the XPage that is bound to the maintenance form as a data source, which displays information about the satellite's maintenance history. When Michael adds a submit button to the XPage, he wants the data entered into either section to be saved to the appropriate form.
What does Michael need to do to accomplish this?
Correct answer: A
Percy has written a LotusScript agent that creates a vCard and attaches it to a selected Person record in the Domino directory. His agent runs to completion, but when he opens the document it does not have the vCard attached. Given the following LotusScript code, what is the cause of the problem? Dim session As New NotesSession Dim dbNAB As NotesDatabase Dim docNAB As NotesDocument Dim dcNAB As NotesDocumentCollection Set dbNAB = session.CurrentDatabase Set dcNAB=dbNAB.UnprocessedDocuments Set docNAB = dcNAB.GetFirstDocument Do While Not (docNAB
Is Nothing) Call docNAB.AttachVCard(docNAB) Set docNAB = dcNAB.GetNextDocument(docNAB) Loop
Correct answer: A
Priscilla has used the Set Value simple action to define the value of the Author field on her XPage.
Which of the following is a valid binding in the Expression Language?
Correct answer: D
Odette is designing the index XPage that is used for navigation for her Domino application.
For what purpose might Odette use the Outline view in Domino Designer in Eclipse while working with the index XPage?
Correct answer: A
Alexis has a PostalCode XPage in her application. When the Lookup button is clicked, control is redirected to the PostalCodeData XPage.
What global object would allow her to pass the postal code value from the PostalCode form to the PostalCodeData form, making sure that the data continues to be available until users close their browser?
Correct answer: B
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: C
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
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?
Correct answer: B
Jack needs to display the release version of the Sales application on the top of each XPage of the site. He has created a computed field at the top of the 'home' XPage, and is using this field to set the release version. Jack also needs to create a computed field that is placed at the top of each linked Xpage.
What code should he provide for Computed Field of each linked page to display the release version?
Correct answer: D