Translation

Ads

Granjuxx
Professional IT services. Special offers for small companies Websites.
Hostnet
Hosting starting at R$9,90. Free domains. 30 days free trial.


Place your ad here.

Public audience report XHTML valid

Home Blog
Tips
LotusScript code to redirect users to the same database in a different server PDF Print
Written by Bruno Grange   
Wednesday, 21 December 2011 08:13

The following LotusScript code will show a prompt to users attempting to open a Lotus Notes database in a server that is not supposed to be opened, and automatically redirect them to the new server. The code should be placed in the PostOpen event of the Lotus Notes Database.

 

Sub Postopen(Source As Notesuidatabase)
Dim ws As New NotesUIWorkspace
Dim uidb As NotesUIDatabase
Dim db As NotesDatabase
Dim nnam As NotesName
Dim strOldServer As String
Dim strNewServer As String
Dim strPath As String
Dim strMacro As String
Dim varMacroResult As Variant
Dim intAnswer As Integer
Set db = Source.Database
Set nnam = New NotesName(db.Server)
strOldServer = "OldServer/Org" 'ADD YOUR OLD SERVER HERE
strNewServer = "NewServer/Org" 'ADD YOUR NEW SERVER HERE
strPath = db.Filepath
If nnam.Abbreviated <> strOldServer Then
Exit Sub
Else
Print "Opened the database [" + db.Title + "] (" + strPath + ") on the deprecated server " + nnam.Abbreviated
End If
intAnswer = MessageBox("IMPORTANT: The database server you are trying to open is obsolete and may contain archived data only." + Chr(13) + _
"All applications should be used on the server " + strNewServer + " instead of " + strOldServer + Chr(13) + _
"Do you want to be automatically redirected to [" + db.Title + "] in the new server replica if this database is available there?" + Chr(13) + _
"(Click YES to start using the correct server, or NO to keep using the deprecated server)", _
4 + 32)
If intAnswer = 6 Then
strMacro = |@Command([FileDatabaseRemove]) |
varMacroResult = Evaluate(strMacro)
Call Source.Close()
Call ws.Opendatabase(strNewServer, strPath)
Print "Database [" + db.Title + "] (" + strPath + ") successfully redirected to the new server " + strNewServer
Else
Print "Operation aborted by the user"
End If
End Sub
 
Notes SmartIcons to Get Document UNID and Open Document by UNID PDF Print
Written by Bruno Grange   
Tuesday, 18 October 2011 16:14

Just create the following Notes SmartIcons to Get Document UNID and Open Document by UNID, using the following @Formula code.

Get Document UNID
@Prompt([OkCancelEdit]; "Get document UNID"; "Copy the UNID of the selected document on the box below"; @Text(@DocumentUniqueID) )

Open Document by UNID
unid := @Prompt( [OkCancelEdit]; "UNID"; "Enter the UNID:"; "" );
url := "notes://" + @Name([CN]; @ServerName) + "/__" + @ReplaceSubstring(@ReplicaID; ":"; "") + ".nsf/0/" + unid + "?OpenDocument";
@URLOpen(url)

 

 
How to deploy IBM Connections 3.0.1 Status Updates Plug-in for Lotus Notes via Widgets Catalog and Policies PDF Print
Written by Bruno Grange   
Tuesday, 20 September 2011 12:27

1. Purpose

 

This document has been prepared to outline the changes required to deploy IBM Connections 3.0.1 Status Updates Plug-in for Lotus Notes via Widgets Catalog and Policies.


2. Before you begin

This plug-in is supported on Lotus Notes clients, starting with release 8.5.1. The IBM Connections 3.0.1 Status Updates Plug-in supports:

  • IBM Lotus Connections 3.0
  • IBM Connections 3.0.1
  • IBM Lotus Notes 8.5.1 FP5
  • IBM Lotus Notes 8.5.2 FP1, FP2*, FP3 (FP3 is recommended)
  • Microsoft Windows Vista SP2 (32-bit)
  • Microsoft Windows 7 SP1 (32-bit, 64-bit toleration)
  • Apple Mac OS X 10.5, 10.6
  • Red Hat Enterprise Linux Desktop 5.3, 5.4, 5.6
  • SUSE Linux Enterprise Desktop 10, 11

    Before you install the plug-in, you must make some configuration changes.
  1. Open the plugin_customization.ini file for the Notes® client in a text editor. The file is stored in the following directory: <Notes Install>/framework/rcp/plugin_customization.ini.

Change this line:

com.ibm.rcp.security.update/UNSIGNED_PLUGIN_POLICY=PROMPT



to:

com.ibm.rcp.security.update/UNSIGNED_PLUGIN_POLICY=ALLOW



and add this line:

com.ibm.notes.branding/enable.update.ui=true


Note: After making these configuration changes, check to make sure you see the following menu option: Files -> Application -> Install. If you do not see that option, open the com.ibm.notes.branding.prefs file from the following location:

      • Windows™: <NotesData>\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\
      • Mac: <Notes install>\Data\expeditor\applications\.metadata\.plugins\org.eclipse.core.runtime\.settings\
      • Linux™: /home/<username>/lotus/notes/data/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/

If the com.ibm.notes.branding.prefs file does not exist, create it and add the following two lines to it:

      • enable.update.ui=true
      • eclipse.preferences.version=1
  1. If you are installing this plug-in on Lotus Notes 8.5.1 client, you must also set the following parameters in the plugin_customization.ini file before deploying the Status Updates plug-in:
    • Activities server URL
    • Authentication type
    • Authentication URL
  1. For example:
    • com.ibm.lconn.client.base/server=http\://<your_LotusConnections_server_URL>/activities
    • com.ibm.lconn.client.base/authtype=J2EE-FORM

Note: Note: For SiteMinder, the value for authtype is SM-FORM. For TAM server, the value for authype is TAM-FORM.

    • com.ibm.lconn.client.base/authserver=https\://<your_LotusConnections_server_URL>\:443/activities/j_security_check

Note: For https a different port may be required. 443 is the default port. The colon must be escaped in the URL string. Verify that your URLs are correct before proceeding.

  1. Save and close the file.
  2. For all supported versions, open the following file in a text editor:
<NotesData>\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.ibm.rcp.security.update.prefs

 

  1. and add the following line: UNSIGNED_PLUGIN_POLICY=ALLOW

Save and close the file.

Note: If you do not have this file, ignore this step.

(From http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Installing_the_IBM_Connections_Status_Updates_Plugin_for_Lotus_Notes_ic301 )

 

3. Installing and testing the Plug-in

  1. Download the latest version of the plugin at the Lotus Greenhouse Website at https://greenhouse.lotus.com/plugins/plugincatalog.nsf/assetDetails.xsp?action=editDocument&documentId=2CF14839E75D41F5852577B6005AA2DE

 

  1. Extract the ZIP file.

 

  1. In the extracted package folder, there should be another ZIP file called updatesite.zip. Extract updatesite.zip file.

 

  1. In the extracted folders, there should be another folder called /features with several JAR files. These files will be used in a next step.

 

Deploy a new Eclipse Update Site Database on your Domino Web server, using the Eclipse Update Site template. It is strongly recommended that users may access this server without having to authenticate, so, please make sure to set the database ACL entries Default and Anonymous to Reader.

 

Open the Eclipse Update Site DB. Click on the "Import features" action in the Action bar.

 

On the Import Features prompt, click on the "Browse…" button and select the /features folder extracted in the step described above. After that, click OK.

 

Wait until the completion of the Import process. You should see the message: "Import successfully completed!" when finished.

 

Click on the "By Provider" navigator entry. In that view, you should now see the following entries: "Business Cards" and "Status Updates". Take note of the version fields of those documents, as they will be used to deploy this plugin in a future steps.

 

Open the Update Site DB on your browser. On that page, you should see a link to a file called site.xml (e.g.: http://server.domain.com/updatesite.nsf/site.xml ) Take note of this URL as it will be used in a future step.

Open your text editor and create the following file called extension.xml. Replace the text in blue http://server.domain.com/updatesite.nsf/site.xml per the URL path to your site.xml file, as described on the step above. Replace the text in blue 3.0.1.20110713-1533 per the version field contents, as described on the step above.

<?xml version="1.0" encoding="UTF-8"?>

<webcontextConfiguration version="1.1">

<palleteItem id="com.ibm.lconn.statusupdates.feature" imageUrl="" providerId="com.ibm.rcp.toolbox.prov.provider.ToolboxProvisioning" title="StatusUpdate" url="http://server.domain.com/updatesite.nsf/site.xml">

<preferences></preferences>

<data>

<installManifest>

<![CDATA[

<install>

<installfeature description="com.ibm.lconn.statusupdates.feature" id="com.ibm.lconn.statusupdates.feature" name="com.ibm.lconn.statusupdates.feature">

<requirements>

<feature download-size="10" id="com.ibm.lconn.statusupdates.feature" match="perfect" size="10" version="3.0.1.20110713-1533" />

</requirements>

</installfeature>

</install>]]>

</installManifest>

</data>

</palleteItem>

<palleteItem id="com.ibm.lconn.client.bizcard.feature" imageUrl="" providerId="com.ibm.rcp.toolbox.prov.provider.ToolboxProvisioning" title="StatusUpdate" url=" http://server.domain.com/updatesite.nsf/site.xml ">

<preferences></preferences>

<data>

<installManifest>

<![CDATA[

<install>

<installfeature description="com.ibm.lconn.client.bizcard.feature" id="com.ibm.lconn.client.bizcard.feature" name="com.ibm.lconn.client.bizcard.feature">

<requirements>

<feature download-size="10" id="com.ibm.lconn.client.bizcard.feature" match="perfect" size="10" version="3.0.1.20110713-1533" />

</requirements>

</installfeature>

</install>]]>

</installManifest>

</data>

</palleteItem>

</webcontextConfiguration>

To test your installation, drag and drop your extension.xml file into your My Widgets area of Lotus Notes.

 

An installation should start displaying a prompt box.

 

 

If everything is running fine, you should see a progress bar downloading the file, as in the prompt below. If that does not occur, please verify your pre-install instructions, server connection, and the created XML file.

 

Another possible problem could be HTTP server authentication (depending on your environment policies, the update site database may require a valid username and password). If that happens, open your local Address Book, click on the Advanced navigator entry, and in the Accounts navigator entry, find your Update site server account.

 

Set your username and password for your Update site server. Repeat the installation process above.

 

If your installation is running fine, after the installation of the first feature, your should also see the installation of the second feature.

 

When the installation finishes, you should see the two features required for this plugin listed on your My Widgets sidebar.

 

Restart Notes.

 

When you open Notes again, you should see the Status Updates plug-in properly installed.

 

 

4. Deploying the plugin using Policies

Open your Widget Toolbox database and click in the Add Widget Action in the Action Bar of the By Category view, which is accessible clicking in the By Category navigator entry. If your already have the Connections Widget created, just edit this document.

 

In the Widget document, upload your previously tested extension.xml file to your new widget using the Attach button (if the document already exists, delete the previous version first). It is recommended that you may keep a copy of the plug-in downloaded from Lotus Greenhouse at the details field for back-up purposes.

 

 

On your corporate Address Book (names.nsf), create (or edit) a Policy to add the Widget from your Corporate Widget Toolbox to the users.

 
Path for all files in Domino's OneUI directory PDF Print
Written by Bruno Grange   
Wednesday, 25 May 2011 22:25

I compiled a list with the path for all files in Lotus Domino's OneUI directory, including images and stylesheets for all themes. Hope it helps everyone build your OneUI based applications.

/lotus/notes/data/shared/domino/html/oneuiv2/base/
/lotus/notes/data/shared/domino/html/oneuiv2/base/core.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/core.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/core.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/base/coreRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/coreRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/coreRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/base/dojo.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/dojo.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/dojo.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/base/dojoRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/dojoRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/dojoRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/base/standaloneVcard.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/standaloneVcard.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/standaloneVcard.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/base/standaloneVcardRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/standaloneVcardRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/base/standaloneVcardRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/defaultTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/defaultTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/defaultTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/defaultThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/defaultThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/defaultThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/dojoTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/dojoTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/dojoTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/dojoThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/dojoThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/dojoThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/btnSpecialBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/loginBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/lotusHorzBgSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/lotusHorzBgSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/lotusSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/lotusSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/titlebarLeft.png
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/titlebarMid.png
/lotus/notes/data/shared/domino/html/oneuiv2/defaultTheme/themeImages/titlebarRight.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/dojoTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/dojoTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/dojoTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/dojoThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/dojoThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/dojoThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/goldTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/goldTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/goldTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/goldThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/goldThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/goldThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/btnSpecialBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/loginBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/lotusHorzBgSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/lotusHorzBgSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/lotusSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/lotusSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/pageBackground.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/titlebarLeft.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/titlebarMid.png
/lotus/notes/data/shared/domino/html/oneuiv2/goldTheme/themeImages/titlebarRight.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/dojoTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/dojoTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/dojoTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/dojoThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/dojoThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/dojoThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/greenTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/greenTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/greenTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/greenThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/greenThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/greenThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/btnSpecialBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/loginBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/lotusHorzBgSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/lotusHorzBgSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/lotusSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/lotusSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/titlebarLeft.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/titlebarMid.png
/lotus/notes/data/shared/domino/html/oneuiv2/greenTheme/themeImages/titlebarRight.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/
/lotus/notes/data/shared/domino/html/oneuiv2/images/accentBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/actionMenuBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowClosedAlt.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowClosedAlt_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowClosedDark.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowClosedDark_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowClosedLight.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowClosedLight_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowClosedReversed.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowClosedReversed_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowLeft.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowOpenAlt.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowOpenDark.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowOpenLight.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowOpenReversed.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowScrollDown.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/arrowScrollUp.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/bcDropDown.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/bcDropDownHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/blank.gif
/lotus/notes/data/shared/domino/html/oneuiv2/images/btnBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/btnDropDown.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/btnDropDown2.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/btnDropDownAction.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/btnDropDownHoverPadding.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/btnDropDownPadding.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/calArrowLeft.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/calArrowRight.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/checkmark.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/colBkgd160.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/commentIndent.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/commentIndent_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/commentPointBubble.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/commentPointBubble_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/commentPointForum.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/commentPointForum_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/commentPointPersonCard.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/commentPointPersonCard_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/dndHandle.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/ibmLogo.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/ibmLogoFooter.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconActions.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconActionsHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconActionsHover_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconActions_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconAdd16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconArrowBack16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconArrowBack16_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconAttachment16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconByDate16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconByType16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconChat16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconClose.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconClose16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconCloseTips.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconCollapseTree.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconComment16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconConfirmation16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconConfirmation48.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconDelete.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconDeleteHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconDocument16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconDownload16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconError16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconError48.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconExpandTree.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconExportProfile16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconExportProfile16_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconFeed.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconFile16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconFolderClose16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconFolderOpen16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconHelp16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconHide.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconHome16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconImage16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconInfo16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconInfo48.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconLink16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconMoreAppsClosed.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconMoreAppsClosed_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconMoreAppsOpen.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconNote16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconPDF16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconPopup16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconPresentation16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconPrivate.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconProfiles.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconQuote16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconQuote16_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconRating0-16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconRating1-16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconRating2-16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconRating3-16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconRelatedTag.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconSearch16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconSecure.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconSendMail16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconShow.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconTags16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconTrash16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconWarning16.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/iconWarning48.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/javaCompatibleLogo.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/loading.gif
/lotus/notes/data/shared/domino/html/oneuiv2/images/loadingDark.gif
/lotus/notes/data/shared/domino/html/oneuiv2/images/loadingSmall.gif
/lotus/notes/data/shared/domino/html/oneuiv2/images/logo.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/miniThumbNoPhoto.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/orgBottomNode.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/orgBottomNode_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/orgParentNode.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/orgParentNode_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/orgTopNode.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/orgTopNode_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteAdd.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteAddHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteMoreArrow.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteMoreArrow_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteNavShadow.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteNavShadow_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating0.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating1.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating1_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating2.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating2_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating3.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating3_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating4.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating4_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/paletteRating5.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/profileNoPhoto.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/rteToolbar.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/rteToolbar_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/searchArrowClosed.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/searchArrowClosed_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/searchArrowHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/searchArrowHover_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/searchArrowOpen.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/searchArrowOpenHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/sortAscending.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/sortDescending.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/statusActive.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/tagSliderHandle.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/thumbNoPhoto.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/titleBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/vCardClosed.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/vCardClosed_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/vCardNoPhoto.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/vCardOpen.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewDetails.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewDetailsHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewDetailsHover_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewDetailsSelected.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewDetailsSelected_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewDetails_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewFolder.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewFolderHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewFolderHover_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewFolderSelected.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewFolderSelected_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewFolder_rtl.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewSummary.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewSummaryHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewSummarySelected.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewThumbnail.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewThumbnailHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewThumbnailSelected.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewTree.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewTreeHover.png
/lotus/notes/data/shared/domino/html/oneuiv2/images/viewTreeSelected.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/dojoTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/dojoTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/dojoTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/dojoThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/dojoThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/dojoThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/metalTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/metalTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/metalTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/metalThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/metalThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/metalThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/btnSpecialBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/loginBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/lotusHorzBgSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/lotusHorzBgSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/lotusSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/lotusSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/pageBackground.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/titlebarLeft.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/titlebarMid.png
/lotus/notes/data/shared/domino/html/oneuiv2/metalTheme/themeImages/titlebarRight.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/dojoTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/dojoTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/dojoTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/dojoThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/dojoThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/dojoThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/redTheme.css
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/redTheme.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/redTheme.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/redThemeRTL.css
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/redThemeRTL.css.commented.css
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/redThemeRTL.css.gz
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/btnSpecialBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/loginBkgd.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/lotusHorzBgSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/lotusHorzBgSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/lotusSprite-32bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/lotusSprite-8bit.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/pageBackground.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/titlebarLeft.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/titlebarMid.png
/lotus/notes/data/shared/domino/html/oneuiv2/redTheme/themeImages/titlebarRight.png

 
LotusScript code to embed a picture into a Notes richtext item PDF Print
User Rating: / 1
PoorBest 
Written by Bruno Grange   
Tuesday, 24 May 2011 19:23

Follows a simple LotusScript function that will embed a file system picture (strFilePath As String) into the Body RichText field of a Notes document (doc As NotesDocument). This will not embed as an icon, but as the image itself.

Function EmbedPictureIntoRichText(doc As NotesDocument, strFilePath As String) As Boolean

EmbedPictureIntoRichText = False

Dim session As New NotesSession
Dim db As NotesDatabase
Dim body As NotesMIMEEntity
Dim header As NotesMIMEHeader
Dim child As NotesMIMEEntity
Dim stream As NotesStream
Dim fileFormat As String
Dim rtitemA As NotesRichTextItem
Dim rtitemB As NotesRichTextItem

Set db = doc.Parentdatabase
Set stream = session.CreateStream
Call stream.Open(strFilePath)
Set body = doc.CreateMIMEEntity("DummyRichText")
Set header = body.CreateHeader("Content-Type")
Call header.SetHeaderVal("multipart/mixed")
Set child = body.CreateChildEntity() 'Set childEntity = richTextItemObj.CreateChildEntity()
fileFormat = "image/jpeg" 'Other formats are "image/gif" "image/bmp"
Call child.Setcontentfrombytes(stream, fileFormat, 1730)
Call stream.Close()
Call doc.save(false, false) 'JUST TO REFRESH

Set rtitemA = doc.GetFirstItem("Body")
Set rtitemB = doc.GetFirstItem("DummyRichText")
Call rtitemA.AppendRTItem( rtitemB )
Call rtitemB.Remove()
Call doc.save(False, False)

EmbedPictureIntoRichText = True

End Function

 
Ted Stanton and the future of IBM Lotus Connections and Social Software PDF Print
User Rating: / 1
PoorBest 
Written by Bruno Grange   
Wednesday, 08 December 2010 19:27

Today I had the chance to see Ted Stanton - IBM WW Leading Expert on Social Software/Lotus Connections in IBM Australia - St Leonards on 1/Dec/2010.

Ted Stanton is an IBM World Wide Collaboration Executive Consultant with extensive experience consulting to a wide range of customers on the benefits and adoption best practices for social collaboration software. During this meeting Ted talked about what other customers are doing to embrace and benefit from social collaboration software, and what new capabilities have been added to version 3.0 of Connections. Ted has a GreenHouse blog at http://greenhouse.lotus.com/blogs/tedstanton/

I have broadcasted this event live, and have the session recorded so people down in our ISW offices in Australia (and the whole world) could watch it. The video record is available at http://www.justin.tv/brunogrange/w/604214976/1 , however, I will only discuss the points I found important.

Before beginning, it is important to highlight that according to Gartner, by 2012 more than 30% of large organizations will have deployments of social software suites available to all their employees. IDC named IBM as the #1 social software platform company in the industry (by revenue) and version 3.0 of Connections has just been released.

During this meeting, Ted had not only demoed not only Lotus Connections 3.0, but also IBM Social Software Roadmap and future projects. After this brilliant presentation, I am confident that IBM (and all clients and business partners) will be able to get fantastic benefits from what Social Software has to offer.

Among the features, Connections has been revisited when it comes to relationships between entities. Queen Elizabeth II has recently created a Facebook page, and just after the first couple of hours, thousands of users have already declared just how much they like it. She is on Facebook, but she is not your friend! Lotus Connections knows that and has got a new feature added. Sometimes, you are not directly connected to someone (e.g. you’re not a friend of Sam Palmisano), but at least you want to know his updates. To solve this situation, now you’re able to “follow” people, which enables you to be connected with an entity updates. Another cool feature was the traditional “People you may know”, which, besides listing people close to you via other connections, also shows something like: you share A and B common friends, and C and D bookmarks. Now, when a friend request is made, some statement shows something like: you have A, B, and C as common friends.

Another outstanding feature is the ability to add a SharePoint plugin. I personally believe that this initiative goes forward getting a market share that was already lost, but may slowly recovered selling IBM’s social software. It is an amazing strategy, just like Lotus Symphony (focus: stop spending with MS Office and spend with something cool like Social Software) and the SaaS (which I don’t see the cloud that good for business partners).

As IBM is getting more and more pro to industry standards, Ted has highlighted that now we are able to use CMIS (Content Management Interoperability Services) features with Files. Ted has shown how he uses an Adobe AIR software for using Connections Files with features like check-in/check-out, which will be amazing with people using different tastes of CMS, applications, OSs and devices (as mentioned by Luis Benitez at http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Demo_Using_CMIS_Connectors_with_Lotus_Connections_Files ).

From the UI point of view, I liked how we can scroll widgets here and there, in the middle of a Web page. The in-line replies and actions also makes things much easier to users. Lotus Live has been renamed to Extranet, where people can collaborate outside their organizations. Lotus also made available the Customers feature, which allows people to connect their CRM applications and take advantage of it, so people can collaborate, for example, on a client information from Siebel. From the interface point of view, I was able to see fewer components similar to the well-known “Notes sections”, and features like tabs. I like URL based models, but the interface was so “Web 3.0” and AJAX fashioned that I don’t think it will be that easy to bookmark (maybe snapshot, if you know what I mean) some window states.
The Search had cloud controls to control how much tags you see. I could see a people search, with a type ahead, where for example, the term “Ale” in the box instantaneously displayed “business-cards” like results with pictures from the LDAP with names like Ale…x and Ale…ssandra. The picture could be enlarged with a mouse roll-over, which was a nice feature for the “tete-a-tete” lovers.

That was definitely a nice presentation, but the next one was breathtaking: Project Vulcan! Vulcan is to be the “Desktop of the Future” - a new concept of Inbox (that maybe is what Google originally planned for the unsuccessful “Buzz” project). It is some sort of Inbox where everything takes place, easily! The first thing we see in Vulcan is some sort of Wall (yeah, exactly like Facebook). There, people was just one-click of distance to start a chat, collaborate on a file, get Cognos alerts, share by chat, email, status, blog entry, bookmark, etc! Doing everyday stuff like expense approval, opportunities tracking, is quite easy in this aggregated Inbox. There is a left side pane with all the possible applications and a bottom bar with Calendar, Tasks, etc; all popping up only when needed (e.g. when you are already late for that so-wanted year-end review meeting with your manager).

Now, from the applications point of view, everything looks shiny! There was some sort of Cognos dashboard which allows people to see graphics with reports like Quota x Pipeline, and widgets like Delta comparison, Team Pulse, etc.

Lotus had finally found that Exporting and Importing contacts is totally cumbersome. Now everyone you connect is one place, from your Personal address book to LinkedIn and LotusLive - all together, no matter where they came from. And why do you have to open file attachments? All you have to do is select it from a list, and see an instantaneous view  widget of it in a sidebar - isn't this helpful for common types like letters, documents, images, presentations, spread sheets, etc?

For Lotus Domino developers, the good news is: XPages is the shining future. Ted that demoed an XPages application, all built to be a Vulcan widget - long life to Domino, revisited. Ted highlighted that the Social Software focus will be HTML 5, Industry standards and mobile-friendly applications, so, once again, Xpages is the natural process.

If I could suggest some features to the future, I’d suggest that Social Software don’t rely that much on tags. I have asked Ted if they were planning to make the product smarter when it comes to “know what people want”. Some users still have problems with tags - no matter how much you reinforce this point, people hate tags! Maybe Lotus could take some investigation on what makes Google software so brilliant in terms of finding what you are looking for, and maybe, suggest content related to what you’re reading.

Thanks Ted Stanton, ISW and IBM for this fantastic opportunity of foreseeing the future of the software.

Watch the presentation video here:

 
Smarticon to run or test an Notes @Formula PDF Print
Written by Bruno Grange   
Wednesday, 03 September 2008 12:15
Here's a handy toolbar button to have when testing out code: the Formula Language Evaluator.

Type/paste the code you want to test into the dialog, and it presents the results (as best it can) in another text box.
Put the following code behind a toolbar button:

result := @Eval ( @Prompt ( [OkCancelEdit]; "Formula evaluator"; "Enter the formula to evaluate:"; "" ) );

@Prompt([Ok]; "Results window"; @Text(@Implode(result; " ~ " )))

Note that this code displays text lists with a tilde character (~) as a separator between items for functions such as @UserRoles or @DBColumn.