Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

View to display Rich Text

View to display Rich Text

View to display Rich Text

We are currently designing a view and cannot display a field that is formatted as rich text.
Have tried a few things including the @abstract command but cannot get it to work.
Any solutions?
Many thanks

RE: View to display Rich Text

I dont think we can display the rich text field in a view,unless we only want to show any symbol for attachment
in the rich text field.


RE: View to display Rich Text

Before R6 (just went gold) what you want to do is impossible directly. I think even R6 can only display images and not all the text, but I may be wrong.

What you could eventually do is use the QuerySave event to extract the text from the rich text field with the GetFormattedText method of the NotesRichText field, but in essence it gets down to making a second copy of something that is already there, plus you lose all formatting.

The real question is : why do you want to display what is in the rich text field ?
You should rethink your form and propose enough fields to categorize important information so that the user knows for sure what doc to open to get to the nitty gritty.

RE: View to display Rich Text

rich test fields are never appers at the view. and it is an advantage because it will make the view heavy if it were.
so rebuild your think actually not the view.. and you will find another way

RE: View to display Rich Text

I had a similar situation , when i wanted to convert the rich text to pure html and pull it out via a view.

my solution was the following:
- In the rich-text field properties, i turned on  the option: save as MIME and HTML.
- created a hidden textfield .
- On save, replaced the value of the hidden textfield with the one from the rich-text field.
- In the view i referred to hidden textfield to take out the data.

In your case, if you do not want the rich text formatting, you can probably filter out tags using the implode and explode functions.

Good luck,

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close