AHH
AHH

Reputation: 1083

Lotusscript to insert a Subform into a Form programmatically

I am trying to deploy a Domino application in a possibly friendly way. I've got to the point where an agent imports Domino elements.

The functionality I'd like to provide is in a subform which I could export and import. I still need to insert the SubForm in a specific location in an already existing Domino application.

I didn't find any API that could be helpful. Is there a way to access and modify the code of an already existing form directly?

Upvotes: 0

Views: 661

Answers (1)

Andre Guirard
Andre Guirard

Reputation: 720

DXL round-tripping of forms isn't perfect, so I wouldn't recommend using it in the way adminfd describes. You can, however, write C/C++ code that uses the Notes C API functions to scan through the CD records of a form and insert a subform reference. CD records are complex and you would probably want an expert to assist, to make sure you don't screw up your form by inserting your stuff in the wrong spot.

Upvotes: 3

Related Questions