[Free] 2017(Sep) Latesttests Testinsides IBM C2040-410 V13 Dumps with VCE and PDF 21-30

Latesttests 2017 Sep IBM Official New Released C2040-410 V13
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/C2040-410 V13.html

IBM Notes and Domino 9.0 Social Edition Application Development B

Question No: 21 – (Topic 1)

Louise is designing a mobile workflow application. Next to a Label control displaying quot;Approved?quot; she added a Toggle Switch control with a leftLabel set to quot;Yesquot; and the default rightLabel set to quot;Noquot;. Which event should Louise now code to test for when the mobile application user swipes the Toggle Switch from quot;Noquot; to quot;Yesquot;?

  1. onChange

  2. onToggleLeft

  3. onToggleRight

  4. onStateChanged

Answer: D

Question No: 22 – (Topic 1)

John added a Dynamic View Panel to the CustomersViews XPage to switch display to any one of several views in the Customers application. He set the pageName property to the CustomerDocument XPage to identify the XPage to open when a customer name is selected from the displayed view in the Dynamic View Panel control. What must John do to have the selected customer document open in read mode on the CustomerDocument XPage?

  1. For the Dynamic View Panel, set the openDocAsReadonly to quot;truequot;.

  2. Nothing. The selected document in a Dynamic View Panel will by default open in read mode.

  3. For the Domino Document data source on the CustomerDocument XPage set the openDocAsReadonly to quot;truequot;.

  4. Code the onColumnClick event of the Dynamic View Panel control with the Open Page simple action and set the target property toquot;openDocumentquot;.

Answer: D

Question No: 23 – (Topic 1)

Akane is trying to decide between using @Command([RefreshWindow]) and

@Command(ReloadWindow]) in a view action. What is the significant difference between the two?

  1. @Command([RefreshWindow]) executes immediately. @Command(ReloadWindow]) executes after other functions in the action havecompleted.

  2. @Command(ReloadWindow]) executes immediately. @Command([RefreshWindow]) executes after other functions in the action havecompleted.

  3. @Command([RefreshWindow]) redraws the window contents without including any changes made to the documents.@Command(ReloadWindow]) updates the window contents to include any changes made to the documents.

  4. @Command(ReloadWindow]) redraws the window contents without including any changes made to the documents.@Command([RefreshWindow]) updates the window contents to include any changes made to the documents.

Answer: A

Question No: 24 – (Topic 1)

Which navigator control only works with data within the same database?

  1. lt;xe:outlinegt;

  2. lt;xe:tagCloudgt;

  3. lt;xe:navigatorgt;

  4. lt;xe:breadCrumbsgt;

Answer: B

Question No: 25 – (Topic 1)

Which is a true statement about XPages in the Notes client (XPiNC)?

  1. XPiNC is a web based application running in the Notes client.

  2. XPiNC uses the web based Notes-client plugin to display XPages in the Notes client.

  3. XPiNC does not uphold traditional security features of Notes application development.

  4. Using XPiNC, developers can run traditional Notes web-based applications within the Notes client.

Answer: A

Question No: 26 – (Topic 1)

Slobo is working on a new XPages application. He has a requirement to use a Stylesheet (CSS). How would he use it on a XPage?

  1. Add the Style Sheet to the NSF. In the XPage, insert at the top of the XPagelt;scriptBlockgt;lt;LINK href=quot;special.cssquot; rel=quot;stylesheetquot; type=quot;text/cssquot;gt;lt;/scriptBlockgt;

  2. Add the Style Sheet to the NSF. In the XPage, insert at the top of the XPage:lt;HEADgt;lt;LINK href=quot;special.cssquot; rel=quot;stylesheetquot; type=quot;text/cssquot;gt;lt;/HEADgt;

  3. Add the CSS stylesheet in the Resources/Style Sheets section. Using the Resources tab in the Properties view of the XPage that needs to usethe CSS classes, use the Add Resource button and choose Style Sheet from the drop-down menu of choices.

  4. Add the CSS stylesheet in the Shared Elements/Style Sheets section. Using the Resources tab in the Properties view of the XPage that needsto use the CSS classes, use the Add Resource button and choose Style Sheet from the drop-down menu of choices.

Answer: C

Question No: 27 – (Topic 1)

Which is a valid Form Table control property?

  1. formId

  2. tableId

  3. formTableId

  4. formDescription

Answer: D

Question No: 28 – (Topic 1)

Kamden is looking for a simple way to ensure that some of his XPages fields are filled in by the end user. What steps could he use to accomplish this?

  1. Under the Properties tab of the edit box, select the All Properties section. Within the data area set the mandatory property to quot;truequot;.

  2. Under the Properties tab of the edit box, select the All Properties section. Within the data area set the required property to quot;truequot;.

  3. Under the Properties tab of the edit box, select the Validation section, check the quot;Required Fieldquot; and enter the message displayed to the userwhen the field is not entered.

  4. Under the Properties tab of the edit box select the Validation section, check the quot;Mandatory Fieldquot; and enter the message displayed to the userwhen the field is not entered.

Answer: C

Question No: 29 – (Topic 1)

Sally wants to manually bind an Edit Box control to the LastName field on her document data source quot;contactDocquot;. Which is the correct syntax for the Edit Box?

  1. lt;xp:input value=quot;#{contactDoc.LastName}quot; id=quot;form1quot;gt;lt;/xp:inputgt;

  2. lt;xp:editBox value=quot;#{contactDoc.LastName}quot; id=quot;form1quot;gt;lt;/xp:editBoxgt;

  3. lt;xp:inputText value=quot;#{contactDoc.LastName}quot; id=quot;form1quot;gt;lt;/xp:inputTextgt;

  4. lt;xp:inputText value=quot;#{contactDoc.getComponent(LastName)}quot; id=quot;form1quot;gt;lt;/xp:inputTextgt;

Answer: C

Question No: 30 – (Topic 1)

Linda has an existing IBM LotusScript agent she would like to invoke from an XPage. Assuming the agent name is FRED, what should Linda add to her XPage to call the agent?

  1. ag = database.getAgent(quot;FREDquot;);ag.RunOnServer(NoteID)

  2. var agent=database.getAgent(quot;FREDquot;);agent.run(currentDocument.getDocument());

  3. ag = database.getAgent(quot;FREDquot;);noteid = FREDSampleDoc.getDocument().getNoteID();ag.run(noteid)

  4. ag = database.getAgent(quot;Fredquot;);noteid = FREDSampleDoc.getDocument().getNoteID();ag.xpRun(NoteID)

Answer: C

100% Free Download!
Download Free Demo:C2040-410 V13 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests C2040-410 V13 Full Exam PDF and VCE

Latesttests ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 Latesttests IT Certification PDF and VCE