Web: @Text(Body) in view not working?

Can someone please tell me if the following piece of code is allowed or not, in a view that is threated as HTML and embedded in a form for display in a web browser…

@Text(Body)

…where Body is a RichText containing some text.

I can’t find anywhere stating that this couldn’t be done. Not even in web development. So my question is if this is a bug?

Subject: Web: @Text(Body) in view not working?

the following text is taken directly from the @text help in Domino Designer…

Rich text fields cannot be evaluated for content. For example, if BodyText is a rich text field, you cannot display its contents with @Prompt, and you cannot convert it to plain text by specifying @Text(BodyText). However, you can use @Abstract to convert rich text fields to plain text as shown below:

plainText := @Abstract([TryFit]; 100; “”; “Body”);

Subject: RE: Web: @Text(Body) in view not working?

That was in R5 and below. @Text works pretty much the same as @Abstract([TextOnly]) used to on rich text. The problem is that, like trying to use @Abstract in a view column in R5, the actual rich text field is not available to the view because it is not flagged as summary data. That leaves you with two options. The first (and likely less prone to successful implementation) is to flag the rich text field as summary – which can work for smaller RTFs. The second is to create a text-type field on the document using @Text or @Abstract. This field should be summary by default.

Designer 6 Help mentions that @Text(RichTextField) might work in a view column if the column allows non-summary data. Hmmm… I wonder what kind of neat stuff they might have in store for a future release.

Subject: RE: Web: @Text(Body) in view not working?

Can you tell a column to allow non-summary data?

Subject: RE: Web: @Text(Body) in view not working?

Not at the moment, no. You need to tweak the item’s IsSummary flag, and even that won’t necessarily work for RT items. Having said that, check out this thread elsewhere in this forum: … intriguing. And I don’t think Nathan ever did get an answer, so manybe Stan’s on the money with his prediction!

Subject: RE: Web: @Text(Body) in view not working?

thanks, sometimes I jump back and forth between these forums too much, I forget which one I’m in.

Subject: RE: Web: @Text(Body) in view not working?

Regardless of the jumping though, @Text(Richtext) won’t work in view columns, regardless of the version (or forum) :wink: