I'm using personalized columns for photos and videos.
I wanted to add a column with date acquisition for jpg, and Date media created for videos.
So i'm wondering if it possible to write a column rule like " If file extension is jpg, show [=shelldetails.dateacquired] else if file extension is mp4 show [=shelldetails.datemediacreated]
Actually the best solution I have found is: [=shelldetails.DateMediaCreated][=shelldetails.DateAcquired]
Since a media file can't have both fields at the same time, my column works properly, showing me the first field for .mp4 and the second field for .jpg
The problem is that sorting files by date with this kind of column:
it sorts just .mp4 files if i put .mp4 field before [=shelldetails.DateMediaCreated][=shelldetails.DateAcquired]
or it sorts just .jpg files if i put jpg field before [=shelldetails.DateAcquired][=shelldetails.DateMediaCreated]
How can i fix it?
One personalized column for two types of files; MP4 and JPG ?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 12
- Joined: 2023-01-29, 03:38 UTC
Re: One personalized column for two types of files; MP4 and JPG ?
Try to figure out super_wdx.
Overquoting is evil! 👎