Create your own @Formula

There is several ways of creating your own @Formula commands. One easy way is to create a serverside scriptlibrary and create a function that is named @MyCommand there. Include this SSJS library into your XPage / Custom Control and you have added a custom @Formula.

function @Getfirstword(data){

   return @Left(data,” “)


And the second way is to create your own extension to the Domino designer as Ulrich Krause has done in this new openntf project. 

There is probably serveral more ways of adding new @ commands to XPages, if you know a way make a comment.


Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.