Display ElementalArea in DataObject template


#1

I have a setup fairly similar to Uncle Cheese’s example in the Lesson videos for displaying a DataObject in a Template.
I am using Elemental content blocks in my DataObject, but I can’t get $ElementalArea to display in my Template. If I use $ElementalAreaID in the template to test it, it displays the content block ID in the correct place, and all the other variables display properly.

What am I missing?


#2

Maybe the element was not published? hard to tell without see codes


#3

Thanks, but it was definitely published. I have admitted defeat on this one and changed the DataObject to a Page type, and everything works.
Would still be interested to hear if anyone else has had this issue though