IBM Assessment: IBM Lotus Notes Domino 8.5 Application Development Update - A2040-951 Exam Practice Test

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 Vote an answer
Viktor has been asked to begin modifying the corporate Domino Web sites to adhere to XHTML standards. He has enabled enhanced HTML generation in the application properties. When testing a couple of the page elements in the Web browser and viewing the source, Viktor notices that tags like <br> and <hr> are still not correctly closed, that is, <br />. What could be the problem?
Correct Answer: B Vote an answer
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 Vote an answer
Hannah wants to change her font type on her invoices XPage. What view in the Domino Designer allows her to do that?
Correct Answer: D Vote an answer
Hurley is working on a shipping application which is part of the cargo working set. He switches over to the employee working set and notices that the shipping application displays as part of that set. How can Hurley remove the shipping application from the employee working set?
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: D Vote an answer
Nathan is adding the ability to upload files to his XPages application. What can he do to have the files placed in a particular rich text field.
Correct Answer: B Vote an answer
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?
Correct Answer: D Vote an answer
Jackie is updating the Travel application. There are several forms that are used from the Notes client and from the Web browser, and she needs to add an area at the bottom of each form to be used to capture approval/denial comments. Jackie has created XPages that make use of JavaScript controls for rich text, and she would like to offer Web users a similar rich-text experience in the field that she will add on a new subform. How can she do this task?
Correct Answer: D Vote an answer
Elaine is working on an XPage. She wants to use a custom control that she created earlier, but the custom controls are not visible in the Controls view. Why is this happening?
Correct Answer: A Vote an answer