Display 5 most recent documents?

My web application is almost complete. I have a few final touches to add, but need some help.

How do I add the 5 most recent documents to my home page (home page is actually a form)? I don’t care if this is via an embedded view, or a field with some @functions.

I guess I need to read in a view column, use @subset to get the last 5 documents, then using @explode or @implode with some HTML make the list clickable.

Has anyone done this? Care to share your solution?

Thanks.

Subject: Display 5 most recent documents?

a view ordered by date, embed it on the home form, and select 5 as the number of doc to display on the embeded view properties.That’s it :slight_smile:

Subject: RE: Display 5 most recent documents?

Ah… I did that originally but abandoned the idea since I did not realize I could control the # of lines from the embedded element’s properties box.

Excellent tip. Thank you!