Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

Previous Next
Subject: NotesRichTextNavigator and Apple/Traveler
Feedback Type: Problem
Product Area: Notes Traveler
Technical Area: Application Development
Platform: Windows
Release: 8.5.3
Reproducible: Always

Our mailin db agent takes emails from a variety of client/gadget types. It reads the first document link in body of an email and then sends that linked document back to the user so that they can read it on a Blackberry for instance.

The agent works fine when sending from a Blackberry or notes client. But if we send via an Apple using Traveller then it does not work.

On testing code in debugger and with messagebox on schedule I have found that when the link is sent from an Apple/Traveller, while it is possible to create a NotesRichTextItem with real information in it, it is not possible to Createnavigator. The navigator remains blanks and so the rest of the code does not work.

The key part of the code which fails is this:

Dim docLink as NotesDocument
Dim rtNav as NotesRichTextNavigator
Dim rtf as NotesRichTextItem
Dim doc as NotesDocument

Set doclink = Nothing
Set rtNav = Nothing
Set rtf = Nothing

Set item = doc.GetFirstItem("Body")
If item.Type = RICHTEXT Then
Set rtf = doc.Getfirstitem("Body")
Sleep 3
strVar = rtf.GetUnformattedText( )
!!!>>>>>>>Set rtNav = rtf.CreateNavigator<<<<<<<<!!!!

MsgBox strVar

If Not rtNav Is Nothing Then
Else
Set rtNav = rtf.CreateNavigator
If rtNav Is Nothing Then
Exit Sub
End If
End If



Also should add that I used SCANEZ to review the document and could see the link code in the Body field when viewing in Advanced mode composite items. I wonder if there is any way to access this information using Lotus script if NotesRichTextnavigator just does not work here?

As you can see I put some safeties in the code to ensure the navigator was blank to start with and that if not opened it was then attempted a second time to create it. The odd thing is it completely skips the second lookup If Not rtNav Is Nothing Then and does not make the second attempt even though I know it does not exist

Have tried with or without the unformatted text lookup before trying to create the navigator


Feedback number WEBB8Q9KHN created by Solve Problems on 01/06/2012

Status: Open
Comments:

NotesRichTextNavigator and Apple/Tr... (Solve Problems 6.Jan.12)
. . Idea (Solve Problems 9.Jan.12)
. . . . SOLVED (Solve Problems 9.Jan.12)
. . . . . . How dud you solved it ? (Vincent BOITEUX... 21.Nov.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support


 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite