How to access/output basic variables in Smart Views?

Ember/Javascript is not my specialty and I’m struggling to do some basic stuff.

I just want to output the ID of the parent into my Smart View.

i.e. this is the URL:[project]/Staging/IT/data/acpCohorts/index/record/acpCohorts/111179/has-many/acpCohorts-acpEnrolments

I want to output 111179 into the template. How do I do this?

Hi @Owen_Kavanagh :wave: and welcome in our community !

You can access the parent record id like this:
In your JS:

In your template:


Let me know if this is what you are looking for :slight_smile: