Ida has developed the needed functionality in the Customers XPage of her application. The Web design team has provided her with the internal.css stylesheet. After Ida imports the stylesheet to her application, how can she add the stylesheet to the XPage?
A. Open the XPage in Lotus Domino Designer. From the Style tab of the Properties view, click "Add style sheet to page" and select internal.css.
B. Open the XPage in Lotus Domino Designer. Right-click an open area of the XPage and open the Properties window. Select internal.css for the Style Sheet option.
C. From the Applications view, select Resources > Style Sheets > internal.css. From the Wiring tab of the Properties view, click "Add" and select XPage > Customers.
D. From the Applications view, double-click to open the internal.css style sheet. From the Associations tab of the Properties view, click "Add association" and select XPage > Customers.
Alison would like to perform an @DbLookup to the Keywords view from her XPage. The same code needs to run in a browser and in XPages in the Lotus Notes client. Which of the following options is the correct syntax?
A. @DbLookup("", "Keywords", "Countries", 2, [FAILSILENT])
B. @DbLookup(@DbName(), "Keywords", "Countries", 2, "[FAILSILENT]")
C. @DbLookup(""; "Keywords"; "Countries"; 2; [FAILSILENT])
D. @DbLookup(@DbName(), "Keywords", "Countries", 2, [FAILSILENT])
Gustav has added a View control to his XPage. He needs to allow users to delete documents from the view. How can he do this task?
A. Add a button with a simple action defined to Delete Selected Documents.
B. Enable the Column Display property check box and the View property Allow Deletion.
C. Enable the Column Display property check box and add a button with a simple action defined to Delete Selected Documents.
D. Enable the Column Display property check box, and add a button with server-side JavaScript in the button's onclick event that uses the @Function script library to execute @Command [(DeleteDocument)].
How do you get a collection of all documents of the current database in an XPages environment?
A. var documents = database.getAllDocuments();
B. var db:NotesDatabase = session.CurrentDatabase;var documents = db.AllDocuments();
C. var ws = session.getCurrentWorkspace;var db = ws.CurrentDatabase;var documents = db.AllDocuments();
D. var s:NotesSession = new NotesSession;var db = s.getCurrentDatabase();var documents = db.getAllDocuments();
Which of the following options cannot be used in a server-side Javascript library?
A. Java functions
B. XPages @Functions
C. Simple actions
D. Global functions
Lian has used the Set Value simple action in the Timesheet XPage to set the value of a computed expression. What does the generated XML look like on the XPage after this simple action has been added?
A.
B.
C.
D.
Frederick has added a button to his XPage and labelled it Edit. What should he do to make the button put the document in edit mode?
A. Add a simple action to the button's onclick event and select the Edit Document Action.
B. Add a simple action to the button's onclick event and select the Change Document Mode Action, specifying Edit as the mode.
C. Add server-side JavaScript to the button's onclick event and use the @Function script library to execute @Command[(EditDocument)].
D. Add client-side JavaScript to the button's onclick event and use the @Function script library to execute @Command[(EditDocument)].
Qiang needs to add a button to the Contact XPage. When clicked, this button should delete the currently open document from the application. What is one way that Qiang can add this button?
A. Drag the Data control from the core controls onto the XPage canvas. From the Control properties, set the Label to Delete. On the Operations tab, select Current document and Delete.
B. Drag the Data control from the core controls onto the XPage canvas. From the Control properties, set the Label to Delete. In the Options area of the properties, select Delete for the Action, and select Domino Document for the Target.
C. Drag a Button control from the core controls onto the XPage canvas. From the Control properties, set the Label to Delete. On the events panel, select the Mouse onclick event, and add a server-side simple action. Select Delete for the action.
D. Drag a Button control from the core controls onto the XPage canvas. From the Control properties, set the Label to Delete. On the events panel, select the Mouse onclick event, and add a client-side simple action. Select Delete for the action.
Jackson is using the FTSearch method of the NotesDatabase class to to return a NotesDocumentCollection. Jackson notices that the NotesDocumentCollection does not contain all the documents that he would expect. What would cause this issue?
A. Jackson did not set the MaxDocs parameter on the FTSearch method to All to return all valid documents.
B. Jackson did not set the MaxDocs parameter on the FTSearch method to 0 to return all valid documents.
C. The maximum number of documents returned by FTSearch is 5,000 documents.
D. The maximum number of documents returned by FTSearch is 2,000 documents.
With server-to-server replication, what is the minimal access level, that a server must have to an application to replicate not only documents, but also design elements?
A. Reader
B. Designer
C. Manager
D. Servers always replicate any document independent of their access rights.
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-986 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.