Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Old (v6.5) ID file vs upgraded (v8.5) ID file

Thanks for your reply.

Well let me tell you history behind this error. As I mentioned earlier, we were using Domino Server 6.5 and Notes 6.5.

Our goal was to create .dxl files of selected email(s) of Inbox.

To accomplish this, we created new tool bar and then a button on it. The formula on this button was as follows:
-----------
@SetEnvironment("UI_DBServer";@Subset(@DbName;1));
@SetEnvironment("UI_DBFilePath";@Subset(@DbName;-1));
@SetEnvironment("UI_View";@Subset(@ViewTitle;-1));
@URLOpen("notes://LotusDev/08257666003BB4D6/testCapture?OpenPage")
-----------

When user selects email(s) from Inbox and clicks on the button, we were calling testCapture page as you can see above. On this page, we referenced (using %INCLUDE) and then used Script Library. We passed three arguments (UI_DBServer, UI_DBFilePath and UI_View as you can see in Formula above) to this Script Library class. The Script Library returned collection of documents. The remaining code on this "testCapture" Page was to create .dxl file for each document of the document collection retrieved from Script Library. The actual source code of this Script Library was inside one .lss file and was hidden (we could not view/edit this .lss file). One consultant wrote this code for us. Everything was working fine and we were able to create .dxl file(s) correctly for each selected email(s).

Then we upgraded Lotus Domino Server from 6.5 to 8.5 FP1 and Lotus Notes from 6.5 to 8.5 FP1. We also upgraded some user ID files to work with 8.5 Domino Server. However, there are few user ID files which we did not upgrade to 8.5.

The problem - when we log in to the Notes using upgraded user account (ID file v8.5), we are getting "Object variable not set" error when we clicked on the button.

Interesting - when we log in to the Notes using old user account (ID file v6.5), we are not getting any error when we clicked on the button. Everything works fine as before.

We contacted the consultant who wrote that Script Library (.lss file). He then provided us new script and we deployed it on Domino Server. We still got same error while using Notes with upgraded user acount (Id file v8.5). This time, we had access to actual source code of script and we found that line NotesUIWorkspace.CurrentView.Documents gave this error. The consultant claims that old script (hidden .lss file) and new script are same. The new script also takes three (same) arguments as old script did and returns collection of documents.

I would like to know - what are the differences in ID file of v6.5 and ID file of v8.5? Why does using the former work fine and later doesn't? What exactly happen when we upgrade ID file?

Are there other ways to work on "selected" email(s) of Inbox folder? We found that using @NoteID in formula we can process/work on "single selected" email. But what about processing multiple selected emails?

Any help would be appreciated.

Thanks!


Feedback response number WEBB7XVKWH created by ~Vera Umboosikonyakol on 11/17/2009

"Object variable not set" error on ... (~Vera Umboosiko... 17.Nov.09)
. . NotesUIWorkspace.CurrentView (~Nicole Umresac... 17.Nov.09)
. . . . Old (v6.5) ID file vs upgraded (v8.... (~Vera Umboosiko... 17.Nov.09)
. . . . . . Options (~Nicole Umresac... 17.Nov.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS