Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 870489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:29:07+00:00 2026-05-15T10:29:07+00:00

this is my first stack overflow, and it’s a complex one. Sorry. My task

  • 0

this is my first stack overflow, and it’s a complex one. Sorry.

My task is to generate custom documents from a basic template plus some XML without having a custom form design element for each case.

Here’s the whole picture:

  • We are building a Lotus Notes (client, not web) application for world-wide application access control; the scope is something like 400.000 users being able to request access to any of 1000+ applications. Each application needs its own request form — different number of approvers, various info required, that sort of thing.
  • We simply can’t have a thousand forms in a database (one per application), and anyway their maintenance really needs to be pushed from the developers to the application owners.
  • So instead of custom forms, we’d like to create a generic “template” form that stores a block of basic fields, but then allows application owners to define another block of fields dynamically — “I want a mandatory plain-text field named ‘Name’ here, and then a date field named ‘Due’ here that must be later than today’s date, and then …”. I hope this makes sense (if not, think of it as a generic questionnaire application).
  • I pretty much have the structure in place for designing the dynamic fields (form builder GUI -> XML-encoded data -> pre-rendered DXL for injecting into a form), including mark-up for field types, value options, and rudimentary field validation instructions.

My problem is generating a document with this dynamic content injected at the proper location (without needing a custom form design element for each case).

  • Doing the dynamic content via HTML is out. The Notes client web rendering is simply way too poor, and it would be quite a challenge to implement things like field validation instructions, date selectors, and name look-ups.
  • DXL, on the other hand, would allow us to use native Notes fields and code.
    • As a tech demo, I’ve managed to implement a custom form generator that injects the pre-rendered DXL for the dynamic content into a base form; but as I said, we don’t want a ton of custom form design elements.
    • I’ve tried to implement a way to create a document with the “store form in document” flag set, but once I’ve created the document from the base form, I can’t get DXL access to the stored form design, and so I can’t inject my dynamic content.

I know this is not something Notes was ever intended to do. Has anyone ever tried something like it (and gotten away with it)?

Thanks for reading this far.

With a boatload of thanks in advance,

Jan Gundtofte-Bruun

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:29:07+00:00Added an answer on May 15, 2026 at 10:29 am

    I ended up doing it a bit differently.

    I will still use the “store form in document” option to make sure that each submitted request can stand alone; but “request” documents will be based on hundreds/thousands of individual forms (yes, that’s thousands; research and testing suggests it shouldn’t be a performance issue). These many forms, then, will be programmatically generated.

    I’m setting it up so that “template authors” can create “request templates”, which are normal documents with a block of xml in them. A background agent then takes all these documents and processes each block of xml, and a base form, into new custom forms. These custom forms are presented to users to create their “request” documents from.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is my first time at stack overflow so I'm sorry if the format
First off - hello, this is my first Stack Overflow question so I'll try
This is my first question on Stack Overflow, so I hope that I'm clear
this is my first question on stack overflow. Some quick background, this is not
This is my first post on Stack Overflow and I'm just wondering on the
( Preface: This is my first audio-related question on Stack Overflow, so I'll try
This is my first post on Stack Overflow. I am trying to build a
this is my first question on stack overflow, so be gentle. Let me first
Hey there guys, this is my first question on Stack Overflow. I figured this
This is my first question here on stack overflow. i need help on a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.