310 likes | 368 Views
Explore the enhancements in IBM Lotus Domino Designer 6, including new design elements, improved page construction, OLE control enhancements, and programmability to streamline application development. Cascading Style Sheets allow customization and integration of relational data. The design environment offers precise placement of elements, advanced document views, embedded editors, color fields, and more.
E N D
Lotus Domino Designer 6 Overview Maureen Leland Software Architect IBM Lotus
Design environment improvements • New design elements - style sheets, file resources, data connection resources • New elements for page construction - layers, new field types • View enhancements • Design and runtime OLE control enhancements • Enhanced programmability Agenda
Quick Access User Interface Shading makes it easy to see which DB you are working with
Drag and Drop Bookmarks Folders
Design Element Folders • Custom folders to hold the elements you choose
Quickly access any Form Quick Scroll Access to Design Elements Currently working with the DB's views
More Information is displayed • Columns are sortable for all design elements (Added to Agents) • Edit properties for multiple design elements Design Element Views
See more information about your shared actions • Multiple editing sessions New View for Shared Actions
Cascading Style Sheets • Affect styling in both the Notes client and Web clients • Allow you to separate form from content • Style sheets can be shared across databases • Maintained and specified, but not created in Designer
Allow storage of any object in an nsf • HTML files can be included on a form or a page • Remember pass-through html now renders in the Notes client! • Managed and selected in just the same way as style sheets File Resources
Data Connection Resources • Integrate relational data directly into the application • Design-time integration • Browsing of metadata • Associate form fields with relational data
Easier, more precise placement of design elements • Use for: • Grouping design elements • Absolute positioning • Overlapping contents • Can be created in a Page, a Form or a Subform Layers
Embedded Editors • Create or view multiple documents from within a form • Preview documents selected from an embedded view See Welcome Pages in bookmark.nsf for examples
Embedded View Enhancements • Multiple views on a single page • Show action bars • Show selection margin • Show discussion threading • Show column headers • Transparent background Allows for Advanced application designs such as those for the Welcome Pages
A color field lets you display a color picker on a form. • The chosen color is stored in hexidecimal format. • For example, red is stored as 000000FF. Color Fields
Rich Text Lite Fields • Provides users with a fast way to add object into a field. • When the user clicks the helper icon, a dialog box appears which corresponds to the chosen element type. • The elements listed in the drop-down menu are the only elements the user is allowed to insert into the rich text lite field. • Possible elements: • Pictures • Shared Images • Attachments • Views • Date Picker • Shared Applets • Text • Ole Objects • Calendar • Inbox • Help • Clear
Table Enhancements Size Tabs Equally Indent First Tab • Control all options for Tab Labels
dfds • Column Colors
Background Images • Background Grids • Don't Show Empty Categories • View Margins • Column Total Colors • Customize "Twisties" with your own icons • Multiple column icons • Many new date/time format options New display options in Standard Views
Use a hide-when formula to display a subset of documents • Based on conditions in place when the view first displays • For example, to hide documents from a particular user, click the Advanced tab on the Column Properties box, check "Hide column if formula is true," and enter formula: @If(@Name([CN];@Username) = "John Smith") Hide-when Columns
User Customizable Views • Programmers no longer have to tweak the view design, satisfying all users with one design • End users can change order and visibility of all the view columns
Design Environment for OLE Objects • Property sheet interface • Alphabetical or categorized property views • Control properties and values exposed in property sheet
In R5, dragging an object always created an object • In 6, it now creates an attachment by default • If you want to choose the format, right-click drag • Attachments can be edited in place Other OLE-Related Changes
AutoComplete for @Functions and @Commands 2 3 • Completes code as you type • Shows parameter help 1
1 3 4 AutoComplete for Lotuscript 2
Designer 6 distinguishes between the application of events to the Notes client and Web browser. • You code one JavaScript or LotusScript event for the Notes client and a separate JavaScript event for the Web browser. The Event Model
You can use the remote debugger to step through and debug LotusScript agents running on the server • The agent you want to debug must be running at the time that you start the remote debugging tool • Three Steps Involved: • 1. Enable remote debugging on the server • 2. Enable remote debugging in the agent • 3. Start the remote debugger Remote Agent Debugger
Looping • Using braces to delimit a remark: REM {comments} • Specify a text constant by enclosing characters in braces ({}) Example: Enter "Hello World" as {"Hello World"} instead of "\"Hello World\"" • List subscript operator to return an element of a list Example: To return element 2 of the Categories field: Categories[2] • Variables can be assigned new values as a formula progresses Example reassign "n" in a @While loop... n := 1; @While(n <= @Elements(Categories); @Prompt([OK]; "Category " + @Text(n); Categories[n]); n := n + 1) • Nesting assignment statements Example: FIELD CityUpper := @UpperCase(FIELD City := "London" ) • New and improved @Functions - @while and many more! New @Formula Features
This print dialog box lets you print source code from within the Programmer's pane • For formulas, simple actions, LotusScript, JavaScript, and Java (but not imported Java files) • Source... Current selection Current object • Languages... All objects Current language All languages Print Source Code
Thank you for watching!!! QUESTIONS? Maureen will answer your questions now. Submit your questions by clicking on the “Ask a Question” button in the bottom left corner of your presentation screen. Thank you! You can send additional questions to Maureen Leland via editor@searchdomino.com.