function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jos Vervoorn 2Jos Vervoorn 2 

I like to add some fields to the global search file results.

when using global search ... the files section only returns the technical details on the files found. But I like to expose some custom fields like which account the file is attached to etc. Now I know I can create custom fields ... but it does not allow me to create custom fields on the content version. Maybe I could create/populate some custom fields thru Apex trigger but I'm not sure if anyone already walked this path.

Honestly ... attachments were much more flexible in this.