How can I get a last record of a record type in an interface that is a portal, I am implementing this to view the information after doing an IDP process?

How can I get a last record of a record type in an interface that is a portal, I am implementing this to view the information after doing an IDP process?

  Discussion posts and replies are publicly visible