@Abstract([TextOnly]; 10; ""; "Body")

Hi,

I am using this formula in a view to get the content of the Body field :

@Abstract([TextOnly]; 10; “”; “Body”)

All I get is : Body !!

Can you help me ?

Thanks in advance.

Jean-Pierre

Subject: Try w/o the " " on Body…?

Subject: Syntax Abstract( [ keywords ] ; size ; beginText ; bodyFields )

I tried that but I don’t get anything !

From help file :

Syntax

@Abstract( [ keywords ] ; size ; beginText ; bodyFields )

bodyFields

Text or text list. Any number of fields containing the text to abstract. May be text, rich text, or keyword fields. The text within each field is concatenated with spaces in the order specified. If Notes/Domino cannot locate a field by name, it uses the string literal instead. Enclose each field name in quotes and separate multiple names with colons: “Sales”:“Figures”.

Jean-Pierre

Subject: Not sure on current version but …

It used to work in acomputed hidden Field on the form but not in the view.

Subject: Is BODY a “Summary” field ?

Views can only access Summary fields in a document.

Normally, all fields (text, number, names, etc) are summary except Rich Text Fields, which are not. However, this can be overridden through programming.

As you are trying to abstract text, I’m presuming you are trying to include the textual part of a RTF into a view. Generally, you cannot do that. Instead, put a second hidden Text field on your form computed to that value, and use that second field in your view. That way the abstraction happens when the document is saved, and is then available for your view.