Question 2
Peter wants to enhance the view controls used in his application so that they can display rich content from the underlying document collection. He wants to do this in an efficient manner as the application has thousands of documents and is accessed by hundreds of concurrent users.
Which of the following approaches should John take to add this enhancement to his application most efficiently?
Modify the Domino view to include the rich text field and add a new column to his view controls that automatically binds to this field.
Add a computed column to the view control that opens each document, set the column content type to HTML, and bind the rich text content from each document using JavaScript code.
Add an action to each column that will retrieve the rich text content from the underlying document when clicked, assign it to a computed field with content type set to HTML, and then display that field.
Nothing - XPages view controls cannot display rich content.
Correct answer: C
Explanation:
answer is corrected.