Friday, September 28, 2012

Other ways to use @DeleteField

The help documentation of @DeleteField only displays one way on its usage:

But recently while working on an application I found out that there are other ways in which this command can be used.

Would love to hear if you know any other ways to use the command?

Thursday, September 6, 2012

Expand / Collapse particular category in a view in XPages

In XPages, you can expand all / collapse all categories in a view either using the expandLevel property of view control or using view control API. The API technique can further be extended to expand / collapse a particular category in a view. So to expand the code goes like this: