Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions

Image in DataObject


Reply

315 Views

Avatar
Haydo86

25 January 2013 at 3:43pm Community Member, 1 Post

Hi,
I'm trying to create a data object called Person, which will contain a name, description and image. I can create the data object, and all is well, but I am stuck on writing the GetCMSFields function.

I have tried adding it in as I do the text sections, and I can create an instance of the dataobject easily in the CMS, but when I try to edit it (so I can add an image), a fatal error occurs.

Can anyone help me here?
Thanks,
Hayden