Skip to main content
 
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  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

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
Wend

Exit Sub
erhandlr:
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
Author
Category
Platform
Release
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

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