I'm working on a site where I'll use a CPT to represent product documents and it will have a file custom field to associate it with the media file.
I need to access the media post object in Views so I can get the title and the featured image (thumbnail of the document auto-generated by Media Library Assistant).
I read several support threads the refer to creating a custom shortcode that does query to find the ID but they query the url as the GUID. That is not reliable. Any site that is built in staging and moved to production will be full of GUIDs that do not match the real permalinks and I've found that updating all the GUIDs when moving to production tends to break a lot of things in Toolset.
It would be much better to have one of these two options:
1) When a file custom field is used, the output choices should be ID, URL, title or title as link.
or
2) Media should be allowed as a post type in the post reference field.
One reason for the intermediate Product Document CPT is to make it easier for novice content managers to replace media without breaking all the references to the file. If they change the file custom field in Product Document and all the relationships / category based views that show documents in Products are connected to the Product Document, everything updates at once without need for a plugin like Media Replace.
My use case isn't a good fit for relationships but I'm sure there are use cases where relationships will be to media post types and the same needs will exist. Since media is also not allowed as a relationship post type, we need a solution for relationships too.
I am aware that Media Post Type is not well integrated within Toolset when it comes to for example use it in Views, or other things, like connect it to posts/fields/taxonomies.
This is as well due to the complex and specific form of the media post type, I sometimes feel WordPress itself is not developing the entire Media experience very actively.
But that might just be me.
However I understand the need to handle Files and Media better, and we do have requests for what you mention.
I added an upvote there (For the display options of the fields).
However the post connectivity and other usage limitations are (while filed) probably not solvable very soon.
Thanks Beda.
After spending the entire day yesterday trying to work around the toolset limits on file and media fields and connections I see how hard WordPress makes it to solve this issue. You are not the only one feeling like WordPress doesn't treat media post types equally with other post types!
I appreciate you upvoting the enhancement requests for me and understand it may not get solved very soon. If I find a miraculous solution on my own I'll be happy to share.
Scott
I didn't find this at https://toolset.com/feature-request/?wpv_post_search=media&wpv-wpcf-plugins=Views so please add my vote as well.
I want to create a taxonomy for Media (like types of Job Site Pics) and put them in a slider or gallery via Views.