I have searched and searched and whilst I have found others with a similar issue, I haven't found an answer which has resolved my issue. If anyone can assist I would be very grateful as this is driving me mad.
I have added a media picker "field" to a document type page which is used as a category of products, under which are other document types for the products themselves.
I am trying to add the option to select a banner which will act as the title of the page. I simply cannot get it to return anything other than null.
Media Picker always returning null
Hi,
I have searched and searched and whilst I have found others with a similar issue, I haven't found an answer which has resolved my issue. If anyone can assist I would be very grateful as this is driving me mad.
I have added a media picker "field" to a document type page which is used as a category of products, under which are other document types for the products themselves.
I am trying to add the option to select a banner which will act as the title of the page. I simply cannot get it to return anything other than null.
Here is my template code:
Here is an image of the document type set up:
Here is the image of the content having been set
All suggestions welcome, because I am stuck!!
Thanks in advance
Dave
Hi Dave
Please, check media picker property alias, it's casesensitive. This code should work:
Thanks,
Alex
Hi Alex,
Thanks for your reply. I have tried with the code as you suggested and matching the alias exactly, however I get the same result. Null being returned.
is working on a reply...