Exit C2040-410 IBM Notes and Domino 9.0 Social Edition Application Development B
Question 1 of 5
0% complete
Q1 Single choice

Ken has written an IBM LotusScript agent that updates existing documents with new data. However, after the agent runs, some of the documents are giving errors while users are working with them in the user interface. Some of the data that was added is not passing the field validation tests.

What can Ken do to make sure the data he is adding to the documents is valid before he saves the changes?

  • A

    Ken can add a call to the ValidateDocument method of the NotesDatabase class and verify that the return flag is True, indicating that there areno errors on the document prior to saving the document.

  • B

    Ken can add a call to the ValidateDocument method of the NotesDatabase class and verify that the return flag is False, indicating that thereare no errors on the document prior to saving the document.

  • C

    Ken can add a call to the ComputeWithForm method of the NotesDocument class and verify that the return flag is True, indicating that thereare no errors on the document prior to saving the document.

  • D

    Ken can add a call to the ComputeWithForm method of the NotesDocument class and verify that the return flag is False, indicating that thereare no errors on the document prior to saving the document.

Previous Next