IBM®
Skip to main content
    Country/region select      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     

developerWorks  >  Lotus  >  Forums & community  >  Best Practice Makes Perfect

Best Practice Makes Perfect

A collaboration with Domino developers about how to do it and how to get it right in Domino

There's a function in the menu of Domino Designer to export selected design elements into a DXL file (Tools / DXL Utilities / Exporter). However, there's no corresponding function to import design elements from a DXL file into the current database. Since I needed to do that today, I thought I would share the code in case it's of any use the the folks out there in Dominoland.

This script is set to import only design elements, to not require that they came from the same database, and to replace existing design elements with the same name. If that's not what you want, you could of course go in and change those lines. You would use it in an agent set to run on no documents.

Once the import is done, the script also signs the new design elements. This isn't needed for every type of design element, but it is for most and it doesn't harm the others.

Here's the code: dxlimport.lss

Andre Guirard | 20 March 2007 09:52:24 AM ET | Man-Cave, Plymouth, MN, USA | Comments (21)

Search this blog 

Disclaimer 

    About IBM Privacy Contact