Forum
XLSX files in Asset Manager
I have created a file content type in a template and uploaded an xlsx file into the asset manager, however the "use selected" button remains greyed out. The file is uploaded to the resources folder. If I sort the asset manager view by "spreadsheets" I can then select the file and "use selected" is available to be clicked and it works. Could this be a bug or a mime type issue?
Can you clarify what circumstance the file is unselectable in?
I can certainly try...
Firstly, I am using Perch 2.6.
When logging into the perch admin and accessing the region content, if you click on "Select or upload a file" the asset manager pops up. I click on "+ Add Asset" at the top, browse for the .xlsl file (in this case a 20kb file) and the file uploads. After that, I can not click on "Use Selected" at the top (it is not green). I have to "Filter by type 'Spreadsheets'" below and then click on the xlsl file I just uploaded, and then it is green and "Use Selected" lights up and can be clicked.
It's just a simple file upload region:
Does that make sense?
It does.
Do you know they'll be spreadsheets? If so, you could add
file-type="sheet"
to the template tag to pre-filter the asset chooser.Thank you for that - it works nicely.