I always wanted to create a Notes form dynamically -- with labels and fields, using LotusScript. I realized that using XML with Lotus Notes R6 was the answer: XML for Lotus = DXL.

You can use DXL technology for both exporting and importing Notes design elements. See the R6 Design Help database for an example of exporting design elements (see CreateDXLExporter method). The DXL file exported all database designs, not just a single design element!

The tricky part was importing just a form design definition consisting of labels and text fields (no fancy formatting only bold labels). Studying an exported DXL file, I finally I found the right DXL file for a simple form definition --a file I can use with .CreateDXLImporter method.

This tip was submitted to the SearchDomino.com tip exchange by member Cristian D'Aloisio. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

0 comments

E-Mail

Username / Password

Password

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy