LOT-951 - IBM Lotus Notes Domino 8.5 Application Development Update Exam
Go back to IBM
Carl is using the NotesRichTextDocLink object to work with a URL that he has in the body of an email. He would like to remove the underlying URL associated with the link, while leaving the formatting of the link alone. What method would Carl use to accomplish this task?
Devin has been developing an application that includes an XPage. When he opened the application in Designer this morning, he noticed a small "x" icon by the XPages listing in the Applications view. He had closed several of the Eclipse views yesterday, and does not see any errors displayed in the remaining views. How can Devin locate the problems in the source code?
Display the Problems view by selecting Window > Show Eclipse Views > Problems. Right-click a displayed error and select Go To. The Source view opens to the line with the error.
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?
From the Create menu, select Other..., expand the Other Controls, select Checkbox group, and click OK
Kaitlyn has been asked to track which browser versions people are using to access the Customers XPage. She wants to add code that writes the browser version to the server log whenever a user opens the XPage. What server-side code can Kaitlyn add to do this task?
Add this code in the beforePageLoad event of the XPage: var req = facesContext.getExternalContext().getRequest();print(req.getHeader("User-Agent"));
Annie is working to develop an application based on XPages. One of the Xpages that she developed will be used for data collection. The data filled in the fields needs to be validated before submitting the entire page. In some cases, empty the fields and request the user type need to be in a valid value. How can she activate the Ajax Partial Update to achieve this target?
The Partial Update can be activated to any Event. Select "Partial Update" on the Event tab andthen select the element she wants to haveupdated when the event is fired.
Olivia is writing a Discussion application using XPages. She added a button on her main topic XPage to create a response document for this discussion. What should she do to generate the response document?
Add a Create Response Document simple action to the button onclick event
John wants to use Themes to help him define controls properties. He wants to use the OneUI theme but also extend it to be able to manage a different style for some buttons. How can he override the global theme properties for some of his buttons?
He can use the option <control override='true'> for the concerned controls.
In the Events view
Click the Computed Field control and then click the Open Script Dialog button on the Properties > Value tab.
Jessica would like to use the sessionScope object to share the value of the "Name" Edit Box for the duration of the user's XPage session. Which of the following can she use to set her "myName" sessionScope variable with the value of the Edit Box?
var name = getComponent("Name").getValue(); sessionScope.put("myName", name);
Margot has created a new theme for her application and saved it as a Themes resource. When she is testing her application, she wonders, why her new theme is not used. What could be the reason for this?
She forgot to activate her new theme in the application properties. In the Web section she has to change the default theme to her newtheme
Chad has built a Photo Album XPage that allows people to select image files to transfer to their own computer. What Core control can Chad use in the XPage to accomplish this design feature?
Alexis has a PostalCode XPage in her application. When the Lookup button is clicked, control is redirected to the PostalCodeData XPage. What global object would allow her to pass the postal code value from the PostalCode form to the PostalCodeData form, making sure that the data continues to be available until users close their browser?
Christopher's Environment Monitoring XPage dashboard allows the user to enter the current time, temperature, and humidity. The Update core control button needs to update two different Domino databases with this data when clicked. What simple action can Christopher use to accomplish this task?
Save Data Sources
Sawyer wants to display the contents of the family members field, which contains multiple values, as a list on his contacts XPage. Which control would allow Sawyer to display multiple values in a field as a list?
Use the repeat control
Abbas has imported the screen.css stylesheet into his application. He has discovered that he needs to edit the properties of some of the classes in the CSS. What steps can he follow to make the needed changes and save the CSS changes within the application?
From the application navigator in Designer, expand Resources and expand Style Sheets. Double-click screen.css to use the built-in CSSeditor.
Eric is using Peter's Lotus Domino Designer. He is developing an XPage component. When launching the Lotus Domino Designer help through Help/Help - Contents, anything he is searching on XPages is not found by the Eclipse help system. Which option has Peter set that does not find any XPage help information?
Peter search scope is limited to the LotusScript languagePeter? search scope is limited to the LotusScript language
Barb is the lead developer for the Sales application and the Travel application. Each application consists of multiple databases. Within the application navigator, Barb would like to be able to list the databases of the Sales application together, and then, separate from the Sales application, to list the databases of the Travel application together. How can she do this?
Click the folders icon within the application navigator. Select the option to Create a new Working Set. Name the Working Set "Sales" andselect the databases that comprise the Sales application. Perform a similar procedure for the Travel application.
Arthur wants to change the look of his entire XPages application. What can he do to accomplish this task?
Create a theme and apply appropriate style information, then change the Application's Default theme on the Basics tab of the Applicationproperties
Nadia needs to add a control to her XPage that allows the users to only select one option, and she needs to define the choices based on a DBLookup to a configuration document. What control should she use to accomplish this task?
Radio button group control
Cade is building an XPage for the Sales application. What are the options from which he can select when defining a data source from the data palette?
Domino view and Domino document
Manesh is developing the ActivityPlanner XPage. He now needs to add check boxes that allow a user to select one or more of the activities of Monthly Volunteering, New Hire Orientation, and Quality Circle. How can Manesh create the needed check boxes?
From the controls palette, drag "Other" onto the XPage and select Other Controls > Checkbox group. Open the Source tab, and within the xp:checkBoxGroup tag, enter these lines: <xp:selectItem itemLabel="Monthly Volunteering" itemValue="01"></xp:selectItem> <xp:selectItem itemLabel="New Hire Orientation" itemValue="02"></xp:selectItem> <xp:selectItem itemLabel="Quality Circle" itemValue="03"></xp:selectItem>
Nathan is adding the ability to upload files to his XPages application. What can he do to have the files placed in a particular rich text field.
In the Properties view, on the Data tab, select Simple Data Binding and specify a Domino document data source and bind to the specific richtext field.
Darren is working with the Outline view on a new XPage. He drags a button control so that it is above an edit box control. What effect does this have on the XPage in the Design editor?
The button control will move above and to the left of edit box control.
Viktor has been asked to begin modifying the corporate Domino Web sites to adhere to XHTML standards. He has enabled enhanced HTML generation in the application properties. When testing a couple of the page elements in the Web browser and viewing the source, Viktor notices that tags like <br> and <hr> are still not correctly closed, that is, <br />. What could be the problem?
The Web server generates valid XML, but there are exceptions. One of the exceptions ispassthrough HTML.
Elaine is working on an XPage. She wants to use a custom control that she created earlier, but the custom controls are not visible in the Controls view. Why is this happening?
The custom control that Elaine wants was created in another application, and no custom controls have been created in this application yet.
Luke accidentally closed the applications navigator in Domino Designer and now he cannot see the list of design elements that he's working on. How can he get it back?
Click Window > Show Eclipse Views > Applications from the menu
Aidan has a number of databases listed in the Application navigator. He wants to sort his applications based on the server where they reside. How can Aidan accomplish this?
Click on the Menu icon in the Application navigator and click Sort > By Server
Russell has added a button to the XPage he is developing to save the contents as a Lotus Notes document. What steps can Russell take to configure the button to accomplish this?
In the button's Events view, select the Server tab, click the "AddAction..." button, select the Save Document action, and click OK
Beatrice has been asked to modify three views in the projects database. All view fonts are currently set to 10 pt, and Beatrice needs to now set the font for the column titles and for the detail rows to be 8 pt. How can Beatrice accomplish this task?
For each view, select the view in the application navigator. Select Tools > Edit with DXL. After the design opens, select Edit > Find/Replace. For Find specify: size='10pt' and for Replace specify: size='8pt' and then click Replace All and Close.
Dina has created a tabbed panel on her XPage and she needs to add an additional tab. How can she do this?
Select the Tabbed Panel in the XPage editor, select the Tabbed Panel menu, and select either Insert or Append Tab.
Henry is using a requestScope scoped variable (rSa) in an XPage called XPageA to make it available in XPageB. John is testing XPageB, but rSa is still empty. Which of the following is causing this behavior?
Henry needs to test XPageB from the action set on XPageA.
Rebecca has a Rental XPage that updates an underlying document in the database. As the user leaves each field on the XPage, Rebecca wants the underlying document fields to be updated. What can she use to accomplish this task?
Add a Modify Field simple action to the Edit Box core control onBlur event
Josh has created an XPage that contains a view container and a button to delete selected documents using a Simple Action. His boss has asked him to modify the XPage button to give the user an opportunity to cancel the delete action. What can Josh do to fulfill this requirement?
In the Delete Selected Documents dialog, Josh must enter a value in the Confirmation text field.
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?
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.
Amalis has created an agent that will remove all links from the shipping field. When she runs the agent listed below an "Object variable not set error". What does she need to do to correct the error?
Set rtlink = rtnav.GetElement
Ignacio needs to enable rich-text editing in his web application. He would like to take advantage of the Dojo rich-text editing control available in XPages, but he needs to use it on a form instead. How can he do this task?
Which of the following statements is wrong regarding the simple action "Modify Field"?
Modify Field directly edits the notes field inside the document.
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?
To drag elements to rearrange sections and change the sequence of elements on the XPage.
Ashley is writing a server-side script to process the request parameters that are passed in her Registration XPage. What global object should she use to access the parameters that she's interested in?
Ivy is working on an XPage that displays one of 20 different pictures depending on the values of key fields. How should she accomplish this task?
Drag the image control onto the XPage and select an image placeholder, then set the Image Source to be Computed and define it based onthe appropriate formula.
Janet uses Domino Designer's Dynamic Help feature to clarify something. What kind of help will she get?
A context-sensitive help view that constantly updates a list of possible relevant topics based on what she's doing.
Jane has a view that she will display on several XPages using a custom control. How can she add the view to the custom control?
Drag a view container from the Controls Palette to her custom control
Lisa wants a confirmation before the document, which was edited in an XPage, is submitted and saved. How can she accomplish this task?
She puts a Button Control on the XPage, adds a Confirmation Action through "Add Action ...", and adds the "Save Document" simple action.
What is the difference between the global objects header and headerValues?
header contains a RequestHeaderMap, which returns the first value of each header only, whereas headerValues provides all values of eachheader in an array.
Tara is writing an agent that allows users to reset their password on their ID file from the ID vault. What method listed below would need to be used in the agent to accomplish this task?
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?
Select Use an image placeholder when adding the image control to the Xpage.