Nothing is showing up in the template. And in the content tab, there is no uder-editable field. I don't really understand what you're having me do here!
So, add a new property of type "label" and call it an alias of "umbracoExtension". When you next upload a file using the upload field on the same document type the label will be populated with the file extension
Now you can access this in xslt with something like
Upload field - Filetype
Hi,
How do I access (and display in template) the Filetype of an object saved in an Upload field?
Thanks,
Garrett
(untested) Try adding a label datatype with an alias of
To the same document type that the upload field is on
Dan
Thanks.
What type of field would it be? If the user has to enter it, it sort of defeats the purpose. I'm trying to get this dynamically. Any other ideas?
My XSLT:
Nothing is showing up in the template. And in the content tab, there is no uder-editable field. I don't really understand what you're having me do here!
HI There - here's an image!
So, add a new property of type "label" and call it an alias of "umbracoExtension". When you next upload a file using the upload field on the same document type the label will be populated with the file extension
Now you can access this in xslt with something like
Hope this helps,
Dan
This worked-- thank you! The ley was to do the Upload over again :)
is working on a reply...