@Formulas In xPages

Formula used in xPages: Many of we know how @formulas works on tradition lotus Notes and also the power of formula language & performance, so as a result formula language still alive in newly added design element “xPages”.

Formula in xPages performs very good roles for the execution of complex logic.
xPages uses three type of language , in which we have "Server Side Java Script" , "Client side Java Script". 

The best part of xPages is we can use formula languages without doing immense changes, the difference is in its structure not Syntax , so we don’t need to worry about syntax. One small change in formula language will help to achieve your goal in xPages
Formula in xPages. The only difference is in its "Separator", we use ";" as separator in our traditional lotus notes formula language. For example 

@Contains("xPage Domino";"Domino")

Use the syntax in xPage JavaScript. I.e. 

@Contains("xPage Domino","Domino")

As I said we made the difference is in delimiter. We used. "," instead ";" . So the same you can apply to all formula used in xPage. but do you know how many formulas we used in xPages, or how many @formulas supports to xPages JavaScript?
We have list of all formulas used in xPages. Let’s find below –

DB Functions


Document Functions


Date & Time Functions


DataTypes , Convertors & Other


String Functions




Thanks for reading this article, hope you like it, if you have any difficulty please contact us on ‘admin@xpagedomino.com’ or click here to contact us.

No comments :