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  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

PreviousPrevious NextNext


Ricardo L Silva 27.Sep.05 11:23 AM a Web browser
Domino Designer 7.0; 6.5.4; 6.5.3 FP1; 6.5.3; 6.5.2 FP1; 6.5.2; 6.5.1; 6.5; 6.0.5; 6.0.4; 6.0.3; 6.0.2 CF2; 6.0.2 CF1; 6.0.2; 6.0.1 CF3; 6.0.1 CF2; 6.0.1 CF1; 6.0.1; 6.0 All Platforms


Guys,

I'm trying to work with the DXLImporter class to create some design elements (Agents and Script Libraries) dynamically, but I'm having 2 problems:
For this task, I've created an agent that generates the DXL code into a NotesStream and process the import into the target database.

These are the problems:
1) The first time I run the agent, all the elements are imported nice, but when I run the agent a second time, to update the imported design elements, it gives me an error "note item not found" and the agent stops.
NOTE: This does not happen to agents, only for Script Libraries

2) After the design elements are imported, I get an error "Document is not signed" when I try to open the imported agents, and they don't open. I need to run a 'Tools\Recompile All LotusScript' to be able to open them.

Here are the examples of the DXL I'm generating:

**** Script Library ****

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE scriptlibrary>
<scriptlibrary name='slABC' xmlns='http://www.lotus.com/dxl' version='6.0' maintenanceversion='2.0' hide='v3 v4'>
<code event='options'><lotusscript>
Option Public
Option Declare
</lotusscript></code><code event='declarations'><lotusscript>
Public Class ABC
Public X As String
End Class
</lotusscript></code></scriptlibrary>


**** Agent ****

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE agent>
<agent name='(agTest)' xmlns='http://www.lotus.com/dxl' version='6.0' maintenanceversion='2.0' hide='v3 Notes' publicaccess='false' designerversion='6'>
<trigger type='agentlist'/>
<documentset type='runonce'/><code event='options'><lotusscript>
Option Public
Option Declare
Use &quot;slABC&quot;
</lotusscript></code><code event='initialize'><lotusscript>
Sub Initialize
Dim vObj As New ABC
End Sub
</lotusscript></code>
</agent>


Any help will be appreciated.

Thanks in advance.
Ricardo Lucio.






DXL Import Problems (Ricardo L Silva... 27.Sep.05)
. . RE: DXL Import Problems (Peter LaComb 27.Sep.05)
. . . . RE: DXL Import Problems (Ricardo L Silva... 27.Sep.05)
. . . . . . RE: DXL Import Problems (Stan Rogers 27.Sep.05)
. . . . . . . . RE: DXL Import Problems (Peter LaComb 27.Sep.05)
. . . . . . . . . . RE: DXL Import Problems (Ricardo L Silva... 27.Sep.05)
. . . . . . . . . . . . RE: DXL Import Problems (Ricardo L Silva... 27.Sep.05)
. . . . . . . . . . . . . . RE: DXL Import Problems (Peter LaComb 27.Sep.05)
. . . . . . . . . . . . . . . . RE: DXL Import Problems (Ricardo L Silva... 28.Sep.05)
. . . . . . . . . . . . . . . . . . RE: DXL Import Problems (Peter LaComb 28.Sep.05)





  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

 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