« Acting on multiple documents in an embedded view | Main| How to make a presentation about data »

RTFM


Once in a while, when trying to solve a tough problem, I'll literally sit and read the Designer Help, scrolling through @function and Lotuscript documentation, looking for ideas.

So this morning, I got quite a thrill when I stumbled across @Command(SwitchForm).  According to the help...
Changes the form used to display the current document.

Unlike the venerable ViewSwitchForm, this one happens immediately.

So I thought to myself, "gee, if I could determine that a document was in an embedded context, I switch it to an alternate form, and that would simulate having embedded view/editor combinations actually respecting form formulas!"  I immediately got to work on a proof-of-concept.  After all, if you work with advanced interface design in Notes, that's practically the Holy Grail.

Alas, after two hours of messing with it, it turns out that SwitchForm doesn't work in embedded contexts.  Tragically, this is not documented.  And I'm not terribly surprised that it doesn't work, but it sure would have been nice if it said so in the help (and I was looking at Notes 8's help.)  Still, nice effort Damien!

Amusingly, when I went to see if I could find anyone else encountering a similar issue on the 'net, I get this...

SwitchForm.png

Ummm, I most certainly DID NOT mean that!!!!

Comments

1 - Nathan, My guess... you've already drafted a dozen or so ND8 articles, just waiting for the public beta. Emoticon

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Search 

Disclaimer 

Welcome to Escape Velocity!

Opinions expressed here by Nathan T. Freeman are not necessarily those of his employer. However, there's a decent chance they are, so check with them if you really want to know.

But really... do you need that kind of validation? Are the opinions expressed here in doubt?

MiscLinks