Filepicker - Filtering repositories

Filepicker - Filtering repositories

by Mike Grant -
Number of replies: 0

We're looking at creating a custom resource for some of our staff that hooks into a repository that we use. Mainly to try and neaten a few things up. I'm trying to be lazy, and filter the existing filepicker down to only allow the two plugins that we want to show at this time.

The only method of filtering that I've found so far is to use the supported_returntypes and filter that on FILE_REFERENCE, but this returns the 2 plugins that I want, and server files (close, but not close enough).

I tried to add a custom return type, but it's ignored. Does anyone have a suggestion on how to filter this down to just the two plugins I want to show?


Thanks!

Average of ratings: -