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.



Jun 27, 2016, 5:05 AM
24 Posts

Mouse over Contents

  • Category: Server Side JavaScript
  • Platform: All
  • Release: All
  • Role:
  • Tags:
  • Replies: 1

I am looking for a help to display the content of document in Xpage. Ilike I have a subject filed and body field, I want If user goes to Subject on the Xpage, he can view the contents of the body. It's really tough for a user to open the document again and again

Aug 23, 2016, 11:44 AM
94 Posts
this shouldn't be too difficult

Go to the Properties tab, All Properties, and compute the title property of the Subject field (the mouse over hover text).

I'm not sure what the text size limit is for that, but you could truncate the Body so you're only showing the first part of it.  Then, if it looks interesting enough, the user can click on the document to read the rest.

Remember, if the Body is rich text, then you'll need to get the text property of the field for the display.


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.