I added a unique Excel content type to my document library. I would like to add a "button" to the page where once clicked, it will open that specific Excel content type. I don't like that the "Add document" link in the library just opens the modal for uploading a document, which is why I'm adding my own link for the Excel content type.
I have used the code from this site before, and it works great. I followed it for my Excel content type, but when I click the button it still opens the modal for uploading a document. I don't understand why it is doing that, as I used my Excel's unique content type id. The upload document has it's own id. Does anyone know how I can make this work?
Thanks in advance