Even having a rough way to do this in Midas, I would really like to see a simple @formula (and matching LotusScript) method for determining if there was anything in the rich text. Even better would be if it took an argument that specified whether whitespace was included, so you ...
1-2-3 has a feature where you can create a new @function based upon a lotusscript function. I would like to see the same feature in Notes/Domino. Allow me in the Database script library to create a lotusscript function and mark it as being available as an @function within that database.
Please bring us back the @formula debugger !!
Local and Remote Debugging !!
Now you can only specify 1fix text label for Notes view column titles.
It would be very usefull to be able to specify an @Formula to define Notes view column titles. Especially in multilingual environments, where you can use @formula to show the column title in the user's language.
I often use @PickList (and its lotusscript cousins) with the [Custom] option.
I would like to present the dialogbox with the current entry (or entries of it's multi-value) already selected, so she/he does not have to start from scratch.
@Prompt has a defaultchoice parameter too.
... not as a keyword, followed by a text constant.
The possibility to add an additional parameter to @DbColumn where I can define the maximum results I want to have returned:
@DbColumn( class : cache ; server : database ; view ; columnNumber ; maxResult )
In stead of getting the complete chunk of results back now I only ...
A formula that would return:
This would be a very useful function when writing hide-when formulas or formulas to insert subforms especially when user has ...
As far as I know, formula can only output 64k of data.
This especially limits the usage of formula in Evaluate-statements.
Formula is --really fast-- compared to LotusScript. Formula has some inbuilt functionality that LS lacks. Two really powerful are @Tranform and @Sort.
I would like to see all properties of fields that use formulae to be moved to the IDE pane instead, i.e.
lookup formulas, hidewhens, captions etc
this allows the functionality of the IDE to applied to these formulas (colours, attribute help etc)
Make it possible to change the font color or background color of a field using @Formula.
You could for example warn the user if a required field is empty by changing the backgroundcolor,
red := 255:150:150;
black := 0:0:0;
@If( fieldvalue=""; red:black )
How about a way to include @Formula language functions in something like a LotusScript library. This should cut down on the amount of code written for validation formulas and commonly used formulas to determine the value of a variable, etc. I think this would be made even easier since the ...
since you can do more with LotusScript compared with formula, making LS available under computed text would create new opportunities.
for example db.alldocuments and dc.count would give me the number of documents in a database. how easily would i do this with formula?
In an ideal world formulas in @Formula language or @functions are also available in XPages:
Provide a new function, @ResponseDocuments that can be run in the context of the currently opened/processed document and will return a list of UNIDs of all the responses or a list of field values from the response documents.
UNIDlist := @ResponseDocuments ([UNID], [NOCONFLICT]);
would return a list of ...
This would be great for updating fields. One could write:
@SetField("strStreetname"; @GetDocField( contact_replicaid; contact_unid; "strStreetName"));
BrowserInfo("BrowserType") doesn't work anymore with latest browser and newer versions. When verified on Mozila Firefox 3 , it returns Netscape instead of Mozila.
Also, @BrowserInfo("Version") returns 5 when verified on Mozila 3.0 and returns 5 for Safari 3.2 as well.
Note : Tested on R8.0.2
this could be usefullfor example build tagclouds via @dbcolumn / @dblookup
by analogy with @DbColumn and @DbLookup: (...; server: database; ...).
if my text list look like:
textList:= "London" : "Stockholm" : "New York" :"Bagdad"
I would then like to be able to use
When I stuck @Eval in a translation formula, it seemed like it'd work great. But its error handling seems off.
When I set an @Eval result to a variable, as in
Tmp := @Eval("@Error");
I would like the error returned into the tmp variable. Right now it ...
It would be nice to have the sections of code that are protected from user, and simultaneously noncompiled and nonhided by hiding design. This would realize the reuse of code for the @-formulas. For example use these sections of code in:
[warning: lots of jargon]
This won't get many promotes, though I think it would be great to have.
Domain Specific languages are getting more and more interest. Now notes formula language owns a lot of similarities with domain specific languages.
With ANTLR and other tools on the Java side, there ...
do You think it would be usefull to add a Formula library? Like Script Library, it can contain user defined codes writen in Formula language. There are shared actions, but formulas can be used by many other design elements.
Functions could be called by it's name or, ...
Aliases in fields are a nice way to use short values in place of longer strings, and they work well in forms. You can store a value of "H" and have it display "High" when the document opens. However, they are not so nice when you want to use the ...