Skip to main content
FORUM PLAN UPDATE: Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum



Sign in to participate PreviousPrevious NextNext

Srinivasarao Bhadragiri 2.Dec.16 04:48 AM a Web browser
Domino Designer All Releases All Platforms

Hi..I am trying to export all the databases design in a directory using DXL Export option. First database is getting exported, but it gives an error from second database when using directory databases. The error is coming in below line.

tOutput = exporter.Export(db)

The error message is 'DXL exporter input object is invalid, uninitialized or not explicitely displayed'

Below is the complete code.

Sub Initialize
On Error GoTo erhandlr

Dim session As New NotesSession
Dim db As NotesDatabase

Dim tOutput As String

Dim filenum As Integer
Dim dbdir As New NotesDbDirectory("")
Set db = dbdir.GetFirstDatabase(DATABASE)
While Not(db Is Nothing)
MsgBox db.Title
If db.Open( "", db.Title+".nsf" ) Then
End If

'Set db = session.GetDatabase("", "names", False)
Dim exporter As NotesDXLExporter
Set exporter = session.CreateDXLExporter
tOutput = exporter.Export(db)
filenum = FreeFile
Open "C:\dxl\Test\"+db.Title+".dxl" For output As filenum
Write #filenum, tOutput
Close filenum

Set db = dbdir.GetNextDatabase

Exit Sub
MsgBox Error() & " Line " & Erl()
Exit Sub
End Sub

Please help to access all the databases in a directory (local or server) and export the design of all databases at one go.

DXL Exporter throwing an error (Srinivasarao Bh... 2.Dec.16)
. . What line number does the error hap... (Carl Tyler 3.Dec.16)

  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

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


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


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