Data from related record in View

Is there a way to pull the data from a related record and show it on the View screen?

I want to pull the most recent client case note (related record) and show it on the View screen.

Hi James

Which screen are you referring to, when you say the “View screen”?

You can grab data, including the Related Record field, in records using the GET REST API.

I’m not sure where you want to show the grabbed data. However, you can use getHeaderMenuSpaceElement or kintone.app.getHeaderSpaceElement to show it on the top of a Record list.

The following article will help you place something on those elements (in this article, it’s a button).

I hope this will help.