I don't use Safecracker very often, but I'm working on an EE 2.6.1 project where {field:assets_field}
is magically bringing the Assets file manager (and uploads) to the front end.
I see that this involves adding a JSON array to the page which configures the field, but I'm not sure if there's a good (or deliberate/preferred) way to get in there and mess with it before the user interacts with the field.
In specific templates where the thumbnail view is worthless without the filename (like a folder of PDFs), I'd like to preselect the list view. In many templates, I'd like to preselect a specific folder – like one belonging to a certain user – not because the person shouldn't see any other files, but because it'd be more convenient if they didn't have to browse through the file tree.
Is it possible to preselect a folder and/or view type?