Jeff is setting up his status XPage so that it displays graphical status indicators based on the data being displayed. He has not received the images from his customer yet. What can he do to continue developing the application while waiting for the images to be delivered?
A. Select the null image when adding the image control to the Xpage.
B. Select Use an image placeholder when adding the image control to the Xpage.
C. Select the placeholder image from Image Resources in the application navigator.
D. Select the Determine Later option when adding the image control to the Xpage.
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
A. The agent doesn't save docNAB after attaching the vCard.
B. The AttachVCard method cannot use the same document object as both source and target documents.
C. The AttachVCard method requires an additional parameter, specifically a ForceDocumentSave boolean value.
D. The AttachVCard method can only be used with mail memo documents as the target, so the agent would have to call docNAB.Send to attachthe vCard.
Fiona would like to create an XPage that would switch into edit mode. In order to allow users to edit the page she would like to add a button to do this. How should she set up the button to perform this action?
A. XPages cannot be opened in edit mode.
B. No button needs to be added, XPages are opened in edit mode by default.
C. In the Properties tab, select "simple action", click "add action"; in the dialog, select Document for Category, select "Change document mode"in the "action" field, and then select "auto edit" in the "Document mode" field.
D. In the Event tab, select "simple action", click "add action"; in the dialog, select Document for Category, select "Change document mode" inthe "action" field, and then select "auto edit" in the "Document mode" field.
Zach needs to ensure that every XPage in the Products application includes a copyright line. This text should display identically at the bottom of every XPage. How can Zach accomplish this task?
A. Right-click Custom Controls from the application navigator and select New Custom Control. Supply the text and formatting. Drag this controlfrom the controls palette onto the bottom of each XPage.
B. Double-click Applications properties from the application navigator. In the Header and Footer area of the XPages tab, enter the text in theFooter Text field. Select the options for font, color, and justification.
C. Create a page to hold the content. Right-click Custom Controls from the application navigator and select New Custom Control. Supply thename of the page for the Source property. Drag this control from the controls palette onto the bottom of each XPage.
D. Create a subform to hold the content. Right-click Custom Controls from the application navigator and select New Custom Control. Supply thename of the subform for the Source property. Drag this control from the controls palette onto the bottom of each XPage.
Farah has added the main.css style sheet to her XPage. She wants to associate the helpText class from main.css with the lblHelp Label control on the page. How can Farah do this task?
A. Select the Source tab from the Xpage canvas, and enter this line:
B. Right-click lblHelp from the XPage. On the HTML tab of the Properties window, enter helpText for the Class option.
C. Select the lblHelp control on the Xpage. From the Style tab of the Properties window, enter helpText for the Class option.Click here to inputoption.
D. Select the Source tab from the Xpage canvas. Locate the
Shawn has a list of options that he would like to add as checkboxes to an XPage. How can he add a Checkbox group control to his current XPage?
A. From the Create menu, select Group Controls, and then select Checkbox group
B. From the Controls Palette, drag a Checkbox group control to the XPage
C. From the Create menu, select Other..., expand the Other Controls, select Checkbox group, and click OK
D. From the Controls Palette, drag a Check Box control and select the Checkbox group option in the All Properties
Abigail has added a computed field control to her Person XPage. For that field, she chose to use JavaScript? For binding data to that field How will she add code to that control to get the data to display?
A. Right-click the Computed Field control and select Open Script Editor.
B. Click the Computed Field control and enter the code into the correct Events tab area.
C. Right-click the Computed Field control and select the Source option for the control.
D. Click the Computed Field control and then click the Open Script Dialog button on the Properties > Value tab.
Odette is designing the index XPage that is used for navigation for her Domino application. For what purpose might Odette use the Outline view in Domino Designer in Eclipse while working with the index XPage?
A. To drag elements to rearrange sections and change the sequence of elements on the XPage.
B. To drag controls from the controls palette onto a hierarchical representation of the XML source code, typically during the initial design of the XPage.
C. Aside from the expand and collapse icons, nothing in an Outline view is clickable. Nonetheless, the Outline view provides an extremely usefulmeans to browse the XML elements of an XPage.
D. The Outline view provides a hierarchical representation of the XML source code in XPages. The developer can quickly update varioussettings from within the Outline view using right-click menu options for each element.
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?
A. Call dbNAB.AttachVCard(docNAB)
B. Call docThis.AttachVCard(dbNAB)
C. Call docThis.AttachVCard(docNAB)
D. Call docNAB.AttachVCard(docThis)
Oleg would like to add a banner at the top of his XPage to display a graphic and the name of the application. How can he do this task?
A. Drag a Header control from the core controls to the top of the XPage canvas. Select the image from the Image option,and select ApplicationTitle for the Text option.
B. Open the Properties view for the XPage. Open the All Properties tab and expand the basics section. Select the image for the headerImageproperty. For the headerLabel property, select Application Title
C. Open the Properties view for the XPage. Open the All Properties tab and expand the basics section. Select the image for the pageIconproperty. For the pageTitle property, specify that it is a Computed value and enter @DbTitle();
D. Drag a Panel control from the controls palette to the top of the XPage canvas. Drag an Image control onto the panel and select the image toinclude. Drag a Label control onto the panel. From the Properties view for the Label, open All Properties, select data > value. Set the Valueto Compute value, and enter @DbTitle();