« YellowDay: Partnering with IBM on Xpages Extensions | Main| YellowDay: Yes, Virginia, there is a Santa Claus »

YellowDay: Meet @Transmogrifier

So let's say you're a long-time Notes developer that just starting to cut your teeth on Xpages. You probably know your way around Lotusscript pretty well, but what's even more likely is that you know your way around formula. You can't so much as build a view without formula code, and while working with @ can occasionally be challenging, for the most part, it's the most direct and simple way to get things done in the Notes client.

Now you're looking at Xpages, and maybe you notice that SSJS seems to have some familiar @functions in it. Perhaps, as a wild experiment, you copy some code from your favorite action button and paste it into the Javascript editor. Alas, that didn't work too well, did it? There's some similarities, but it's really not the same.

Here at GROUP, we didn't really like that. We wanted to have our formula code JUST WORK. And because we're basically well-funded lunatics, we set out to do just that.

Say hello to @Transmogrifier. The way it works is simple: just paste your formula code into the top box. Then click on ZAP, and wait a moment. You'll get your shiny SSJS code.

Of course, the result code won't necessarily work right out of the gate.  It will compile, but it uses a number of @functions and JS functions that don't exist in the base Domino product.  However, thanks to the 8.5.2 Extensibility API, we're able to provide you with a library that you can install in Designer and on a Server if you really want to try it out.  Just follow the instructions in the installation guide, and download the library.

For everything else you need to know, please check out the FAQ.

Happy YellowDay!

Comments

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