FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.


Dec 1, 2016, 2:28 PM
2 Posts

How to display an "x" in a view if a RT field contains a file

  • Category: Domino Designer
  • Platform: All Platforms
  • Release: 9.0.1
  • Role:
  • Tags:
  • Replies: 2

Hi,

I have a form wih rich text field named LETTRE_NUM. In a view, I want to display an "x" if the field contains something (in that case, a file).

I have tried @Elements(FICRAT) in the column of the view. But it displays 0 even if there is a file in the RT field.

Regards.

Dec 1, 2016, 9:45 AM
91 Posts
Can't directly
Rich text fields can not be accessed in column formulas.

So, you would have to set another field (computed) that is text that determines if the rich field has content when the document is saved. For existing docs you would have to write an agent to populate this field.

Howard
Dec 1, 2016, 2:48 PM
320 Posts
How about

@Attachments will return the number of attachments in the document


FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.