Is there a way to create “Forms” dynamically with lotus script? I’m not trying to create documents but forms?
I do work for a company that creates different forms for customers. It would be great if I could automate the process of creating forms.
What I do now is manually create subforms and insert them.
What I would like to do is offer up different prompts that ask questions and when they finish and click complete the form would be built. I don’t know if it is possible but I figured I would ask.
Subject: Create forms with script
Hi Kenneth,
Yes there is a way. Look into the DXL utility. It is a bit of a challenge, but can be done.
Regards,
Bafie
Subject: Create forms with script
Sure, using DXL, the C API, or a third-party tool that mediates between LS and the C API, like the Midas Rich Text LSX. In order of ease-of-use, I’d probably rank them Midas (or similar, if they have the hooks), then DXL, then attacking the C API directly.
Subject: RE: Create forms with script
Thanks for the mention. Here is a direct link to the Midas Rich Text LSX… We have samples to show how to create even complex forms.
Subject: RE: Create forms with script
Where would I find info on DXL?
Subject: RE: Create forms with script
Search this forum, look at the Help db for the NotesDXLImporter class and examples, search the web for blogs talking about it. You should be able to find a fair amount of information and some sample scripts, although they may not go very far in depth on the specifics you need for a form.
Oh yes, and the best single way to understand DXL is to export some forms that look like the ones you will be creating. These will show what the tags look like, and are easy to create with lots of slightly different parameters and such to better understand what is going on. Then, try modifying the DXL slightly and re-importing so you understand the ramifications of various changes. You can get there with a bit of efoort.
Subject: RE: Create forms with script
Kenneth,
Look in the designer help.
Also, the links below may help:
Exercising XML with Domino Designer
http://www-10.lotus.com/ldd/today.nsf/lookup/XML_Designer
Using XML data islands in Domino Designer
http://www-10.lotus.com/ldd/today.nsf/lookup/XML_islands
DXL roadmap: Understanding Domino’s XML language
http://www-10.lotus.com/ldd/today.nsf/lookup/DXL_roadmap